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

RHCSA7: Task of the day

Allowed time: 10 minutes.
Archive and compress the content of the /opt directory (create files if none exists).
Uncompress and unarchive the resulting file in /root

RHCE7: Task of the day

Allowed time: 8 minutes.
Set up an iScsi target based on a fileio backstore of 100MB called /opt/shareddata with CHAP authentication (username=usr/password=pwd), xfs filesystem and standard firewall configuration.

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 ...