LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2004, 09:00 AM   #1
extremebfn
Member
 
Registered: Jun 2004
Location: bloem
Distribution: asdsa
Posts: 43

Rep: Reputation: 15
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....
 
Old 09-01-2004, 09:35 AM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless bridge nhwk Linux - Wireless Networking 1 09-10-2005 01:06 PM
how to get bridge-nf-0.0.7-against-2.4.18.diff??? Jackyxun Red Hat 0 06-21-2005 08:24 AM
What exactly is a bridge. zaicheke Linux - Networking 7 10-23-2004 06:12 PM
RedHat 9 and a Linksys ISA->PCMCIA bridge ssevenup Linux - Hardware 5 06-09-2003 03:33 PM
bridge Cubiq Linux - Networking 9 08-10-2002 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration