Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2009 15:42:51 +0700
From:      on@cs.ait.ac.th
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:  <20090506154251.o6zz76tws0sogwso@wwws.cs.ait.ac.th>
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
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 address of the machine.

But then you may have some services configured to listen to a specific 
IP address, these services will have to be reconfigured too.

Olivier

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





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