How to change NIC IP when system is running FBSD 6.1

Erin Fortenberry Erin at Fortenberry.net
Tue Jul 18 13:49:29 UTC 2006


 

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> Subject: Re: How to change NIC IP when system is running FBSD 6.1
> 
> >> 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

Don't forget to adjust the default route and save your changes for when the
next windows-ish reboot does happen.


-Erin



More information about the freebsd-questions mailing list