I've been using Ubuntu since inception and have recently found out about Ubuntu's switch to using netplan vs it's traditional/better /etc/network/interfaces method.
I'm attempting to get this to work but it simply isn't working. Based on what I can tell, there is no default route, or possibly even a bad netplan (though ./netplan apply runs correctly). Below is what I'm doing:
- Clean/brand new 18.04.1 install on ESXi
- Interface is named ens160
- My IP Address 247.235.60.161
- My Gateway is 247.235.38.51
- My subnet mask is 255.255.255.255
network: version: 2 renderer: networkd ethernets: ens160: dhcp4: no addresses: [247.235.60.161/32] gateway4: 247.235.38.51 nameservers: addresses: [22.214.171.124,126.96.36.199]
When I run "netplan apply" it completes successfully.
If I ping 188.8.131.52 I get a "SIOCADDRT: Network is unreachable"
If I do a "route" to view my routing table, it returns with nothing. No routing table. This definitely is an issue.
If I do an "ifconfig -a" it displays my ens160 interface, correct IP, netmask of 255.255.255.255, no broadcast address, the mac/ether address is correct.
With regards to the addressing/gw/sn, I can confirm that is correct (I have other hosts running with same/similar on this network)
Something is definitely wrong with netplan. Any ideas?