On Wed, 2009-05-06 at 10:18 +0200, Pieter Donche wrote:
> 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.c
Hi,
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?
In theory, yes, that changes the IP addr
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"