nano /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=142.44.198.9
GATEWAY=192.99.161.254
ARP=yes
HWADDR=02:00:00:a1:9a:fa
nano /etc/sysconfig/network-scripts/route-eth0
192.99.161.254 - 255.255.255.255 eth0
192.99.161.0 - 255.255.255.0 eth0
default 192.99.161.254
Was this helpful?
0 / 0