LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Redhat Bridge (https://www.linuxquestions.org/questions/linux-networking-3/redhat-bridge-225242/)

extremebfn 09-01-2004 09:00 AM

Redhat Bridge
 
Hi. I have 2 NIC's inside a Redhat 9 Masjine. NIC A is for network Segment A and NICB is for Network SegmentB. The linux box is the middle.So...for the trafic of network A to be ably to reach network B,it must go through the Linux Box. Now in windowsXP this is done my Bridgeing to two NIC's inside My network Places. Does it work the same in Redhat?

My question is: How do i bridge the 2 networks in linux?Both must be ably to see each-other.I will setup IPTables permissions later, i just want to get this working first. i did try the brctl but that commands does not exist?

HELP....

nukkel 09-01-2004 09:35 AM

Make sure the two interfaces are correctly configured (IP address, etc...) then turn on packet forwarding ("routing") by doing (as root)
Code:

echo 1 >/proc/sys/net/ipv4/ip_forward
It is also possible to make an L2-brigde (at the datalink layer level) which will forward not just IP traffic but all ethernet traffic, see http://www.linux.com/howtos/Adv-Rout...roxy-arp.shtml
but use with caution


All times are GMT -5. The time now is 10:54 AM.