Configure Network Interface - Linux







  1. 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
  2. Create/edit the route configuration file /etc/sysconfig/network-scripts/route-eth0:
    default 192.168.0.1 dev eth0



info site

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

No comments:

Post a Comment