[Ilugc] duplicate IP on network Issue

  • From: svp.siva@xxxxxxxxx (Saripalli Siva Prakash venkata phani)
  • Date: Tue Jul 8 16:20:38 2008

hi,
Any system can take any ip. But it is illegal to use another's ip.
The control, allowing only certain ip's, is generally done by the network
not by the system.This is how IP is designed.
Windows though detects other machines with same ip and informs you. Linux
doesnt care.
I cannot exactly tell you what the problem is, without more info.
It could be due to your DHCP server, assigning a already used ip (may be the
gateway was down at that time).
Or some1 assigned static ip to u r sys ( only u have access, so not possible
).



On Tue, Jul 8, 2008 at 3:48 PM, R. Kannan <kannanmca@xxxxxxxxx> wrote:

Hi

 Need your suggestions on what could have gone wrong in the following
scenario
we have a solaris box running peacefully for the last couple of years,
Box runs a proprietary CMS server and bugzilla.

mysql , Apache , perl all have been built from source (for .

I am the admin of the box , this is more or less used by me alone ,
not many people have  access let alone root access.

Solaris box has two network cards , one is not used another has IP
assigned by our corporate DHCP server.

our corporate DHCP  server always assigns the same IP ( 172.18.33.58 )
based on MAC address.

This has been going on for the last few years without any issue.

Last Friday our box mysteriously tried to assign itself the IP of our
network gateway ( 172.18.32.1 ) and succeeded.

The result was almost a catastrophe , our entire office network was
down and for well over 3hrs no one knew what was happening.


when corporate team found out they immediately pulled the network plug
, my server was out of network and our office network was back to
normal.

my server logs indeed confirm server took the gateways IP .

How can this happen , if this behaviour is acceptable can any one
running *inx assign some arbitrary IP and bring the server / network
down.

 Can I assign myself IP of my internet proxy and prevent everyone from
accessing network. The whole idea looks scary .

I have reproduced portions of dmesg here

------------------ dmesg logs --------
 Jul  4 17:57:18 interwoven ip: [ID 876157 kern.warning] WARNING: node
00:15:62:9a:cb:c0 is using our IP address 172.018.032.0
01 on hme0
Jul  4 17:57:20 interwoven last message repeated 2 times
Jul  4 17:57:21 interwoven ip: [ID 567813 kern.warning] WARNING:
hme0:1 has duplicate address 172.018.032.001 (claimed by 00:
15:62:9a:cb:c0); disabled
Jul  4 17:57:28 interwoven iwovwfs: [ID 944797 kern.notice]
wfsdrv_detach: property unload-ok  does not exist.
Jul  4 17:57:28 interwoven iwovwfs: [ID 926483 kern.notice]
wfsdrv_detach: NOT detaching instance.
Jul  4 17:57:30 interwoven iwovwfs: [ID 490704 kern.notice] wfsdrv:
_fini: property unload-ok does not exist.
Jul  4 17:57:30 interwoven iwovwfs: [ID 697986 kern.notice] wfsdrv:
_fini: NOT unloading device.
Jul  4 17:59:28 interwoven /sbin/dhcpagent[56]: [ID 778557
daemon.warning] configure_v4_lease: no IP broadcast specified for
hme0, making best guess
Jul  4 17:59:28 interwoven /sbin/dhcpagent[56]: [ID 793670
daemon.error] configure_bound: cannot add default router 172.18.32
.1 on hme0: File exists
Jul  4 18:00:16 interwoven /sbin/dhcpagent[56]: [ID 778557
daemon.warning] configure_v4_lease: no IP broadcast specified for
hme0, making best guess
Jul  4 18:00:16 interwoven /sbin/dhcpagent[56]: [ID 793670
daemon.error] configure_bound: cannot add default router 172.18.32
.1 on hme0: File exists
Jul  4 18:02:22 interwoven ip: [ID 636139 kern.notice] NOTICE:
recovered address 172.018.032.001 on hme0:1
Jul  4 18:02:22 interwoven ip: [ID 876157 kern.warning] WARNING: node
00:15:62:9a:cb:c0 is using our IP address 172.018.032.0
01 on hme0
Jul  4 18:07:27 interwoven ip: [ID 567813 kern.warning] WARNING:
hme0:1 has duplicate address 172.018.032.001 (claimed by 00:
15:62:9a:cb:c0); disabled
Jul  4 18:07:49 interwoven /sbin/dhcpagent[56]: [ID 778557
daemon.warning] configure_v4_lease: no IP broadcast specified for
hme0:1, making best guess
Jul  4 18:07:49 interwoven /sbin/dhcpagent[56]: [ID 293758
daemon.error] open_ip_lif: cannot bind v4 socket on hme0:1: Cannot
 assign requested address
Jul  4 18:07:49 interwoven /sbin/dhcpagent[56]: [ID 623418
daemon.error] configure_bound: cannot set bound state on hme0:1: C
annot assign requested address

--------------dmesg logs -----------------

All along i was thinking if there is a duplicate IP in network , the
machine that tried to assign the existing IP  will fail. In this case
gateway failed and my box succeeded.

It should have been other way round, my server should have failed ,
gateway box should have continued with the same IP.

Am I missing something here ?

regards
Kannan
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
Saripalli Siva Prakash V P
Senior Year, BTech
CS04B024
Computer Science and Engineering
IIT MADRAS
Mobile No:- 09884612740

Other related posts: