RHEL7: Example of network interface configuration.

Share this link

Here is an example of a network configuration file (here /etc/sysconfig/network-scripts/ifcfg-eth0):

# Generated by dracut initrd
DEVICE="eth0"
ONBOOT=yes
NETBOOT=yes
UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
BOOTPROTO=static
HWADDR="52:54:00:ed:cc:47"
TYPE=Ethernet
NAME="eth0"
DNS1="192.168.1.1"
GATEWAY="192.168.1.1"
HOSTNAME="rhel7.example.com"
IPADDR="192.168.1.9"
NETMASK="255.255.255.0"
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Leave a Reply

Upcoming Events (Local Time)

There are no events.

Follow me on Twitter

Archives