Networking Forums

Networking Forums > Computer Networking > Linux Networking > service network restart leaves 2 IPs for one interface

Reply
Thread Tools Display Modes

service network restart leaves 2 IPs for one interface

 
 
Michael Jenkins
Guest
Posts: n/a

 
      09-22-2003, 06:10 AM
If I do a "ifconfig eth0 192.168.244.81 netmask 255.255.255.0 up",
when my old IP address is 192.168.244.80, then the rh box changes the
ip address, and can only be reached from 192.168.244.81, however if I
wish to revert back using "service network restart", which should
examine the below file(among others) and revert the IP address back to
192.168.244.80, which it does, but it also leaves the .81, which can
be reached from a windowsXP machine on the network, even if I do a
"arp -d" and dump the arp cache. If I do a "ifconfig -a", the only
interface that shows up is eth0(with no virtual interfaces ie :1) but
with the "inet addr" of .81. WTF! "ifdown eth0" & "ifup eth0" do not
fix this. I thought the only way to have multiple IP addresses on the
same interface was to have virtual interfaces. Any ideas?

"contents of /etc/sysconfig/network-scripts/ifcfg-eth0"
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.244.255
IPADDR=192.168.244.80
NETMASK=255.255.255.0
NETWORK=192.168.244.0
ONBOOT=yes

Linux version 2.4.7-10 ((E-Mail Removed)) (gcc
version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6
16:46:36 EDT 2001

Red Hat Linux release 7.2 (Enigma)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in bonding while "service network restart" gnanam Linux Networking 6 10-06-2008 01:41 PM
Arson leaves Virgin Media customers without service Enzo Broadband 15 11-04-2007 12:40 PM
Server Service Stops and I can't restart it. Steve Martin Windows Networking 1 01-11-2006 02:14 PM
Remotely restart a service Dave Windows Networking 5 06-02-2004 11:47 AM
Periodically have to do 'service network restart' JGH Linux Networking 1 04-17-2004 08:56 PM



1 2 3 4 5 6 7 8 9 10 11