Date: Wed, 01 Aug 2007 13:45:51 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: deeptech71@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: help, i'm setting up a router Message-ID: <46B0807F.4060004@infracaninophile.co.uk> In-Reply-To: <46B07A29.8000304@gmail.com> References: <46B07A29.8000304@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 deeptech71@gmail.com wrote: > I'm making a FreeBSD router with ppp and telnet access to it (currently > part of a network with a hardware router). When I have 1 NIC in the > FreeBSD machine (rl0), telnet works fine. Then I add another NIC (ed0). > Telnet still works. rc.conf: > > ipconfig_rl0="inet 192.168.123.251 netmask 255.255.255.0" > #ipconfig_ed0="inet 192.168.123.251 netmask 255.255.255.0" > hostname="qw.erty.com" > defaultrouter="192.168.123.254" > inetd_enable="YES" > gateway_enable="YES" Routers forward packets between different IP networks. Or in other words, the IP numbers on the different interfaces on your router should not just be different -- they should come from completely different subnets too. I think that the keyword for you is 'bridging'. There's a whole article about it here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/article.html plus Google will turn up plenty more. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsIB+8Mjk52CukIwRCHKvAKCRoefdQXWsR+f3GDhvmau5+aBs5ACfViIl ou/2rQONQsxnEdOZk/AtuEA= =aq1G -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B0807F.4060004>