Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 19:29:33 +1000
From:      Nick Withers <nick@nickwithers.com>
To:        "DSA - JCR" <juancr@dsa.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to change NIC IP when system is running FBSD 6.1
Message-ID:  <20060718192933.7ab91939.nick@nickwithers.com>
In-Reply-To: <4480.217.114.136.133.1153213985.squirrel@llca513-a.servidoresdns.net>
References:  <4480.217.114.136.133.1153213985.squirrel@llca513-a.servidoresdns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 18 Jul 2006 09:13:05 -0000 (GMT)
"DSA - JCR" <juancr@dsa.es> wrote:

> Hi all
>=20
> I need to change the IP and netmask of my FreeBSD 6.1 Box and I dont' know
> how to do once the system is up and running.

ifconfig(8). For instance, to set the IP address 10.1.2.3 with
a netmask of 255.255.255.0 on interface rl0, you might use
(there are other ways of doing it):
  ifconfig rl0 inet 10.1.2.3 netmask 0xffffff00

Now, I'm not entirely sure what you mean by "up and running",
but if you mean "post-install", you can use the same
specification style in /etc/rc.conf, for instance:
  ifconfig_rl0=3D"inet 10.1.2.3 netmask 0xffffff00"

> I have tried doing with KDE but I have several errors when I restart the =
computer.

'Fraid I can't offer any assistance here, but I suspect others
might be able to, if you provide a little more information.

> I have Samba installed also.

Not sure what you're trying to say here... Are you worried
about changing the binding address(es) of a Samba server?

> Can anyone help me?
>=20
> Thanks in advance and best regards
>=20
> Juan Coru=F1a
> Desarrollo de Software Atlantico
--=20
Nick Withers
email: nick@nickwithers.com
Web: http://www.nickwithers.com
Mobile: +61 414 397 446



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