- Open a terminal
- run this command to change directory to list network interfaces
- cd /etc/sysconfig/network-scripts/
- ls
- We need to edit the network interface file starting with ifcfg-enolxxxx. To be able to edit the file, first we need to run su. Run these commands:
- su
- gedit ifcfg-eno16777736
- Change these parts accordingly and save it:
IPADDR=192.168.1.201
GATEWAY=192.168.1.1
DNS1=192.168.1.227
0 comments:
Post a Comment