Simple proxy arp question

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

 




Hey,

With kernel 2.2.16 I am trying to set up proxy arp.My linux machine is on
a 192.168.1.0 network.

eth0: 192.168.1.63
eth1: 192.168.1.249


I have  192.168.1.248 behind eth1. 

$route -n
Destination     Gateway         Genmask         Flags Metric Ref Use Iface
192.168.1.28    0.0.0.0         255.255.255.255 UH    0      0   0 eth0
192.168.1.248   0.0.0.0         255.255.255.255 UH    0      0   0 eth1
192.168.1.249   0.0.0.0         255.255.255.255 UH    0      0   0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0   0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0   0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0   0 lo
0.0.0.0         192.168.1.103   0.0.0.0         UG    0      0   0 eth0

In an effort to ping 192.168.1.103 (which is out eth0) from 192.168.1.248
(which is out eth1) I tried: 

 arp -i eth1 -Ds 192.168.1.103 eth1 pub

 arp -i eth0 -Ds 192.168.1.248 eth0 pub
 arp -i eth0 -Ds 192.168.1.249 eth0 pub


Rendering:

$ arp -an
? (192.168.1.248) at 00:00:86:1D:9B:56 [ether] on eth1
? (192.168.1.103) at 00:10:57:C0:22:93 [ether] on eth0
? (192.168.1.100) at 00:90:27:F6:48:B1 [ether] on eth0
? (192.168.1.28) at * PERM PUP on eth1
? (192.168.1.248) at * PERM PUP on eth0
? (192.168.1.249) at * PERM PUP on eth0
? (192.168.1.103) at * PERM PUP on eth1
 
How ever I am unable to ping 192.168.1.103. They are on the same subnet
but physically separated by my box.


My forwarding rules are as follows

$ipchains -L -n

Chain input (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  192.168.1.0/24       0.0.0.0/0             n/a
Chain forward (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  192.168.1.0/24       0.0.0.0/0             n/a
ACCEPT     all  ------  0.0.0.0/0            192.168.1.0/24        n/a
ACCEPT     all  ------  192.168.1.0/24       0.0.0.0/0             n/a
ACCEPT     all  ------  0.0.0.0/0            192.168.1.0/24        n/a
Chain output (policy ACCEPT):
target     prot opt     source                destination           ports
ACCEPT     all  ------  0.0.0.0/0            192.168.1.0/24        n/a



Any comments welcome. 

Thanks
 




-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux