![](https://seccdn.libravatar.org/avatar/8cf2daa7694e65578c8c683f05152e5f.jpg?s=120&d=mm&r=g)
Volker wrote:
On Monday 19 October 2009 00:23:21 Moby wrote:
Hello listmates:
I have an openSuse 11.1 box with multiple interfaces. One of these interfaces connects to a Cisco router which then connects via DSL to my ISP. There is an ip on the Linux interface and a corresponding IP on the cisco interface (of course) and both devices are setup with a netmask of 255.255.255.248.
The default gateway for the Linux machine is set as the Cisco IP address. The Linux machine has another interface that connects to an inside network with a netmask of 255.255.255.0. The Linux machine runs iptables firewall and has ip forwarding turned on.
I noticed that the Linux machine is sending ARP requests for almost all outside traffic to the Cisco router. This is one part of the conundrum. Shouldn't the Linux machine only arp for addresses it determines are on the local network? Whenever traffic has to be forwarded out to the Internet, the Linux machine sends an ARP for the destination address before TCP session setup.
Hi Moby,
what does the routing table on your linux machine look like (/bin/ip route) ?
Regards .....Volker
Thanks for the reply Volker. Just found the problem - I had some routes set by using the dev <ifname> syntax instead of specifying the next hop IP address. Apparently this causes the machine to send out arp requests through that interface for all connections to be able to determine the next hop IP address. Once I replaced the dev <ifname> with via <next hop ip>, the arp table growth became rational again. Now my next endeavor is going to be how to launch my own script when a dhcp interface comes up, and more importantly, how to pass dhcp information (ip address, default route etc) to my custom script, but that may end up being a question for another thread. Thanks again. -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org