Configure Network Interface - Linux
- Create/edit a file
/etc/sysconfig/network-scripts/ifcfg-eth0
containing:DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0
IPADDR=192.168.0.12 USERCTL=no
- Create/edit the route configuration file
/etc/sysconfig/network-scripts/route-eth0
:default 192.168.0.1 dev eth0
No comments