About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 22 Sep 2005 - 01:18:39 BST


On Wed, Sep 21, 2005 at 08:09:19PM -0400, Chuck wrote:
> i will have a need for 4 nics on 4 unique networks physically
> separated so no chance of combining them on one nic.
>
> will the guests work fine on this? i know i had trouble in the past
> running a dedicated machine on multiple networks.
>
> any given guest will be a member of a single network therefore will
> access only a single nic. my concern is the host routing. previously
> when i did this only members of the networks that were not assigned
> to eth0 could reach them. the outside could not.
>
> each network of course has its own unique gateway and netmask
>
> example..
>
> the 4 nics will be required to access
>
> 64.113.32.0/23 gw 32.1
> 64.113.34.0/24 gw 34.1
> 64.113.39.0/24 gw 39.1
> 172.30.x.x/24 pvt network gw 0.1
>
> the first 3 must be reachable via the outside..
>
> can this be accomplished properly?

sure, but it's probably not the every day network
setup, so it might not be obvious for you ...

here is an example how to do source based routing
(that's what you want here) with two different
gateways (you just have to extend it to four :)

http://archives.linux-vserver.org/200311/0470.html

it is listed on the 'More Documentation' wiki page
under (Archived) Knowledge, and you might want to
take a look at the Networking stuff there too ...

> i personally cannot comprehend why the network/gateway limitations
> are there.

there are no real networking/gateway limitation,
just routing tables and priorities ... you can
have a dozent different gateways and switch them
every second if you like :)

> if each nic is on a separate network it should be able to have
> its own default gateway for that network regardless of other nics.

default gateway means: if no other rule applies,
then send it there, of course, this does not make
too much sense with more than one defaults on a
single routing table ...

HTH,
Herbert

> --
> Chuck
>
> "...and the hordes of M$*ft users descended upon me in their anger,
> and asked 'Why do you not get the viruses or the BlueScreensOfDeath
> or insecure system troubles and slowness or pay through the nose
> for an OS as *we* do?!!', and I answered...'I use Linux'. "
> The Book of John, chapter 1, page 1, and end of book
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 22 Sep 2005 - 01:19:03 BST by hypermail 2.1.3