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

2007-04-06 Thread Chuck
On Friday 06 April 2007 15:21, Konstantinos Pachopoulos wrote: i made a mistake:) every reference to eth1 in my examples should be eth3. sorry > // > > Hi Chuck, > i am using Debian Etch. Everything could bu useful at this point :) > > > > From: Chuck

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

2007-04-06 Thread Chuck
ok.. 1. install iproute2on the host. this is the only place it is needed. 2. on my system the tables are kept in /etc/iproute2 you only have to edit rt_tables at the bottom of the list that is included by default add 2 tables. you can call them whatever you want. each table you enter mu

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

2007-04-06 Thread Konstantinos Pachopoulos
// Hi Chuck, i am using Debian Etch. Everything could bu useful at this point :) From: Chuck > Date: Fri 06 Apr 2007 - 12:48:51 BST Message-Id: <[EMAIL PROTE

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

2007-04-06 Thread Chuck
On Friday 06 April 2007 06:28, Konstantinos Pachopoulos wrote: i ran into the same situation with 4 nics and solved it with iproute2 on the host. using simple tables and rules i was able to have the machine default gateway for eth0 yet route all various subnets through their proper nics with t

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

2007-04-06 Thread Konstantinos Pachopoulos
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

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

2007-04-06 Thread Konstantinos Pachopoulos
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