Well I'm seeing something similar to your scenario 1, and the mac addresses are different.
Every so often the inside interface eth0 starts to drop out, and my remote ssh session will fail. I do routing through this box so I lose all external connectivity when this happens.
I have 2 NICs so my /etc/network/interfaces file is:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.0.5
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
bridge_ports eth0
bridge_fd 0
bridge_hello 2
bridge_maxage 12
bridge_stp on
# Secondary
auto eth1
iface eth1 inet manual
auto br1
iface br1 inet static
address 192.168.10.5
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
bridge_ports eth1
bridge_fd 1
bridge_hello 2
bridge_maxage 12
bridge_stp on
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.106 192.168.0.11
dns-search mydomain.com
ifconfig yeilds:
Code:
br0 Link encap:Ethernet HWaddr 00:e0:81:b0:fb:2c
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:feb0:fb2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87805 errors:0 dropped:0 overruns:0 frame:0
TX packets:47555 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13139783 (13.1 MB) TX bytes:31771326 (31.7 MB)
br1 Link encap:Ethernet HWaddr 00:e0:81:b0:fb:2d
inet addr:192.168.10.5 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:feb0:fb2d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:102014 errors:0 dropped:0 overruns:0 frame:0
TX packets:68153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34595789 (34.5 MB) TX bytes:11529481 (11.5 MB)
eth0 Link encap:Ethernet HWaddr 00:e0:81:b0:fb:2c
inet6 addr: fe80::2e0:81ff:feb0:fb2c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128192 errors:0 dropped:0 overruns:0 frame:0
TX packets:124217 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:25193018 (25.1 MB) TX bytes:47270423 (47.2 MB)
Memory:d3000000-d3020000
eth1 Link encap:Ethernet HWaddr 00:e0:81:b0:fb:2d
inet6 addr: fe80::2e0:81ff:feb0:fb2d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115937 errors:0 dropped:0 overruns:0 frame:0
TX packets:121526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:55747765 (55.7 MB) TX bytes:24450319 (24.4 MB)
Memory:d3020000-d3040000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:118648 errors:0 dropped:0 overruns:0 frame:0
TX packets:118648 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:72029076 (72.0 MB) TX bytes:72029076 (72.0 MB)
vnet0 Link encap:Ethernet HWaddr de:ea:ed:8a:c0:bb
inet6 addr: fe80::dcea:edff:fe8a:c0bb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45528 errors:0 dropped:0 overruns:0 frame:0
TX packets:95438 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:10977464 (10.9 MB) TX bytes:16254696 (16.2 MB)
vnet1 Link encap:Ethernet HWaddr 46:bf:c4:1f:94:27
inet6 addr: fe80::44bf:c4ff:fe1f:9427/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32186 errors:0 dropped:0 overruns:0 frame:0
TX packets:80702 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:11927177 (11.9 MB) TX bytes:23459593 (23.4 MB)
I tried to get rid of vnet0 and vnet1 thinking that they were causing the issue, but they're obviously being pulled from somewhere I haven't thought to look.
My vm xml file has this:
Code:
<interface type='bridge'>
<mac address='00:16:36:65:7f:d9'/>
<source bridge='br0'/>
</interface>
<interface type='bridge'>
<mac address='00:16:36:5f:e0:7a'/>
<source bridge='br1'/>
</interface>
I'm wondering if there is a problem trying to use both nics on a vm instance. I dunno. If I remove either of them the problem goes away. However, I kind of need both in order to provide service inside and outside of the network.
Bookmarks