Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2007 15:04:06 +0200
From:      deeptech71@gmail.com
To:        freebsd-questions@freebsd.org
Subject:   Re: help, i'm setting up a router
Message-ID:  <46B084C6.1000806@gmail.com>
In-Reply-To: <46B0807F.4060004@infracaninophile.co.uk>
References:  <46B07A29.8000304@gmail.com> <46B0807F.4060004@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> -----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-----
> 

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B084C6.1000806>