[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: inet address removed but still in use



"Jeremy C. Reed" <reed@wcug.wwu.edu> writes:

> I added an IP (IPs changed for this example):
> 
>  ifconfig eth0:1 192.168.197.179 netmask 255.255.255.128 up
> 
> It was listed with "ifconfig -a".
> 
> Then I removed it with:
> 
>  ifconfig eth0:1 192.168.197.179 down
> 
> And it was gone (not listed) from "ifconfig -a".
> 
> But I can still ping it from a remote machine and logon to it.

I've run into similar situations with RedHat systems.  There the IP would
still show up with ifconfig -a and could be reached from localhost ... I
couldn't reach it remotely mind you.

I always make sure that I have iproute2 installed for situations like this,
it seems much more capable than ifconfig when you run into problems:

ip addr del 192.168.197.179 dev eth0:1

-- 
Fraser Campbell <fraser@starnix.com>                          Starnix Inc.
Telephone: (905) 771-0017                       Thornhill, Ontario, Canada
http://www.starnix.com/             Professional Linux Services & Products



Reply to: