I am setting up a connection to Optimum business with a static ip
- Ip address 47.x.x.62
- Default gateway 47.x.x.61
- subnet mask 255.255.255.252
- Primary DNS server 167.x.x.138
- Seconday DNS Server 167.x.x.4
I am trying to set up eth0 (eno1) to be on the static IP and eth1 (eno2) to be on the network (LAN) eno2 is up and working but eno1 is not.
I don't seem to be getting to commands to set up to the name server correct any suggestions?
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eno1 #iface eno1 inet dhcp iface eno1 inet static address 47.x.x.62 netmask 255.255.255.252 gateway 47.x.x.61 # The primary network interface auto eno2 #iface eno2 inet dhcp iface eno2 inet static address 192.168.1.5 netmask 255.255.255.0 gateway 192.168.1.1