LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2006, 01:43 AM   #1
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Rep: Reputation: 0
arp cache problem


Hi,

I am facing problem on Server regarding MAC address. I dont know how Server bahaves like this. Problem is that server starts to show mac addresses of all connected hosts same. I mean if 30 hosts are connected in LAN then when I give command
$> arp
it shows 30 hosts with different IPs but same MAC. like this

host1 ether B2:CC:BA:E9:CB:AE C eth0
host2 ether B2:CC:BA:E9:CB:AE C eth0
host3 ether B2:CC:BA:E9:CB:AE C eth0
host4 ether B2:CC:BA:E9:CB:AE C eth0
host5 ether B2:CC:BA:E9:CB:AE C eth0

Can anyone tell me where the problem is and how can I resolve it.

Response required urgently


Thanks

Last edited by gr8paki; 06-21-2006 at 01:46 AM.
 
Old 06-22-2006, 01:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
is that a real mac address? i can't find the vendor id in any online databases of them: http://standards.ieee.org/regauth/oui/index.shtml sounds like somethign is masquarading the addresses or something, but knowing who commericially owns that mac address would help you out an awful lot.
 
Old 06-22-2006, 02:03 AM   #3
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
No there is no MAC like this on our intranet. But it shows specifically this MAC in arp.

I should provide more detail.
It’s an internet gateway. LAN on eth0 and internet on eth1. I have masqueraded some IPs also.

It happens suddenly and when it happens System don’t respond to any query not even ping on that network interface (eth0). But other interface which is connected to internet (eth1) is working fine. One more thing is that other computers on network communicate each other fine that is network is fine.

When it happened I manually remove all the entries from arp table and restart services but nothing. After sometime it starts working itself. I don’t know how.
 
Old 06-22-2006, 03:08 AM   #4
intel_ro
Member
 
Registered: Jun 2006
Location: Romania
Distribution: RH 9, FD 2,3,4,5 Debian
Posts: 37

Rep: Reputation: 15
is very simple somebody on your network is making alias addresses
 
Old 06-23-2006, 02:52 AM   #5
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Please tell me how can I trace it and if someone is doing it then other network is fine.

And This computer cannot ping other systems also

Please guide
 
Old 06-23-2006, 12:02 PM   #6
intel_ro
Member
 
Registered: Jun 2006
Location: Romania
Distribution: RH 9, FD 2,3,4,5 Debian
Posts: 37

Rep: Reputation: 15
use command arp -a and then u must take the cables if u don't have mangemt switch to log on switch and arp from memory of the switch !

Last edited by intel_ro; 06-23-2006 at 12:04 PM.
 
Old 07-03-2006, 04:27 AM   #7
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
I think found some solution. I have manually added arp entries and its working. But I think its not a permanent solution. Infact I used 'tcpdump arp' but could not found the packets due to which arp cache was affected. There was no prob in network and someone was perhaps sending arp replies.

What else can I do to avoid such attacks and how further someone can manipulate my arp cache?

I am still anxious to track the person who is doing it. If there is any other solution then please let me know.
 
Old 07-09-2006, 04:53 AM   #8
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Hello !!! Anyone here can diagnose why arp cache points to the single MAC address and how i can resolve it.
 
Old 07-09-2006, 10:44 AM   #9
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
I found some packets

10.0.0.1 is server and its mac is mac 00:90:27:79:72:B0



21:23:32.894552 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.103
21:23:32.894561 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.894675 c1:f5:b9:e2:c3:f7 > 78:bb:f1:00:c8:08, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.103 tell 10.0.0.1
21:23:32.894816 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.105
21:23:32.894823 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.894928 c1:f5:b9:e2:c3:f7 > 08:b0:f1:00:88:df, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.105 tell 10.0.0.1
21:23:32.895079 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.112
21:23:32.895086 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.895198 c1:f5:b9:e2:c3:f7 > 90:96:3b:00:60:df, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.112 tell 10.0.0.1
21:23:32.895333 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.166
21:23:32.895340 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.895445 c1:f5:b9:e2:c3:f7 > d8:9a:3b:00:50:08, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.166 tell 10.0.0.1
21:23:32.895584 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.167
21:23:32.895590 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.895698 c1:f5:b9:e2:c3:f7 > 58:e8:e2:01:28:08, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.167 tell 10.0.0.1
21:23:32.895836 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.181
21:23:32.895843 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.895960 c1:f5:b9:e2:c3:f7 > a0:ec:e2:01:e8:d4, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.181 tell 10.0.0.1
21:23:32.896103 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.182
21:23:32.896109 00:90:27:79:72:b0 > b2:cc:ba:e9:cb:ae, ethertype ARP (0x0806), length 42: arp reply 10.0.0.1 is-at 00:90:27:79:72:b0
21:23:32.896488 c1:f5:b9:e2:c3:f7 > e8:f0:e2:01:a0:08, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.182 tell 10.0.0.1
21:23:32.896675 b2:cc:ba:e9:cb:ae > 00:90:27:79:72:b0, ethertype ARP (0x0806), length 60: arp who-has 10.0.0.1 tell 10.0.0.206
 
Old 04-26-2007, 02:25 PM   #10
gr8paki
LQ Newbie
 
Registered: Jun 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Solution

Lemme answer it and close it

someone was sending fake packets on intranet and poisoning cache. Quickly we can assign static MAC addresses of clients like this on linux Box.

arp -s 10.0.0.104 00:60:08:52:F2:F0

Then windows clients we can assign static MAC address of Server also

arp -s 10.0.0.1 00-D1-26-DD-F8-29

On switched network to track the source of such packets is very hard. We can use tools like tcpdump or etherial but most of the work is manual.

Last edited by gr8paki; 04-26-2007 at 02:33 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
arp cache shrishailnk Linux - Networking 2 04-29-2006 01:07 AM
arp cache entry............. shrishailnk Linux - Networking 2 04-22-2006 02:44 PM
ARP cache refreshing time ivanatora Linux - Networking 0 04-27-2005 06:00 AM
detecting/preventing arp cache poisoning? SocialEngineer Linux - Security 6 08-20-2004 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration