Q
2015-Feb-17  03:36 UTC
[Bridge] Is there anyway to force an ethernet inteface to stay up (ignore carrier detection) in order to keep the bridge up?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.linuxfoundation.org/pipermail/bridge/attachments/20150216/c1e00f01/attachment-0004.html>
