LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR, Cisco switch, and ARPtables

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: LVS-DR, Cisco switch, and ARPtables
From: Brett Simpson <simpsonb@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Dec 2004 14:02:06 -0500
On Friday 03 December 2004 11:54, Graham Purcocks wrote:
> Hmmm. I don't think this is a noarp problem.
>
> Basically, there is a howto on checking the hidden arp problem.
>
> You clear your arp table of the VIP address.
>
> arp -d 172.27.21.210
>
> Then ping 172.27.21.210
>
> then check your arp table again to see which MAC address you have. If
> the MAC address is of the director then I don't think this is your problem.
>
> noarpctl list on the RIP
>
> should go up by 1 if it blocked the arp request.
>
> Thats getting near the end of my knowledge.

I have setup a test director and realserver on a 8 port Netgear switch. I am 
unable to get Direct to work there too.

Director
# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 
1000
    link/ether 00:08:02:e1:b8:64 brd ff:ff:ff:ff:ff:ff
    inet 172.27.121.53/24 brd 172.27.121.255 scope global eth0
    inet 172.27.121.59/24 brd 172.27.121.255 scope global secondary eth0:59

# ipvsadm -L -n
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  172.21.121.59:80 rr persistent 300
  -> 172.27.121.58:80             Route   1      0          0

Realserver
# uname -a
Linux vid.hillsboroughcounty.org 2.4.21-20.0.1.ELsmp #1 SMP Wed Nov 24 
20:34:01 EST 2004 i686 i686 i386 GNU/Linux
[root@vid root]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 3)

#dmesg
noarp: version 1.2.3
noarp: registering hooks: input and output
noarp: rules updated, id 1, added 172.27.121.59 (172.27.121.58)

# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet 172.27.121.59/32 scope global lo:1
4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:08:02:df:49:16 brd ff:ff:ff:ff:ff:ff
    inet 172.27.121.58/24 brd 172.27.121.255 scope global eth0

<Prev in Thread] Current Thread [Next in Thread>