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

Be the First to Comment!

Notify of
wpDiscuz

RHCSA7: Task of the day

Allowed time: 5 minutes.
Set up time services pointing to default time servers.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria and back up the database with mysqldump.

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