Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 08:41:35 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Barry Byrne <barry.byrne@wbtsystems.com>
Cc:        'DSA - JCR' <juancr@dsa.es>, freebsd-questions@freebsd.org
Subject:   Re: How to change NIC IP when system is running FBSD 6.1
Message-ID:  <44BCE50F.6010606@daleco.biz>
In-Reply-To: <003201c6aa4c$ab6d6ef0$69010c0a@dublin.wbtsystems.com>
References:  <003201c6aa4c$ab6d6ef0$69010c0a@dublin.wbtsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> To: freebsd-questions@freebsd.org
>> Subject: How to change NIC IP when system is running FBSD 6.1
>>
>> Hi all
>>
>> 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. I have tried 
>> doing with KDE
>> but I have several errors when I restart the computer.
>>
>> I have Samba installed also.
>>
>>
>> Can anyone help me?
>>
Barry Byrne wrote:
 > Juan:
 >
 > Easiest way is to edit /etc/rc.conf and reboot.
 >
 >  - Barry

But please, that's so, um, "Windows-ish"?

#ifconfig xl0 down*
#ifconfig xl0 192.168.0.2 netmask 255.255.255.0

Cake!

Kevin Kinsey

*Technically, unnecessary...
-- 
Practice yourself what you preach.
		-- Titus Maccius Plautus




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