Date: Fri, 18 Nov 2005 23:27:49 +0100 From: =?utf-8?q?Micha=C5=82_Mas=C5=82owski?= <mtmi@o2.pl> To: freebsd-questions@freebsd.org Subject: Re: Network configuration Message-ID: <200511182327.50022.mtmi@o2.pl> In-Reply-To: <20051118214109.3477843D45@mx1.FreeBSD.org> References: <20051118214109.3477843D45@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511182327.50022.mtmi>