1833167 Members
3197 Online
110051 Solutions
New Discussion

Re: ifconfig

 
SOLVED
Go to solution
Jan Shu
Regular Advisor

ifconfig

Hi All,

Greetings. If I run ifconfig to change the lan card IP address (still in the same subnet), is there any files I need to update too?

Thank you for your help in advance.

Best Regards,
Jan Shu
2 REPLIES 2
Simon Hargrave
Honored Contributor

Re: ifconfig

You need to change /etc/rc.config.d/netconf, to ensure the changes are reflected after a reboot.
Patrick Wallek
Honored Contributor
Solution

Re: ifconfig

Yes.

If you want the change to persist next time you reboot the machine you need to change /etc/hosts and /etc/rc.config.d/netconf to have the new IP address. If you are using DNS you also need to change your DNS server so that it has the new IP address.

Also be aware that anything that references the old IP address will no longer work.