Date: Fri, 18 Nov 2005 17:44:38 -0500 (EST) From: "Steve Bertrand" <iaccounts@ibctech.ca> To: =?iso-8859-1?Q?Micha=C5=82_Mas=C5=82owski?= <mtmi@o2.pl> Cc: freebsd-questions@freebsd.org Subject: Re: Network configuration Message-ID: <59041.64.39.177.10.1132353878.squirrel@webmail.ibctech.ca> In-Reply-To: <200511182327.50022.mtmi@o2.pl> References: <20051118214109.3477843D45@mx1.FreeBSD.org> <200511182327.50022.mtmi@o2.pl>
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's based on this, what is in the Handbook about IPv4 networks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59041.64.39.177.10.1132353878.squirrel>