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 03-10-2006, 09:06 AM   #1
erik_persson
LQ Newbie
 
Registered: Mar 2006
Posts: 6

Rep: Reputation: 0
Problem with proxy arp on debian sarge kernel 2.6.x


Hello!
I have this problem that I just can't work out.
We have an old machine running slackware/kernel 2.4.28, but we needed a new machine. The os on the new machine is debian sarge, and we *really* need proxy arp on the machine. It worked flawless on the old machine, but "Preproduction" testing on the new machine reveals that proxy arp is not working, and I can't figure out why.

I've tried setting up proxy arp on two different machines, and my test setups are as follows:
kernel 2.6.13-vs2.0.1-pre2-686 (not a std debian kernel) on one of the machines and
kernel 2.6.12-1-amd64-generic on the other.
/proc/sys/net/ipv4/ip_forward as well as /proc/sys/net/ipv4/conf/*/proxy_arps set to 1.
Forwarding works fine.
The network in the test setup is configure with
eth0 10.200.150.1/24
eth1 192.168.12.209/24
route:
10.200.150.0 eth0
192.168.12.0 eth1
0.0.0.0 gw 192.168.12.254 eth1

In the test setup I try to proxy arp for 192.168.12.211 on eth1, and I'm adding the proxy with:
arp -i eth1 -s 192.168.12.211 00:01:02:03:04:05 pub
and I've added a
iptables -t nat -I PREROUTING 1 -d 192.168.12.211 -j DNAT --to-destination 10.200.150.150
and
iptables -I FORWARD 1 -d 10.200.150.150 -j ACCEPT
in my test setup. Where 10.200.150.150 is on eth0.
I have a functioning route form the test machine to 10.200.150.150

Trying to reach 192.168.12.211 from a machine on the eth1 net ends with an error message stating that there is no route.

tcpdump on the test machine:
tcpdump -i eth1 host 192.168.12.211
23:36:03.180749 arp who-has 192.168.12.211 tell 192.168.12.254
etc

tcpdump on the 10.200.150.150 of course returns nothing.

Thus no proxy arp =-(
What am I missing?

The situation above is just my test setup. When this machine is in production it will proxy arp on one interface for a number of machines connected on another iterface, and I will not do any DNATing in that setup.

Can anyone help me please.

Erik Persson.
 
  


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
Proxy ARP Difficulties TheMaskedMan Linux - Networking 1 10-24-2005 12:11 PM
cdrecord problem with ide-cd (debian/sarge, kernel 2.6.12) philippeP Debian 3 09-07-2005 02:19 AM
Ethernet address for proxy ARP problem with PPP GuestFox Slackware 2 06-05-2005 07:17 AM
debian sarge & new kernel => weird internet problem mikey79 Linux - Networking 2 08-31-2004 08:00 AM
Problem getting XFree86 4.3.0.1 running, debian "sarge" 2.6.6 kernel Motivez Linux - Software 9 06-08-2004 02:45 PM

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

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