[LARTC] Enabling Proxy Arp

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have read the section  http://lartc.org/howto/lartc.bridging.proxy-arp.html .
I configured my two ethernet devices with the same ip address .
Should i configure them with a specific command ?

I used : ifconfig eth0 192.168.47.104 netmask 255.255.255.0
	     ifconfig eth1 192.168.47.104 netmask 255.255.255.0

I tried to configure them with ip also .

eth0      Link encap:Ethernet  HWaddr 00:90:27:72:B8:1D
          inet addr:192.168.47.104  Bcast:192.168.47.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:9

eth1      Link encap:Ethernet  HWaddr 00:00:E8:8D:0C:DC
          inet addr:192.168.47.104  Bcast:192.168.47.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x2000

I checked for support in kernel 
# dmesg |grep ip_
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
Is there any specific kernel option for proxy-arp ?

then i tried to enable proxy arp with :
echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/eth1/proxy_arp
but proxy_arp remains 0 , whatever i do .

Thank you for your help
Nikolaos Kefalas


--
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux