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 01-27-2006, 12:21 PM   #16
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849

To enable arp, type 'ifconfig eth0 arp' to disable type 'ifconfig eth0 -arp' that is assuming the interface you wish to affect is eth0.
 
Old 01-27-2006, 10:27 PM   #17
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
If you want to learn any applications about how they work then you can start directly by downloading its binary as well as source package.
Read source and understand how flow is going on.Make changes as per your need and enjoy the Open source world.
Thats it all you need
 
Old 01-28-2006, 12:57 AM   #18
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
Hi to all,

What cmd do we use to flush arp cache?

As for my previous questions on reading source code, programs like iptables are really big..so many files involved..don't know where the program starts or ends..in what file does iptables code start?

Regards,
Visham
 
Old 01-28-2006, 01:14 AM   #19
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
for flushing ARP tables you need iproute2 package http://www.ssi.bg/~ja/#iparp
 
Old 01-30-2006, 01:23 AM   #20
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
Hi to all,

I disabled on the PC on which i'm doing MAC DNAT of IP traffic using ebtables. However, when I try to ping, it doesn't work. I think the ARP request is sent before MAC DNAT happens. i.e., when the IP packet is created and the Ethernet frame header is to be added. Since ARP is disabled, no request is sent and the packet is not sent to ebtables's code for MAC DNAT.

Actually, I have 3 PCs (192.168.10.1, 192.168.10.2, 192.168.10.3) with MAC addresses E1, E2 and E3 respectively. All 3 PCs are connected to the same Cisco switch.

Ipv4 traffic from E1 to E2 is MAC DNATed to E3. Hence E1 talks to E2
via E3, and vice-versa. However, I have MAC ACLs configured on the
Cisco switch. Traffic should have E3 as destination MAC address in
order to be accepted by the switch. Otherwise it is dropped.

The problem is that ARP packets are dropped as well since they have a broadcast destination MAC address. I tried MAC DNATing ARP packets to E3 but I don't know what to do when they arrive at E3. How do I fwd these arp requests to correct destination from E3? What can I do to make this system work?

Any help will be very much appreciated..

Warm regards,
Visham
 
  


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
re:arp sureshzi General 4 01-26-2006 09:33 AM
Disabling ARP probes after receiving an ARP request AltecLansingMan Linux - Networking 1 03-30-2004 01:25 PM
Arp Melissa22 Linux - Networking 1 03-16-2004 03:21 AM
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 05:07 PM.

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