Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

ifcfg-ethx example

ifcfg-eth0 options

  1. SSH to system

  2. open up the ethernet connetion we need to modify.  Generally this will be eth0

  3. nano /etc/sysconfig/network-scripts/ifcfg-eth0

    • For static IP it should look something like this

      • DEVICE=eth0
        BOOTPROTO=static
        IPADDR=10.4.0.21
        NETMASK=255.255.255.0
        GATEWAY=10.4.0.1
        HOSTNAME=abc.example.com
        HWADDR=XX:XX:XX:XX:XX:XX              

    • For DHCP it should look somethign like this

  • No labels