Re: Lars' method???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks Lon for the pointers. I've tried so many different methods just
to get this to work: lvs-dr, lvs-nat with 2 nics, no go.. I can't seem
to get anything to work.

so i'm doing serious google searches, and there's sooo many how-tos
that tell you to do this, or do that, etc. and i'm like well which
one? I'm on one now, that says for nat, create a copy of the eth1
(private IP nic) eth1:1 and assign 192.168.0.254, and use that as the
default gateway for all the RIP... is this true?

Thing is, i have to manually copy the eth1 file to eth1:1 and assign
the IP, yet with the virtual IP, eth0:1 is created automatically... so
this makes me believe something is wrong.

I use pulse / piranha: what tools can I use to test and see if web
traffic IS going to the RIP or not???

thanks!

Will

On Jan 3, 2008 10:49 AM, Lon Hohberger <lhh@xxxxxxxxxx> wrote:
> On Wed, 2008-01-02 at 19:58 -0500, William Ottley wrote:
> > Hello all,
> > I'm hoping that this layout here will make it easy for anyone to
> > figure out what booboo i've done?
> > I'm attempting to use Lars' method, since i really don't know how to
> > setup with only 1 (gateways have confused me)
> >
> > i just can't get anything working...
> >
> > client: 192.168.2.10 -> 192.168.2.1 via crossover cable (ping OK)
> > web browser is pointed to 192.168.2.100
> >
> > LVS (centos 5.1, pulse, piranha):
> > eth0: 192.168.2.1/gw {none}
> > eth1: 192.168.0.111/gw 192.168.0.1
> > eth0:1 - 192.168.2.100 {VIP}
> >
> > echo 1 > /proc/sys/net/ipv4/ip_forward
> >
> > no iptables is running, httpd default port is 8080, and piranha_GUI is
> > listening at 3636
>
> When using NAT, do not do the lo:0 hack.  That's for direct routing
> only.
>
> You should not be using a nat_router ip/device unless you have two LVS
> directors.
>
> https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/cluster-suite/s1-piranha-globalset.html
>
> -- Lon
>
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
>



-- 
---------------
Morpheus: After this, there is no turning back. You take the blue pill
- the story ends, you wake up in your bed and believe whatever you
want to believe. You take the red pill - you stay in Wonderland and I
show you how deep the rabbit-hole goes.

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux