Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th January 2008, 07:41 AM
dchurms Offline
Registered User
 
Join Date: Jan 2008
Posts: 1
br0 doesn't work after reboot

I've been struggling with this problem for a few days now, and finally decided to try the forums after exhausting any other sources I could find.

I run a simple bridge on FC6 using brctl and ebtables. The purpose is to only allow VNC and rsync traffic from one computer (called tomo) on the outside to any box on the inside. Sounds simple enough, I could do it in my sleep after all the howtos and man pages I've read in the last while.

Two problems, though.
1) If I reboot the bridge, ifconfig _claims_ that everything is up and running. However, nothing goes through. This is not because of ebtables - the problem can be reproduced without ebtables being active and it can work with ebtables running. It starts working again if the network interfaces are restarted, i.e.
Code:
ifconfig br0 down
ifconfig br0 up
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth1 down
ifconfig eth1 up
So, use a cheap hack and put those commands into /etc/rc.local. It's not at all pretty, but it works. However:
2) If I reboot tomo, the exact same thing happens. Once again I can fix it by restarting the bridge interfaces, but I can't tell the bridge to restart them automatically.

So, the question is basically: Why is it doing this, and how do I fix it (preferably not a cheap hack )

Some important things that might help with the debug:
/etc/sysconfig/network-scripts/ifcfg-br0
Code:
DEVICE=br0
ONBOOT=yes
BOOTPROTO=static
TYPE=Bridge
/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
BRIDGE=br0
HWADDR=00:04:blah blah
/etc/sysconfig/network-scripts/ifcfg-eth1
Code:
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
BRIDGE=br0
HWADDR=00:04:blah blah
Relevent bits of /etc/rc.local
Code:
 #don't know how to set promisc in network-scripts
ifconfig eth0 promisc
ifconfig eth1 promisc

echo Initialising ebtables
/root/ebtables/ebscript

#Fix bridge problems
sleep 30 && ifconfig br0 down && ifconfig br0 up && ifconfig eth0 down && ifconfig eth0 up && ifconfig eth1 down && ifconfig eth1 up &
Thanks in advance.
Reply With Quote
Reply

Tags
br0, reboot, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql doesn't work after reboot wtt Using Fedora 7 18th September 2007 05:08 AM
Elsa 56k Com Modem don't work after reboot oas_public Hardware & Laptops 1 9th February 2005 07:20 AM
My mouse (ps2 port) doesn´t work when I reboot toniohouse Hardware & Laptops 1 1st July 2004 08:22 AM


Current GMT-time: 12:29 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat