The IP injection issue on 14.10 is resolved as tested successfully using
the daily build from Sept 2nd.
There is one small glitch in how hv_set_ifconfig runs, as after several
runs it keeps adding the line “# The following stanza(s) added by
hv_set_ifconfig” for every pass.
This is the setip execution output:
PS C:\Users\Administrator\Desktop> .\setip.ps1
-------------------------------------------------------------------------
SetGuestNetworkAdapterConfiguration
-------------------------------------------------------------------------
Msvm_GuestNetworkAdapterConfiguration before update .. please make sure
that VM is running ...
IPAddresses: : {10.100.20.108, fe80::215:5dff:fe01:6c76}
ProtocolIFType: : 4098
DHCPEnabled: : True
InstanceID: :
Microsoft:GuestNetwork\9ADF60A7-E268-4039-88B0-372D3F2703D1\1A2B0CAB-5074-4551-88A8-EE39EC094A26
Subnets: : {255.255.255.0, /64}
DNSServers: : {8.8.8.8}
DefaultGateways: : {10.100.20.1}
SetGuestNetworkAdapterConfiguration
SetGuestNetworkAdapterConfiguration success.
Msvm_GuestNetworkAdapterConfiguration After update .. please make sure VM is
running ...
IPAddresses: : {10.100.20.208, fe80::215:5dff:fe01:6c76}
ProtocolIFType: : 4098
DHCPEnabled: : False
InstanceID: :
Microsoft:GuestNetwork\9ADF60A7-E268-4039-88B0-372D3F2703D1\1A2B0CAB-5074-4551-88A8-EE39EC094A26
Subnets: : {255.0.0.0, /64}
DNSServers: : {8.8.8.8, 8.8.4.4}
DefaultGateways: : {10.100.20.1}
Sample interfaces file content after running the script 3 times:
root@ubuntu1410:~# 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
# The primary network interface
# The following stanza(s) added by hv_set_ifconfig
# The following stanza(s) added by hv_set_ifconfig
# The following stanza(s) added by hv_set_ifconfig
auto eth0
iface eth0 inet static
address 10.100.20.108
gateway 10.100.20.1
dns-nameservers 8.8.4.4
#End of hv_set_ifconfig stanzas
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360580
Title:
[Hyper-V] IP injection does not occur on Ubuntu 14.10
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1360580/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs