Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, first I'm a big Linux noob but I have done some reading and research and have found not much concerning my problem. I realy hope you guy's can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    5

    Smile How to bridge 3 ether's?


    Hi guys, first I'm a big Linux noob but I have done some reading and research and have found not much concerning my problem. I realy hope you guy's can help me.

    Well, I have a Linux opensource Suse10.3 installed on a entry level P4, Webmin-1.410, Squid3.0.STABLE4 and build only for transparent caching purposes. It is setup with 1 router and 1 local win vista pc and working great --(except for cachemrg.cgi that's missing?!?)

    Anyway, the br0 I have with port='eth0 eth1' is working great and setup according these instructions:

    1. At the console login as root.
    o This step will disconnect the server enough to stop a remote session, so this has to be done at the server.
    2. Install Brigde-Utils first:
    o yast -i bridge-utils
     You may be asked for the install media.
    3. Go to the network folder:
    o cd /etc/sysconfig/network
     Note that interface set-up information is in configuration files that are preceded by 'ifcfg-<interface name>' and will be auto loaded based on that naming standard.
    4. Backup the network configuration by making a folder and copying the contents there:
    o mkdir ../network.old
    o cp -Rv * ../network.old
    5. Remove the existing configuration:
    o rm ifcfg-*
     This will not kill the network connection till the service is reloaded and the configuration files are re-read
    6. Create a new configuration file as such:
    o touch ifcfg-br0
     This creates a blank file of given name.
    o gedit ifcfg-br0
     At a terminal session from inside Gnome (the desktop) this starts the text editor. Create a file that looks like this:

    STARTMODE=auto
    BOOTPROTO=static
    IPADDR=YourValidIPAddress
    NETMASK=YourValidNetMask
    BRIDGE='yes'
    BRIDGE_PORTS='eth0 eth1'
    BRIDGE_AGEINGTIME='300'
    BRIDGE_FORWARDDELAY='0'
    BRIDGE_HELLOTIME='2'
    BRIDGE_MAXAGE='20'
    BRIDGE_PATHCOSTS='19'
    BRIDGE_STP='on'
    7. Restart networking:
    o /etc/init.d/network restart
     If there were no typos in the file, things should be up and running and the address above can be reached across the LAN.
    Now, my problem is that I have two Routers, 1 Cisco and 1 Billion routers with their own set of static ip's provided by the isp's. Here is a small pic I drew up showing a bit more detail:



    How do I setup a bridge between 3 network interfaces, or is there maybe a other solution.
    Thanks in advance!

    ps: the more I play with Linux, the more I like it.
    Keep up the good work guy's, cheers.

  2. #2
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    not sure if this will help but may be you could try this forum

    http://www.linuxforums.org/forum/linux-networking/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •