User Tools

Site Tools


itk:changing_ip_address_of_attached_device

Changing IP Address of Attached Device

In /etc/sysconfig/network-scripts/ you'll find a bunch of files start begin with “ifcfg-”. For example, for device “enp1s7”, you'll find a config file called “ifcfg-enp1s7”. In here you can change the IP address assigned to the device when it is connected. Do

sudo /etc/init.d/network restart

after changing the file for it to take effect.

itk/changing_ip_address_of_attached_device.txt · Last modified: 2016/05/26 20:54 by mazhang