How to change NIC IP when system is running FBSD 6.1

Kevin Kinsey kdk at daleco.biz
Tue Jul 18 13:44:11 UTC 2006


>> To: freebsd-questions at 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



More information about the freebsd-questions mailing list