After "ifdown -a", neither bond0 nor br0 are show in "ifconfig -a". However, after "ifup eth2", bond0 and br0 are brought up:
# ifdown -a
# ifup lo
# ifup eth2
...
# ifconfig -a
...
bond0 Link encap:Ethernet HWaddr 00:1b:21:d3:f6:0a
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:5 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:1702 (1.7 KB) TX bytes:8060 (8.0 KB)
br0 Link encap:Ethernet HWaddr 0e:e5:c5:ea:5e:bc
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# brctl show
root@trunks:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000000000000 no
virbr0 8000.000000000000 yes
After "ifdown -a", neither bond0 nor br0 are show in "ifconfig -a". However, after "ifup eth2", bond0 and br0 are brought up:
collisions: 0 txqueuelen:0
# ifdown -a
# ifup lo
# ifup eth2
...
# ifconfig -a
...
bond0 Link encap:Ethernet HWaddr 00:1b:21:d3:f6:0a
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:5 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1702 (1.7 KB) TX bytes:8060 (8.0 KB)
br0 Link encap:Ethernet HWaddr 0e:e5:c5:ea:5e:bc
collisions: 0 txqueuelen:0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# brctl show
root@trunks:~# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.000000000000 no
virbr0 8000.000000000000 yes
# ifup eth3
# ifup bond0
ifup: interface bond0 already configured
# ifup br0
ifup: interface br0 already configured