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

Bug#40346: marked as done (ifconfig doesn't shut down interface)



Your message dated Sun, 29 Jul 2007 11:33:53 +0200
with message-id <20070729093353.GB7448@stro.at>
and subject line ifconfig doesn't shut down interface
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: netbase
Version: 3.14-3

After I shutted down an interface:
ifconfig eth1:6 down
I still was able to make ping to IP that card represented.
Only after I killed redirector of an port from that IP to
IP on local network (NAT firewall), I wasn't able nor
to ping, nor to use that port.

Fix it to kill interface anyway, even if somebody has listenning
sockets on it.
-- 
Bye,                        | "Unix is simple. It just takes a
Penn.                       |  genius to understand its simplicity"
                            |                        Dennis Ritchie

--- End Message ---
--- Begin Message ---
closing as this is based on the linux networking model
see for instance 
http://www.mail-archive.com/linux-net@vger.kernel.org/msg01235.html

Q: Why can I ping an IP address when the interface is down?
A: Linux uses a "host based" addressing model, IP addresses are owned by
the host, not individual interfaces. So as long as the IP address is
configured to some interface, we will accept packets destinated to that IP
address as our's.

thus closing

-- 
maks

--- End Message ---

Reply to: