move to other subnet

Julien Cigar jcigar at ulb.ac.be
Wed May 6 08:44:06 UTC 2009


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.conf is the only file that needs changes?
> 

yes (maybe /etc/hosts too)

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

no need to reboot, just #> /etc/rc.d/netif restart

> or is there any other file(s) to change?
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jcigar at ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52



More information about the freebsd-questions mailing list