Skip to content

Instantly share code, notes, and snippets.

@ikrabbe
Created February 6, 2014 10:05
Show Gist options
  • Save ikrabbe/8841488 to your computer and use it in GitHub Desktop.
Save ikrabbe/8841488 to your computer and use it in GitHub Desktop.
What happens when I add tap1 to a bridge through a bond
root:tmp# /usr/sbin/brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.e4115bb36664 no bond0
root:tmp# ping -c1 172.30.78.1
PING 172.30.78.1 (172.30.78.1) 56(84) bytes of data.
64 bytes from 172.30.78.1: icmp_req=1 ttl=64 time=0.634 ms
--- 172.30.78.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.634/0.634/0.634/0.000 ms
root:tmp# /usr/sbin/brctl addif br0 tap1
root:tmp# /usr/sbin/brctl show br0
bridge name bridge id STP enabled interfaces
br0 8000.66090d6dad1c no bond0
tap1
root:tmp# ping -c1 172.30.78.1
PING 172.30.78.1 (172.30.78.1) 56(84) bytes of data.
From 172.30.78.138 icmp_seq=1 Destination Host Unreachable
--- 172.30.78.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
root:tmp# /usr/sbin/brctl delif br0 tap1
root:tmp# ping -c1 172.30.78.1
PING 172.30.78.1 (172.30.78.1) 56(84) bytes of data.
64 bytes from 172.30.78.1: icmp_req=1 ttl=64 time=0.628 ms
--- 172.30.78.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.628/0.628/0.628/0.000 ms
@ikrabbe
Copy link
Author

ikrabbe commented Feb 6, 2014

This is a kernel 3.7.0-rc8+ Problem (and possibly other versions).
Latest stable Kernel 3.13.1 works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment