From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 22:27:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9278016A41F for ; Fri, 18 Nov 2005 22:27:55 +0000 (GMT) (envelope-from mtmi@o2.pl) Received: from poczta.o2.pl (mx2.go2.pl [193.17.41.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 382BC43D45 for ; Fri, 18 Nov 2005 22:27:55 +0000 (GMT) (envelope-from mtmi@o2.pl) Received: from [10.50.93.21] (unregister185207219081.c207.msk.pl [81.219.207.185]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by poczta.o2.pl (Postfix) with ESMTP id CF7A87481E4 for ; Fri, 18 Nov 2005 23:27:53 +0100 (CET) From: =?utf-8?q?Micha=C5=82_Mas=C5=82owski?= To: freebsd-questions@freebsd.org Date: Fri, 18 Nov 2005 23:27:49 +0100 User-Agent: KMail/1.8.3 References: <20051118214109.3477843D45@mx1.FreeBSD.org> In-Reply-To: <20051118214109.3477843D45@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200511182327.50022.mtmi@o2.pl> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: Network configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 22:27:55 -0000 > Ok, I have to assume some things here, correct me if I'm wrong: > > - both PC's are plugged into a switch/hub They are. > - your routers LAN IP address is 10.50.93.1 10.50.93.127 is my WAN's broadcast address. > - you are NOT trying to get the second PC on the Internet No, I'm not. The agreement with my ISP doesn't allow to connect more than one computer to the WAN. > > Now, I don't want to just give you my first advice, as I don't fully > understand your methods here, so please post the relevant portions of > /etc/rc.conf in relation to the network configuration. We'll then go > from there. > > Steve Part of my network's configuration is not in /etc/rc.conf . I have there only ifconfig_rl0="DHCP" to connect to the Internet. I used these commands to configure the LAN: #ifconfig rl0 alias 192.168.0.1 192.168.0.2 On the second PC: #ifconfig fxp0 192.168.0.2 192.168.0.1 It's based on this, what is in the Handbook about IPv4 networks.