[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: /etc/init.d/network restart still get old IP
- From: "Rudolf Amirjanyan" <rudik sgn com>
- To: <redhat-list redhat com>
- Subject: Re: /etc/init.d/network restart still get old IP
- Date: Fri Jan 2 10:21:01 2004
You have to change the ip adress not in /etc/sysconfig/network-scripts, but
change ip form /etc/sysconfig/networking/devices....
Afte You change, do /etc/init.d/network restart .
Regards,
Rudolf
----- Original Message -----
From: "Benjamin J. Weiss" <benjamin weiss name>
To: <redhat-list redhat com>
Sent: Friday, January 02, 2004 6:14 PM
Subject: Re: /etc/init.d/network restart still get old IP
> ----- Original Message -----
> From: "Simon Tneoh Chee-Boon" <tneohcb gen-x com my>
> To: <redhat-list redhat com>
> Sent: Friday, January 02, 2004 12:41 AM
> Subject: /etc/init.d/network restart still get old IP
>
>
> > Hello all,
> > Thanks in advance for any help.
> > Because of IP changes, I added an alias (eth0:1) for new IP to my
> server's eth0 to
> > avoid any error due to DNS' caching. The two IP on different network
> subnets.
> > Now after I removed eth0:1, moved the new IP to eth0, execute
> "/etc/init.d/network restart",
> > I still get the old IP from "ifconfig eth0".
> > I have done and tried the methods below and yet still get the old IP
> address in eth0:
> > 1) Delete /etc/sysconfig/network-scripts/ifcfg-eth0:1.
> > 2) Setup new IP in /etc/sysconfig/network-scripts/ifcfg-eth0.
> > 3) Execute /etc/init.d/network restart.
> > 4) Reboot machine.
> > 5) Shutdown and power off the server.
> > 6) Unplug the network cable to restart the network init script.
> >
> > I wonder what have I missed out here? Anyone encountered this problem
> before?
> > Thanks.
>
> Okay, this may be a stupid question, but: How are you getting your eth0
IP?
> Are you manually setting it, or are you getting it from DHCP? While my
home
> box has a dynamic IP from my ISP via DHCP, I still maintain the same IP
for
> months at a time. I *think* (I'm not a DHCP guru by any means) that this
is
> because the DHCP server has a preference for giving the same host the same
> IP, if it's still available after the reboot/restart/etc.
>
> Ben
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]