Thanks, that is all I need.

Robert Maynard Rhyu [EMAIL PROTECTED] wrote:
> Hello,
> 
> On Mon, 13 Sep 1999, Shao Zhang wrote:
> 
> > hi,
> >     How do I change the ip address of my machine without rebooting?
> > 
> >     I did an 
> > 
> >     ifconfig eth0 xxx.xxx.xxx.xx netmask 255.255.255.0 broadcast
> >     xxx.xxx.xxx.255
> > 
> >     But it does not seem to be enough. After the above command, I
> >     cannot telnet to anywhere unless I do a reboot...
> > 
> >     Can someone please help me??
> 
> You must take down the interface prior to assigning it a new IP address:
> 
> # ifconfig eth0 down
> 
> Check the output of ifconfig (without arguments) to ensure the interface
> is down...
> 
> Then bring up the interface with the new IP address as you've outlined
> above.
> 
> Check the output of ifconfig (again, without arguments) to ensure the
> interface is up and has the proper IP address/netmask/etc.
> 
> Be sure to edit /etc/init.d/network and /etc/hosts to reflect your
> changes if you intend to keep your new IP address.
> 
> HTH,
> Robert.
> [EMAIL PROTECTED]
> 
> 
> 
> > 
> > Shao.
> > 
> > -- 
> > ____________________________________________________________________________
> > Shao Zhang - Running Debian 2.1  ___ _               _____
> > Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ 
> > _ 
> > University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` 
> > |
> > Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, 
> > |
> > Email: [EMAIL PROTECTED]                                                  
> > |___/ 
> > _____________________________________________________________________________
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> > 
> > 
> 
> 

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]                                                  |___/ 
_____________________________________________________________________________

Reply via email to