LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR, Cisco switch, and ARPtables

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR, Cisco switch, and ARPtables
From: Graham Purcocks <grahamp@xxxxxxxxxxxxx>
Date: Fri, 03 Dec 2004 15:51:34 +0000
What does

noarpctl list

say?

Also you have 172.27.21.212 configured on 2 devices bond0 and eth1. Why?
I don't understand what bond0 is. Sorry.

FYI. noarp works on RHES3.0 now at our site for over 12 months with no issues at all, ever, on any machine.

Graham

Brett Simpson wrote:
On Friday 03 December 2004 09:09, Graham Purcocks wrote:

I forgot about this. Sorry. I can fix this for you.

Simplest solution is to edit /usr/src/linux/include/linux/version.h

Remove all the UTS_RELEASE definitions but the kernel you want i.e. the
smp line in your case.


Ahh.. Now it compile and installs fine. I configured it and it worked for about an hour and now it's not working.

My director (Proxy1) sends requests via DirectRoute to Proxy2. Proxy2 has the following configuration:

/sbin/modprobe noarp
noarpctl add 172.27.21.210 172.27.21.212
ifconfig lo:1 172.27.21.210 netmask 255.255.255.255
[root@proxy2 keepalived]# 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.21.210/32 scope global lo:1
4: bond0: <BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue
    link/ether 00:0b:cd:ee:11:cb brd ff:ff:ff:ff:ff:ff
    inet 172.27.21.212/24 brd 172.27.21.255 scope global bond0
5: eth0: <BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether 00:0b:cd:ee:11:cb brd ff:ff:ff:ff:ff:ff
    inet 172.27.21.212/24 brd 172.27.21.255 scope global eth0
6: eth1: <BROADCAST,MULTICAST,NOARP,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether 00:0b:cd:ee:11:cb brd ff:ff:ff:ff:ff:ff
    inet 172.27.21.212/24 brd 172.27.21.255 scope global eth1

Proxy1 has the following configuration:

[root@proxy1 apps]# ipvsadm -L -n
IP Virtual Server version 1.0.8 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  172.27.21.210:0 rr persistent 3600
  -> 172.27.21.212:0              Route   1      0          15

[root@proxy1 apps]# 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
4: bond0: <BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue
    link/ether 00:0e:7f:23:ad:07 brd ff:ff:ff:ff:ff:ff
    inet 172.27.21.211/24 brd 172.27.21.255 scope global bond0
    inet 172.27.21.210/24 scope global secondary bond0
5: eth0: <BROADCAST,MULTICAST,NOARP,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether 00:0e:7f:23:ad:07 brd ff:ff:ff:ff:ff:ff
    inet 172.27.21.211/24 brd 172.27.21.255 scope global eth0
6: eth1: <BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000
    link/ether 00:0e:7f:23:ad:07 brd ff:ff:ff:ff:ff:ff
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users




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