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: 5 minutes.
Create a user called tom. Create a directory named /private. Use an acl to only allow access (rwx) to tom to the private directory.

RHCE7: Task of the day

Allowed time: 5 minutes.
Set up time synchronization with default 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 ...