Gentoo Archives: gentoo-server

From: Jeff Rooney <jtrooney@×××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] Disable ARP
Date: Mon, 15 Oct 2007 21:26:08
Message-Id: 4713D7DD.7020300@iyd.com
1 Hi everyone,
2
3 I am trying to setup some virtual IP's on a couple of servers and keep
4 running into trouble with ARP responses. What I need to do is apply an
5 ip alias to the loopback interface and disable arp responses on this
6 interface. I have done this a couple of different ways but with the same
7 result...doesn't work =/
8
9 here is what I have done:
10 # ifconfig lo:1 10.10.10.116 netmask 255.255.255.255
11 # ifconfig lo:1 -arp
12
13 When that didn;t work I tried the iproute2 path and did:
14 # ip link set lo:1 arp off
15 # ifconfig lo:1
16 lo:1 Link encap:Local Loopback
17 inet addr:10.1.10.116 Mask:255.255.255.255
18 UP LOOPBACK RUNNING NOARP MTU:16436 Metric:1
19
20 Everything appears to be set right, but it is still responding to arp
21 requests:
22 # tcpdump -n | grep arp
23 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
24 listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
25 21:25:18.686611 arp who-has 10.1.10.116 tell 10.1.10.29
26 21:25:18.686647 arp reply 10.1.10.116 is-at 00:02:b3:e9:41:3f
27
28
29 This really can't be that difficult of a task, but I have to be doing
30 something wrong here. Any suggestions would be greatly appreciated.
31 --
32 Jeff

Replies

Subject Author
Re: [gentoo-server] Disable ARP Alex Efros <powerman@××××××××××××××××××.com>
Re: [gentoo-server] Disable ARP Ramon van Alteren <ramon@××××××××××.nl>