LinuxQuestions.org
Help answer threads with 0 replies.
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 11-05-2004, 09:03 AM   #1
davidho3
LQ Newbie
 
Registered: Jul 2004
Location: U.S
Posts: 8

Rep: Reputation: 0
ARP request


I am working on a router projects. My PC (two ethernet interface) run with RedHat linux. eth0 connect to a "managed switch. The switch three ports has been programmed (port 2 -- vlan 2, port 3 --vlan 3, port 7 -- vlan 2 & 3)
I also added vlan 2 & 3 to eth0. Therefore, I ran /sbin/ifconfig I can found etho, eth0.2 & eth0.3.

Connect two test PC to switch and enable DHCP. I can get IP address of two PCs. (192.168.1.200 which connect to port2 vlan2, 192.168.1.201 which connect to port 3 vlan3)

ping from 192.168.1.200 to 192.168.1.201. The Linux PC receive ARP request (I am 192.168.1.200 and who is 192.168.1.201). I ran /sbin/arp did not found arp entry

Question:

1. How can I enable ARP features on my Linux pc?
2. How I add MAC to ARP table?
3. Why DHCP request works fine without any arp request?

Thanks



 
Old 11-05-2004, 09:21 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
The Linux PC ignores the request because the arp request is not for itself.

2. Use the arp command

3. The clients don't know the ip address of the dhcp server to begin with.
 
Old 11-05-2004, 10:01 AM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
ping from 192.168.1.200 to 192.168.1.201. The Linux PC receive ARP request (I am 192.168.1.200 and who is 192.168.1.201). I ran /sbin/arp did not found arp entry

Maybe I'm misunderstanding your post or how your computers are actually connected to yuor switch, but I don't see a problem here. VLAN's separate broadcast domains. So why would you think an arp request would be sent from VLAN2->VLAN3???
 
  


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
sending an arp request jagman Programming 2 02-27-2006 02:59 PM
ARP request davidho3 Linux - Networking 1 11-06-2004 09:48 AM
Disabling ARP probes after receiving an ARP request AltecLansingMan Linux - Networking 1 03-30-2004 01:25 PM
How to create an proxyarp entry in arp table by using arp command? himalayas Linux - Networking 0 06-04-2003 04:14 AM

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

All times are GMT -5. The time now is 02:36 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