LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-HOWTO-1.0 released

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-HOWTO-1.0 released
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Mon, 05 Mar 2001 06:01:42 -0500
msteele@xxxxxxxxxxxxxxxxxxx wrote:
> 
> Hi folks, just a quick question. I've got ultramonkey setup
> and working using masquerading. My question might sound a bit
> newbie-ish, but I can't seem to figure out how to get this setup
> to work with tunneling.
> 
> Here's what I want to do, if someone can give me pointers on how
> to set it up that would be great.
> 
> I'm currently using one director machine, and one node to simplify the
> setup. Once everything is up and running, I'll add more nodes,
> and another director.
> 
> My monitor is setup with linux 2.4.0, iptables, and lvs 0.2.4
> 
> Here's the monitor's networking setup
> 
> IP: 216.218.7.2 (eth0), 10.0.0.1 (eth1)
> Floating address: 216.218.7.3
> 
> /sbin/ifconfig eth0 216.218.7.2 netmask 255.255.255.0
> /sbin/ifconfig eth1 10.0.0.1 netmask 255.0.0.0
> 
> /sbin/route add default gw 216.218.7.1 eth0
> /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
> /sbin/route add -net 10.0.0.0 netmask 255.0.0.0 eth1
> echo "Setting up masquerading"
> 
> /sbin/ifconfig eth0:0 216.218.7.3
> /usr/local/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
http://www.linuxvirtualserver.org/Documents.html#manuals

Joe
-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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