Skip to content

CentOS networking

Alexandru Zbarcea edited this page Jan 20, 2015 · 1 revision

On the host

# nano /etc/sysconfig/network-scripts/ifcfg-ens3

(...)
BOOTPROTO=none
IPV6INIT=no
# remove other IPV6_...
ONBOOT=yes
IPADDR=192.168.2.200
NETMASK=255.255.255.0
GATEWAY=192.168.2.254
DNS1=192.168.2.254

On the router/gateway ... add interface: 192.168.2.254