[Vserver] routing: 2 different virtual subnets on the same machine

From: Konstantinos Pachopoulos <kostaspaxos_at_yahoo.gr>
Date: Fri 06 Apr 2007 - 11:21:24 BST
Message-ID: <46161F24.6090807@yahoo.gr>

Hi,
i have not much knowlege on routing and following other advice or trying
to follow solutions to similar cases
(http://www.freenux.org/~mm/wordpress/?p=10 for example) didn't work for
me. So here is the case:
-on my virtual box there are guests running in 2 different subnets:
192.168.1.0/24 and 192.168.2.0/24
-192.168.2.0/24 is supposed to be a DMZ.
-the virtual box has 2 interfaces: eth0 for routing 192.168.1.0/24 and
eth3 for routing 192.168.2.0/24

        ------------------------------------------------------------
        | vhost3-----vhost4 vhost1-----vhost2 |
        |__________________________________________________________|
                | |
                | 192.168.2.0/24 via eth3 | 192.168.1.0/24 via eth0
                | |
                |--------| |--------
                         | |
192.168.2.0/24 DMZ: | | 192.168.1.0/24 outcoming
for Wireless WAN | | wireless WAN and
and Internet in-/ | | outcoming Internet connections
outcoming connections ------------------------
                                    |
                                          router ----> wireless wan / Internet

I just want the 192.168.2.0/24 to be routed via eth3 and 192.168.1.0/24
via eth0. The router/firewall will take over afterwards.
Suggestions?
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Apr 6 12:31:06 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 06 Apr 2007 - 12:31:10 BST by hypermail 2.1.8