2000-11-30 23:27:36

by Scott Bisker

[permalink] [raw]
Subject: Arping loopback question.

Hello all.

Quick question here about an arping loopback adaptor. I've set lo to
noarp, and I've set /proc/sys/net/ipv4/conf/lo/hidden to 1. The
interface still arps for lo:0. I'm using Foundry server irons, and I
need to set the loopback interface in order for load balancing to work
properly.

After I clear the arp tables on my switches, and then ping the loopback,
I get the coresponding arp entry

sh arp
...
192.168.5.100 00:A0:CC:73:3F:4D
...


Here's the output from ifconfig.

eth1 Link encap:Ethernet HWaddr 00:A0:CC:73:3F:4D
inet addr:192.168.5.90 Bcast:192.168.5.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:173056 errors:0 dropped:0 overruns:0 frame:0
TX packets:132075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING NOARP MTU:3924 Metric:1
RX packets:33536 errors:0 dropped:0 overruns:0 frame:0
TX packets:33536 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

lo:0 Link encap:Local Loopback
inet addr:192.168.5.100 Mask:255.255.255.255
UP LOOPBACK RUNNING NOARP MTU:3924 Metric:1

I'm using 2.2.18pre22. eth1 is NetGear Gig-E adapter compiled into the
kernel. eth0 is an eepro100 compiled into the kernel.

Any ideas here?

Thanks in advance.

-sb

Scott Bisker
Lead System Engineer
e24/7 Inc.



2000-12-01 07:18:41

by Julian Anastasov

[permalink] [raw]
Subject: Re: Arping loopback question.


Hello,

On Thu, 30 Nov 2000, Scott Bisker wrote:

> noarp, and I've set /proc/sys/net/ipv4/conf/lo/hidden to 1. The

You need to change the all/ section too:

echo 1 > /proc/sys/net/ipv4/conf/all/hidden

Regards

--
Julian Anastasov <[email protected]>