openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security » How To Setup A Bridge Between 3 Ether's

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-May-2008, 06:02
ajhart
Guest
 
Posts: n/a
Unhappy

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:

Quote:
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.
[/b]
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.
Plz help!
Thanks in advance!
  #2 (permalink)  
Old 21-May-2008, 13:58
ajhart
Guest
 
Posts: n/a
Default

Is there anyone that can help me, or tell me it is even possible!! Or would it mabe be esier taking another routerboard with 3 ethers and redirect the two ip's to one static ip on third eth or I don't know!? Any help plz!!
Thanks in advance!!
  #3 (permalink)  
Old 21-May-2008, 17:41
FeatherMonkey
Guest
 
Posts: n/a
Default

Sorry your not getting any assistance I really can't help but think you're approaching highly skilled networking.

Perhaps approach the ifconfig mailing lists or such like I certainly think this maybe beyond yast.

Or maybe even iptables I'm really clutching at straws as I wouldn't even know where to begin.
  #4 (permalink)  
Old 21-May-2008, 19:01
Eds
Guest
 
Posts: n/a
Default

Quote:
Sorry your not getting any assistance I really can't help but think you're approaching highly skilled networking.[/b]
To echo that sentiment, I haven't gotten involved in it because ..
A: It's no easy task to talk someone step by step through a setup like this and the inevitable interjections mean that it will get confusing by you following conflicting pieces of advice.

B: It would take a long time and I wouldn't be comfortable even starting it without knowing the level of competence of the OP to follow directions correctly.

C: No-one who is capable of configuring this would in good conscience help you out since the bottom line of troubleshooting advanced networks is access to the system.

D: You shouldn't really be undertaking something like this if you don't have the skills to configure and maintain a system to the standard required by the organisation for whom it is intended, and by virtue that you asked the question on a voluntary support forum ....

E: Really, really consider leaving this to someone with the right credentials to undertake before you end up getting burnt.
  #5 (permalink)  
Old 22-May-2008, 12:46
ajhart
Guest
 
Posts: n/a
Default

Thanks for the reply's, it is truly appreciated!! The construction of something like this, I didn't take lightly and that I do relize of the intensaty and hard work behind this sophisticated network. I've looked and read many books and websites to clue me up about natting rules in bridging, but I haven't found alot when havening two different static ip's in the same bridge. Only the potability bedazzled me.
Still much for me to learn about Linux and by the help of you guy's, it's much more easier.
Thank you!!
ajhart
  #6 (permalink)  
Old 22-May-2008, 16:02
Eds
Guest
 
Posts: n/a
Default

Quote:
Thank you!![/b]
Actually, thank YOU for taking the advice in the spirit it was meant (helpful) and not as blittling criticism - very often advice like that gets taken waaaay the wrong way, which is why posts like yours often go unanswered rather than risk a flame war.
  #7 (permalink)  
Old 25-May-2008, 14:09
ajhart
Guest
 
Posts: n/a
Default

Cheers mate!
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2