Is there anyway to force an ethernet inteface to stay up (ignore carrier detection) in order to keep the bridge up?

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

 



Hi guys

 

I am trying to keep a linux bridge up even when there is no interface connected to it. Is this possible?

 

 

br0 has eth13 and eth0 ensalved to it

eth0 is up

eht13 is down

 

 

 

 

    /opt# ip link show br0

    25: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default

        link/ether 00:0f:20:67:dc:b4 brd ff:ff:ff:ff:ff:ff

    /opt#

    /opt#

    /opt/iou/bin# ip link show eth13

    15: eth13: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000

        link/ether 00:e0:4c:80:1a:50 brd ff:ff:ff:ff:ff:ff

    /opt#

    /opt#

    /opt# ip link show eth0

    3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP mode DEFAULT group default qlen 1000

        link/ether 00:0f:20:67:dc:b4 brd ff:ff:ff:ff:ff:ff

    /opt#

    /opt# ip link show eth13

    15: eth13: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN mode DEFAULT group default qlen 1000

        link/ether 00:e0:4c:80:1a:50 brd ff:ff:ff:ff:ff:ff

   

    /opt# brctl delif br0 eth0  

    /opt# ip link show br0       

    25: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default

        link/ether 00:e0:4c:80:1a:50 brd ff:ff:ff:ff:ff:ff

 

thanks

Q


[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