[Bridge] How to keep bridge up after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, I shouldn't try to answer questions w/o my first cup of coffee.

On SUSE most ppl seem to create a script in /etc/init.d/ then put a
symlink pointing to it in the runlevel rc you're using.  A quick who -r
should tell you which runlevel you use (typ runlevel 5)

So in /etc/init.d/ create a file called bridge
	#!/bin/sh
	brctrl addbr bla...
	brctrl addif bla...
	whatever else...

make it executable:
	chmod 700 /etc/init.d/bridge

put a symlink in /etc/init.d/rc5.d:
	ln -s /etc/init.d/rc5.d/S99bridge /etc/init.d/bridge 

That should be it.  Check the YaST runlevel editor to be sure.

-----Original Message-----
From: bridge-bounces@xxxxxxxxxxxxxx
[mailto:bridge-bounces@xxxxxxxxxxxxxx] On Behalf Of Stephen Hemminger
Sent: Friday, May 06, 2005 3:00 PM
To: Scott Ellerbrock
Cc: bridge@xxxxxxxxxxxxxx
Subject: Re: [Bridge] How to keep bridge up after reboot

On Thu, 5 May 2005 16:06:59 -0600 
Scott Ellerbrock <sellerbrock@xxxxxxxxxxxx> wrote:

> I am sorry for the newbie question. I am working with SUSE 9.2 and I
have
> followed the instructions at
> http://tldp.org/HOWTO/Ethernet-Bridge-netfilter-HOWTO-4.html
> 
> I have gotten my bridge to work flawlessly, but I can't figure out how
to
> get the bridge to come up after a reboot. 
> 
> Any help or pointers to docs that will get me going in the right
direction
> would be greatly appreciated.
> 
> Scott
>  
It is really depends on the distribution, some of the firewall's etc
have
gui's and startup scripts to handle.  You might look in the SUSE doc's.


[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux