Re: NIC Having Multiple IP Addresses?
- From: "Anonymous" <call_ret@xxxxxxxxx>
- Date: 27 Jul 2006 04:08:36 -0700
Chris Davies wrote:
Anonymous <call_ret@xxxxxxxxx> wrote:
When I do the following
# ifconfig eth0 down
the lights on the ethernet switch port to which the computer is
connected still keep blinking. Which means there is still traffic
flowing to and from the computer!
Actually that's quite correct and normal. Ifconfig does not interrupt
the physical network layer, so the switch knows there's something still
plugged in. So it continues to route broadcast traffic (ARP requests,
for example). For a short time after you've done the ifdown the switch
will also continue to route traffic for that interface as it will have
learned that the interface was accepting (and generating) traffic.
You can check the physical link status with a tool such as "mii-tool".
Here are three example outputs:
# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Invalid argument
There's a physical link but the interface is not configured. This
should correspond to the situation you've described
# mii-tool eth1
eth1: negotiated 100baseTx-FD, link ok
There's a physical link and it's got IP configuration
# mii-tool eth2
eth2: no link
There's no cable plugged in
Is there such a possibility that the interface card is assigned two
IP addresses
Yes that's quite possible
the malicious one being not shown up in the ifconfig
output and the interface still keeps running despite I turned it off?
But this bit is very unlikely.
If so, then how do I find and confirm this happening?
Try "ifconfig" to see all the active interfaces. If it's not showing up
in the ifconfig output then you may have been rooted, and it probably
won't show anywhere else.
Chris
Interesting result in my situation:
#ifconfig eth0 down
#ifconfig
gives details of lo (loopback) interface. NO other interface or IP
shows up.
#mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok
Which means that it still has an IP assigned.
What would that mean? Any advice on how should I proceed further?
How should I find the dubious IP assigned to the machine? I would then
probably use
a sniffer to watch the traffice flow from that IP?
Any help will be greatly appreciated. Many thanks in advance!
A.
.
- Follow-Ups:
- Re: NIC Having Multiple IP Addresses?
- From: Philippe WEILL
- Re: NIC Having Multiple IP Addresses?
- References:
- NIC Having Multiple IP Addresses?
- From: Anonymous
- Re: NIC Having Multiple IP Addresses?
- From: Chris Davies
- NIC Having Multiple IP Addresses?
- Prev by Date: Firewall problem?
- Next by Date: Re: IP Tables locally
- Previous by thread: Re: NIC Having Multiple IP Addresses?
- Next by thread: Re: NIC Having Multiple IP Addresses?
- Index(es):
Relevant Pages
|
|