Date: Sat, 19 Nov 2005 11:58:18 +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: <200511191158.19091.mtmi@o2.pl> In-Reply-To: <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca> References: <20051118214109.3477843D45@mx1.FreeBSD.org> <200511182327.50022.mtmi@o2.pl> <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> >> - 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. > > LOL ;) I won't condone going against their rules, but that is what NAT > is for... > > > 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 > > How about: > > # ifconfig rl0 alias 192.168.0.1/24 > > I can't remember if /24 will work, if it doesn't: > > # ifconfig rl0 alias 192.168.0.1 255.255.255.0 > > > On the second PC: > > #ifconfig fxp0 192.168.0.2 192.168.0.1 > > and: > > # ifconfig fxp0 192.168.0.2/24 > > ...should get you at minimum to see each other. > > ie: from 2nd pc: > > # ping 192.168.0.1 > > ...now about that 2 pc's on the Internet thing. I think *almost* all > ISP's who offer highspeed say that. > > Steve > It works without packet loss. Thank for your advice.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511191158.19091.mtmi>