Matthew Seaman wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

[EMAIL PROTECTED] 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-----


Yes that would be the correct word. My net is 192.168.123.0/24, the hardware router connected to the modem is 192.168.123.254, and I was trying to be connected through the FreeBSD box. Then later do this:
Internet---ADSL_modem---FreeBSD---Other_PCs
That is still called bridging, yes?

Thx for the info, i'll try this and see how it turns out.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to