move to other subnet

Pieter Donche Pieter.Donche at ua.ac.be
Wed May 6 08:19:07 UTC 2009


Just want to check:

If a freebsd7 system is to move to a different subnet
(from ip XXX.YYY.AAA.BBB to XXX.YYY.CCC.DDD)
  same netmask 255.255.255.0
  same hostname myhost.mydomain.mycountry
  same DNS servers

then /etc/rc.conf is the only file that needs changes?

defaultrouter="XXX.YYY.CCC.254"   <---
hostname="myhost.mydomain.mycountry" 
ifconfig_em0="inet XXX.YYY.CCC.DDD netmask 255.255.255.0" <---

and reboot ?
or is there any other file(s) to change?


More information about the freebsd-questions mailing list