Ubuntu: Raise network issues Ubuntu 16.04 LTS



Question:

I'm having issues with my Ubuntu LAMP server. I've setup static addresses on the /etc/network/interfaces and can't ping my default-gateway or member servers on the network.

Here's the static ip address config and ip address status. Firewall has been disabled for now. When I try to restart networking services it fails. But I can force the interfaces up with IFUP command. but for some reason I can't ping the gateway of 10.10.0.1 Ubuntu Addresses

Ubuntu interfaces


Solution:1

You should remove extra complexity in your interfaces file. Something like this should work. You don't need to add a route when both interfaces use the same gateway.

auto ens160 ens192  iface ens160 inet static      address 10.10.0.130/16      mtu 1500    iface ens192 inet static      address 10.10.0.131/16      gateway 10.10.0.1      dns-nameservers 10.10.0.5 10.10.0.127      mtu 1500  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »