Details
-
Bug
-
Resolution: Done
-
Minor
-
7.0, 7.1
-
None
Description
1.Create Ubuntu-based VM with xentools installed.
2. Assing an IP address to an ethernet interface in VM
3. Use this inerface for some networking (ping, etc.)
4. Remove IP from the interface by 'ip addr flush dev eth1; ifconfig eth1 0.0.0.0 down"
There is ifconfig from the VM after we remove IP
root@HS-MGR-01:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 2a:59:ac:25:65:69 inet addr:10.203.100.32 Bcast:10.203.255.255 Mask:255.255.0.0 inet6 addr: fe80::2859:acff:fe25:6569/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1939152 errors:0 dropped:20 overruns:0 frame:0 TX packets:1978779 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:585094994 (585.0 MB) TX bytes:18791483314 (18.7 GB) eth1 Link encap:Ethernet HWaddr 5e:14:24:cb:80:8f BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:18187 errors:0 dropped:38 overruns:0 frame:0 TX packets:136 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2925570 (2.9 MB) TX bytes:6336 (6.3 KB) 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:65536 Metric:1 RX packets:3204133 errors:0 dropped:0 overruns:0 frame:0 TX packets:3204133 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:637095646 (637.0 MB) TX bytes:637095646 (637.0 MB)
XenCenter still shows IP of the interface even if it has been removed already