-----BEGIN PGP SIGNED MESSAGE-----
They say the fastest way to solve a problem is ask someone else for
help, and right after doing that you realize what the problem is.
I am in the process of setting up Linux Virtual Server. My setup is
1) A virtual machine with two (virtual) network cards. One is host only
and one is bridged. This serves as a router and LVS machine. I am
running Ubuntu Feisty 7.07.
2) 2 virtual machines each with two (virtual) network cards. One host
only and one bridged. They are also running Ubuntu Feisty 7.07.
My goal is a 2 node NAT LVS setup to serve up HTTP pages.
Here is my script to create the pool:
#Clear out current state
ipvsadm -A -t 10.7.9.50:80
ipvsadm -a -t 10.7.9.50:80 -r 172.16.66.3:80 -m
As you can see I am trying to keep it simple and start out with a single
node. That way I just have 2 systems to look at and always know where
to look at logs or run tcpdump etc.
And here is my ipvsadm output:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 10.7.9.50:www wlc
-> dev-vpn01.wyble.home:www Masq 1 0 0
My /etc/hosts files contain:
127.0.1.1 dev-vpn-router.localdomain dev-vpn-router
172.16.66.3 dev-vpn01.wyble.home dev-vpn01
172.16.66.4 dev-vpn02.wyble.home dev-vpn02
The default gateway on dev-vpn01 is 10.7.9.50
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
10.7.9.0 * 255.255.255.0 U 0 0 0 eth0
172.16.66.0 * 255.255.255.0 U 0 0 0 eth1
default 10.7.9.50 0.0.0.0 UG 0 0 0 eth0
I have full connectivity between the machines. I can ping, ssh both
ways. My test client can ping and ssh to all the involved ip addresses.
I have run tcpdump and see traffic getting passed around in what appears
to be the right direction.
Not sure where to go from here. I have been attempting to follow the
Is there any other documentation or specific parts of the official LVS
documentation I should be examining?
Thank you all so much for your help with this problem. :)
Charles N Wyble charles@xxxxxxxxxxxxx (818) 280 7059
President and CEO of Known Element Enterprises and affiliated companies.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----