This is seen on Vcenter-as-compute sanity with Ubuntu 16-04 (newton)
This works good when using ubuntu 14-04 (mitaka) and debugging shows different interface name when updated
into /etc/network/interfaces gets IP
root@ContrailVM-24-26:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
This is seen on Vcenter-as-compute sanity with Ubuntu 16-04 (newton)
This works good when using ubuntu 14-04 (mitaka) and debugging shows different interface name when updated interfaces gets IP
into /etc/network/
root@ContrailVM -24-26: ~# cat /etc/network/ interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto ens160
iface ens160 inet dhcp
root@ContrailVM -24-26: ~# -24-26: ~# ifconfig 255.255. 192 56ff:feaa: bb02/64 Scope:Link
collisions: 0 txqueuelen:1000
root@ContrailVM
ens160 Link encap:Ethernet HWaddr 00:77:56:aa:bb:02
inet addr:10.87.36.20 Bcast:10.87.36.63 Mask:255.
inet6 addr: fe80::277:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13170 errors:0 dropped:0 overruns:0 frame:0
TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:795666 (795.6 KB) TX bytes:20549 (20.5 KB)
lo Link encap:Local Loopback
collisions: 0 txqueuelen:1
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 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)
root@ContrailVM -24-26: ~#