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

Please Login to comment
  Subscribe  
Notify of

Upcoming Events (Local Time)

  1. Jan
    31
    Fri

    1. 9:00 am - View Details
      CentOS: Dojo, Brussels, Belgium.

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create an EXT4 file system mounted by UUID in /etc/fstab under /vol based on a logical volume of 28 logical extents.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a httpd server with a password protected directory under the /var/www/html/private directory.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...