help, i'm setting up a router

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Aug 1 12:46:09 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

deeptech71 at 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-----


More information about the freebsd-questions mailing list