Date: Fri, 9 Jul 2004 20:07:47 -0400 From: "Thomas Farrell" <info@mvcg.net> To: "Nathan Kinkade" <nkinkade@ub.edu.bz>, "Terrence Koeman" <root@mediamonks.net> Cc: freebsd-questions@freebsd.org Subject: Re: Network configuration Message-ID: <006301c46611$ef3176d0$0b0a0a0a@neonduron> References: <200407081710527.SM07768@manrikigusari> <20040708174925.GA24348@gentoo-npk.bmp.ub>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, I see you have a problem here. First what kind of connectivity does your DSL provider use? Companies like Covad, VerizonEast, Earthlink & AOL use pppoe. So the first thing is to figure out what you provider requires DHCP, Static, or pppoe. Then it is very simple to begin nating between the two Networks. biggreenwall#ipfw add divert natd all from any to any via rl0 biggreenwall# cat /etc/dhcpd.conf subnet 192.168.50.0 netmask 255.255.255.0 { range 192.168.50.2 192.168.50.254; option routers 192.168.50.1; } biggreenwall#dhcpd rl1 -q biggreenwall# ifconfig -a rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 66.24.50.87 netmask 0xffffff00 broadcast 66.24.50.255 inet6 fe80::230:bdff:fe26:4b28%rl0 prefixlen 64 scopeid 0x1 ether 00:30:bd:26:4b:28 media: Ethernet autoselect (100baseTX <full-duplex>) status: active rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.50.1 netmask 0xffffff00 broadcast 192.168.50.255 inet6 fe80::230:bdff:fe28:295b%rl1 prefixlen 64 scopeid 0x2 ether 00:30:bd:28:29:5b media: Ethernet autoselect (10baseT/UTP) status: active biggreenwall# cat /etc/rc.conf "cut to save space" defaultrouter="66.24.50.1" gateway_enable="YES" hostname="biggreenwall" ifconfig_rl0="inet 66.24.50.87netmask 255.255.255.0" ifconfig_rl1="inet 192.168.50.1 netmask 255.255.255.0" router_enable="YES" sendmail_enable="NO" natd_enable="YES" natd_interface="rl0" # the id of your public NIC card natd_flags="-m" biggreenwall# RFC1918 ----- Original Message ----- From: "Nathan Kinkade" <nkinkade@ub.edu.bz> To: "Terrence Koeman" <root@mediamonks.net> Cc: <freebsd-questions@freebsd.org> Sent: Thursday, July 08, 2004 1:49 PM Subject: Re: Network configuration
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006301c46611$ef3176d0$0b0a0a0a>