Setting up network without NetworkManager in Redhat 7

Опубликовано: 04 Май 2016
на канале: Business Server Solutions
4,105
22

Setting up network without NetworkManager in Redhat 7

Red Hat Enterprise Linux 7: Setting up network without NetworkManager.

This video tutorial is part of RHCSA Fast Track course.

1) Stop NetworkManager service and disable it from startup after reboot
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl is-enabled NetworkManager

2) vi /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

172.16.99.201 lxserv01 lxserv01.domain99.private.com

3) vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=52:54:00:81:33:a7
NM_CONTROLLED=no
BOOTPROTO=static
ONBOOT=yes
IPADDR=172.16.99.201
NETMASK=255.255.255.0
NETWORK=172.16.99.0
BROADCAST=172.16.99.255

4) vi /etc/sysconfig/network
NETWORKING=yes
GATEWAY=172.16.99.1

5) vi /etc/resolv.conf
search domain99.private.com
nameserver 8.8.8.8
nameserver 208.67.222.222

6) Restart network service and verify if it is enabled to start after reboot
systemctl restart network
systemctl status network
systemctl is-enabled network

7) Verify networking
ip a (ip addr) (ip address)
ip r (ip route)

yum install net-tools
ifconfig -a
ifconfig eth0
netstat -r
netstat -rn

yum install bind-utils
nslookup redhat.com
dig redhat.com
dig @208.67.222.222 redhat.com
ping redhat.com

Related Video Tutorials:
RHCSA Fast Track course:
Reset forgotten root password in Redhat 7:
   • Reset forgotten root password in Redhat 7  

Network Interface naming convention in Red Hat 7:
   • Network Interface naming convention in Red...  

Setting up network without NetworkManager in Redhat 7:
   • Setting up network without NetworkManager ...  

Setting up network using NetworkManager and network scripts in Redhat 7:
   • Setting up network using NetworkManager an...  

Setting up network using a NetworkManager text user interface (nmtui) in Red Hat 7 - EASY!!!
   • Setting up network using a NetworkManager ...  

Setting up network in Red Hat 7 in less than a minute - QUICK & EASY!!!
   • Setting up network in Red Hat 7 in less th...  

Setting up network using a NetworkManager command line interface (nmcli) in Red Hat 7
   • Setting up network using a NetworkManager ...  

nmcli cheat! Setting up network using nmcli in Red Hat 7 in less than a 30 seconds - QUICK & EASY!!!
   • nmcli cheat! Setting up network using nmcl...  

The Complete Beginners Guide to Linux Network Configuration - GUI & Easy!
   • Complete Beginners Guide to Linux Network ...  

Shrink ext2 ext3 and ext4 file system and reduce the size of a logical volume with only one command.
   • Shrink ext2 ext3 and ext4 file system and ...  

Complete guide to file system shrinking and reducing the size of the underlying logical volume.
   • Complete guide to file system shrinking an...  

Other related video tutorials:
Calculate netmask, network and broadcast address - EASY!:
   • Video  

NetworkManager connection priority - manage network profile priority in Linux:
   • NetworkManager connection priority - manag...  


На этой странице сайта вы можете посмотреть видео онлайн Setting up network without NetworkManager in Redhat 7 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Business Server Solutions 04 Май 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,105 раз и оно понравилось 22 зрителям. Приятного просмотра!