Stopping ARP replies on loopback interface

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

 



> > Hi all,
> > 
> >   I've been scouring the newsgroups without luck.  I need to turn off
> > ARP responses on the loopback interface(s).  I'm trying to 
> > load balance
> > a bunch of RedHat 8.0 servers via IBM's EdgeServer.  They all 
> > need to have the
> > same cluster IP address defined in their loopback interfaces, but none
> > should reply to arp requests for that IP.
> 
> 3 steps:
> 
> (a) Assign IP addresses to loopback aliases (lo:1, lo:2, ...). Make sure
> they have a 32-bit subnet-mask (255.255.255.255)
> (b) echo 1 > /proc/sys/net/ipv4/conf/all/hidden
>     echo 1 > /proc/sys/net/ipv4/conf/lo.x/hidden
> 
> >   But the file doesn't exist, and I can't create it.
> 
> Hmmm.. thats suspect. What is there in /proc/sys/net/ipv4 then?
> 
> Dheeraj
> 

Here's what's in my conf and conf/all directories (this is RedHat 8.0):

[root@bhcebiz2 ipv4]# ls -l /proc/sys/net/ipv4/conf/
total 0
dr-xr-xr-x    2 root     root            0 Nov  1 17:54 all
dr-xr-xr-x    2 root     root            0 Nov  1 17:54 default
dr-xr-xr-x    2 root     root            0 Nov  1 17:54 eth0
dr-xr-xr-x    2 root     root            0 Nov  1 17:54 lo

[root@bhcebiz2 ipv4]# ls -l /proc/sys/net/ipv4/conf/all/
total 0
-rw-r--r--    1 root     root            0 Nov  1 17:56 accept_redirects
-rw-r--r--    1 root     root            0 Nov  1 17:56 accept_source_route
-rw-r--r--    1 root     root            0 Nov  1 17:56 arp_filter
-rw-r--r--    1 root     root            0 Nov  1 17:56 bootp_relay
-rw-r--r--    1 root     root            0 Nov  1 17:56 forwarding
-rw-r--r--    1 root     root            0 Nov  1 17:56 log_martians
-r--r--r--    1 root     root            0 Nov  1 17:56 mc_forwarding
-rw-r--r--    1 root     root            0 Nov  1 17:56 medium_id
-rw-r--r--    1 root     root            0 Nov  1 17:56 proxy_arp
-rw-r--r--    1 root     root            0 Nov  1 17:56 rp_filter
-rw-r--r--    1 root     root            0 Nov  1 17:56 secure_redirects
-rw-r--r--    1 root     root            0 Nov  1 17:56 send_redirects
-rw-r--r--    1 root     root            0 Nov  1 17:56 shared_media
-rw-r--r--    1 root     root            0 Nov  1 17:56 tag

Thanks to everyone that's replied so far...
Woody

pop3.tranquility.net

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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