jlehtone wrote:1. Which problem?
Networking to set static IP
3. You wrote earlier
# systemctl disable NetworkManager
# systemctl enable network
# systemctl restart network
.......
Ran
# systemctl enable NetworkManager
# systemctl enable network
# systemctl restart network
to restart it
Just performed following steps:
1) Delete CentOS 7 Gnome desktop on KVM
2) Download CentOS-7-x86_64-DVD-1710-01.iso
3) Install new CentOS Gnome desktop on the download ISO
I found that it is much easier to set up static IP during installation.
On Installation Summary:-
-> Network & Host Name
-> Ethernet (eth0) -> On
-> Configure ....
Connection name : eth0
General
check - All users may connect to this network
Ethernet
Device: eth0
MTU: automatic
Wake on LAN: check - Default
Link negotiation: ignore
Proxy
Method: None
IPv4 Settings
Method: change from Automatic (DHCP) -> Manual
(This is why there are 2 IP Addresses if I set static IP address after installation)
Address
-> Add
Address - 192.168.8.6
Netmask - 255.255.255.0
Gateway - 192.168.8.1
DNS servers: xxx.xx.xxx.xx xxx.xxx.xxx.xxx
check - Requires IPv4 addressing for this connection to complete
-> Save
Host name:
change from: localhost localdomain
to: centos7gnome
-> Apply
-> Done
-> Begin Installation
Follow the instruction to complete the details
Set root password and create user
Add root password
User Creation
check - Makes this user administrator
check - Require a password to use this account
-> Done
Installation starts
After installation finished accept license to start CenOS 7 Gnome desktop
On Terminal:
$ ifconfig -a
Code: Select all
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.6 netmask 255.255.255.255 broadcast 192.168.8.7
inet6 fe80::2d33:c384:edc9:5adf prefixlen 64 scopeid 0x20<link>
ether 52:54:00:14:0e:b0 txqueuelen 1000 (Ethernet)
RX packets 44 bytes 5512 (5.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 44 bytes 6143 (5.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 20 bytes 2060 (2.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20 bytes 2060 (2.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:24:11:c0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:24:11:c0 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
satimis