LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS + Xen + NAT

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS + Xen + NAT
From: Josh Mullis <josh.mullis@xxxxxxx>
Date: Wed, 17 Sep 2008 11:05:26 -0400
This is a very basic setup.

Thought maybe this award -winning diagram would help clear up any
confusion.
_____________
| 10.0.0.5 client |
------------------
      |
      |    <---DNS request to 10.0.0.80
 __|___________________
|   10.0.0.80  eth0                 | <---
|              |                                    |       |
|              |                                    |       |    Xen
|   192.168.122.1   NAT GW   |  <--|-PHYSICAL BOX
|              |                                    |       |      (Set
to forward traffic on 
|              |                                    |       |
10.0.0.8:53 to 192.168.122.10:53 )
|              |                                    |       |
|   192.168.122.10  VM eth0 | <---|
-------------------------


It seems as if I'm only missing a setting or two.
The traffic still gets to the vm, but just can't seem to make it back
out through the NAT.

Anyone?






On Fri, 2008-09-12 at 16:17 -0400, Josh Mullis wrote:
> MY SETUP:
> 
> - 1 physical server running as Xen Dom0 (Director)
>         -LAN ip: 10.0.0.80
>         -NAT ip: 192.168.122.1
>                 -Natting is setup thorugh default xen network scripts
> 
>         -ipvsadm -A -t 10.0.0.80:53 -s rr
>         -ipvsadm -a -t 10.0.0.80:53 -r 192.168.122.10:53 -m
>         -ipvsadm -A -u 10.0.0.80:53 -s rr
>         -ipvsadm -a -u 10.0.0.80:53 -r 192.168.122.10:53 -m
> 
> 
> - 1 domU (realserver) on this box (Will add others in the future)
>         -ip: 192.168.122.10
>         -gw: 192.168.122.1
>         -running BIND
> 
> 
> MY PROBLEM:
> 
> >From a host on the 10.0.0.0 network, I can do a dig @10.0.0.80 and do
> not get a response.
> I do however see the traffic on the 192.168.122.10 virtual machine
> from
> this host on the 10.0.0.0.
> 
> 
> Any help is appreciated.
> 
> Thanks
> -Josh
> 
> 
> 
> 
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> 
> 

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>