Comment 10 for bug 1603473

Revision history for this message
Rajesh Kumar Chaturvedi (rajesh-canonical) wrote : Re: Relation fails as untis/machines are on different subnet on a multi NIC setup, juju 2.0 beta11

Hi guys, Still I am facing this issue and no resolution yet.

Net info for one of deployed node is as shown below:--

One thing is strange that, both eth0 and br-eth0 contains the same ip and it's not vanishing from interface, even bridge is also active.

ifconfig
br-eth0 Link encap:Ethernet HWaddr 52:54:00:46:62:07
          inet addr:10.9.1.161 Bcast:10.9.1.255 Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe46:6207/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:33215 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:46808059 (46.8 MB) TX bytes:148181 (148.1 KB)

br-eth1 Link encap:Ethernet HWaddr 52:54:00:7b:fb:24
          inet addr:10.10.11.141 Bcast:10.10.11.255 Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe7b:fb24/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:187342 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10081 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:183660270 (183.6 MB) TX bytes:1556527 (1.5 MB)

eth0 Link encap:Ethernet HWaddr 52:54:00:46:62:07
          inet addr:10.9.1.161 Bcast:10.9.1.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:34705 errors:0 dropped:6 overruns:0 frame:0
          TX packets:2569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62410780 (62.4 MB) TX bytes:218908 (218.9 KB)

eth1 Link encap:Ethernet HWaddr 52:54:00:7b:fb:24
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:188811 errors:0 dropped:49 overruns:0 frame:0
          TX packets:10091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:187626400 (187.6 MB) TX bytes:1557343 (1.5 MB)

brctl show
bridge name bridge id STP enabled interfaces
br-eth0 8000.525400466207 no eth0
br-eth1 8000.5254007bfb24 no eth1

The contents of interfaces file is: vi /etc/network/interfaces
auto lo
iface lo inet loopback
    dns-nameservers 10.9.1.10
    dns-search maas

iface eth0 inet manual

auto br-eth0
iface br-eth0 inet static
    gateway 10.9.1.10
    address 10.9.1.161/24
    mtu 1500
    bridge_ports eth0

iface eth1 inet manual

auto br-eth1
iface br-eth1 inet static
    address 10.10.11.141/24
    mtu 1500
    bridge_ports eth1