Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2009 10:46:19 +0200
From:      Julien Cigar <jcigar@ulb.ac.be>
To:        Pieter Donche <Pieter.Donche@ua.ac.be>
Cc:        "mail.list freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: move to other subnet
Message-ID:  <1241599579.2656.5.camel@frodon.be-bif.ulb.ac.be>
In-Reply-To: <alpine.BSF.2.00.0905061013410.40419@macos.cmi.ua.ac.be>
References:  <alpine.BSF.2.00.0905061013410.40419@macos.cmi.ua.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1241599579.2656.5.camel>