How to change NIC IP when system is running FBSD 6.1

Matthias Apitz m.apitz at oclcpica.org
Thu Jul 20 01:10:00 UTC 2006


El día Tuesday, July 18, 2006 a las 09:13:05AM -0000, DSA - JCR escribió:

> 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?
> 
> Thanks in advance and best regards
> 
> Juan Coruña
> Desarrollo de Software Atlantico

Hi,

If you only want to make it for the moment you may use as 'root'

# ifconfig {if-name} xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

If it has to be for the next reboot, change /etc/rc.conf.

Si lo quieres hacer sólo para el momento, usas siendo 'root'
la herramienta de arriba, si es para el próximo arrancar,
se cambia el fichero /etc/rc.conf. 

Saludos

	Matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <m.apitz at oclcpica.org> - w http://www.oclcpica.org/ http://guru.UnixLand.de/


More information about the freebsd-questions mailing list