yesterday I wrote:

Dave> /sbin/arp -i eth0:1 -s 207.168.228.79 00:10:F3:01:11:24 netmask 255.255.255.192 
pub


to which Bernd Eckenfels responded:

Bernd> What do u try to do with that? 

When host A goes down, I want host B to steal it's IP address.  This
is for automatic fail-over of a service that both host A and host B
can provide.

Bernd> But why do u need it, anyway?

The router through which the clients access my service will continue
to send packets to host A even after host A hangs.  I want host B to
be able to convince the router to start sending packets destined to
A's IP address to host B.

Bernd> Is the above MAC Address not the Address of your NIC?

It is host B's MAC address, so yes, it is the address of the NIC which
will be sending the arp packet.

Bernd> Alias Devices cant respond to arp, just use "-i eth0". 

That doesn't work either!  Check this out:

[root@host225 /root]# /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:F3:01:11:1F  
          inet addr:207.168.228.80  Bcast:207.168.228.127  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:49351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21914 errors:0 dropped:0 overruns:0 carrier:4
          collisions:15067 txqueuelen:100 
          Interrupt:11 Base address:0xe000 

eth0:1    Link encap:Ethernet  HWaddr 00:10:F3:01:11:1F  
          inet addr:207.168.228.79  Bcast:207.168.228.127  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xe000 

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

[root@host225 /root]# /sbin/arp -i eth0 -s 207.168.228.80 00:10:F3:01:11:1F netmask 
255.255.255.192 pub
SIOCSARP: Invalid argument
[root@host225 /root]# 
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to