I'm running Ubuntu server via Hyper-V and have successfully installed it but seem unable to ping the server or ping any other machines on the network from the server.
After doing a bit of reading I've noticed that the default gateway isn't set but when I try and set it I keep getting error messages which I can't understand.
From this article I've tried
ip route add default via 10.0.10.200
RTNETLINK answers: Operation not permitted
If I try running it prefixed with
sudo but it reports:
`RNETLINK answers: No such process
/etc/network/interfaces but when I start the machine and type
netstat -nr there is nothing listed.
Can anyone tell me where I'm going wrong please?
EDIT : /etc/network/interfaces contains:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
IP address: 10.0.10.82 Subnet mask: 255.255.255.0