[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: arp_ignore
From:       Horms <horms () verge ! net ! au>
Date:       2007-02-22 10:17:10
Message-ID: 20070222101708.GA1488 () verge ! net ! au
[Download RAW message or body]

On Wed, Feb 21, 2007 at 03:42:05PM -0500, Mag2589 Walla wrote:
> I have a quick question.
> On my realservers I have them set up to listen to the virtual address
> on eth0:0 I need them to respond to arp on eth0 but I need them to
> ignore it on eth0:0 To do this would I enter the following line in my
> /etc/sysctl.conf file?
> 
> net.ipv4.conf.eth0:0.arp_ignore = 8

In a word: No

arp_ignore works only on physical interfaces. The old eth0:0 notation is
a hang-over from the days of ip aliases, where in a round-about way you
could establish virtual interfaces (sort of). These days an interface
can have 0 or more addresses.  The arp_ignore scemantics apply to such
addresses.

I'm not sure exactly what you are trying to do (I understand what you
describe, but I'm not sure why you want to do that, and there
may be a simple solution to your problem), but if you really
need fine-grained arp control, take a look at arptables, which is
kind of like iptables for arp.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic