Hello all!
I'm trying to get a Ubuntu Server ruing in Hyper-V on Windows Server 2012 R2, and I can't quite get networking up. The Windows Server 2012 R2 isn't ruing a DHCP server, so I need to use static IPs.
When I try to ping the Hyper-V Host, I get
Code:
xxx@xxxxx:~$ ping [hyper-v ip] coect: Network is unreachable
Code:
xxx@xxxxx:~$ sudo ifconfig -a eth0 Link encap:Ethernet HWaddr [mac addr] BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 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:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
Code:
source /etc/network/interfaces.d/* auto lo iface lo inet loopback #auto enp0s3 #iface enp0s3 inet dhcp #auto br0 iface eth0 inet static address 10.5.130.184 netmask 255.255.255.0 gateway 10.5.130.254 # bridge_ports eth0 # bridge_fd 9 # bridge_hello 2 # bridge_maxage 12 # bridge_stp off
My /etc/resolv.conf is:
Code:
nameserver 10.5.130.180
Not sure where to go from here. Any thoughts? I'm pretty sure the hyper-v server is set up correctly (e.g. the virtual switch is correctly shared to the clients) because my other clients (two opensuse VMs and one Win7 VM) are able to coect to the internet through this.
برچسب:
نویسنده: استخدام کار