Re: [Vserver] routing question

2005-10-23 Thread Herbert Poetzl
On Sat, Oct 22, 2005 at 09:46:46PM +0200, Guenther Fuchs wrote: Hi there, have a bit of problem here with setting up the proper routing for a special environment / requirement: I've here a dual-homed system which mainly should only be available to an internal net. Base host therefore hase

Re: [Vserver] routing question

2005-10-23 Thread Ola Lundqvist
Hello This is how I do it: You may be able to get ideas from it... #!/bin/sh - /usr/local/sbin/iptables-base $1 LOCNET=192.168.0 #SNATIPS=$LOCNET.0/24 #SNATIPS=$(ifconfig | grep inet addr: | grep Bcast:$LOCNET.255 | grep -v inet addr:$LOCNET.1[[:space:]] | sed -e s/.*inet

[Vserver] routing question

2005-10-22 Thread Guenther Fuchs
Hi there, have a bit of problem here with setting up the proper routing for a special environment / requirement: I've here a dual-homed system which mainly should only be available to an internal net. Base host therefore hase no external IP (and shall not), all requests to external shall be

Re: [Vserver] routing question

2005-10-22 Thread Oliver Welter
Hi Guenther, Now the prob: There should be set up _one_ host with also internal _and_ external IP (on eth0) which should externally use a different gw and also which should not change anything on the base setup. But if I activate _any_ external IP on eth0 the (previous) default route for eth1

Re: [Vserver] routing question

2005-10-22 Thread Chuck
On Saturday 22 October 2005 03:46 pm, Guenther Fuchs wrote: I would thnk you could do this using iproute2 with tables and rulesets Hi there, have a bit of problem here with setting up the proper routing for a special environment / requirement: I've here a dual-homed system which mainly

Re: [Vserver] routing question

2005-10-22 Thread Guenther Fuchs
Hi there, on Saturday, October 22, 2005 at 21:57 on the list was posted: You have to work around this with NATing and PREROUTING rules on the host - if it is possible to not give an external IP to the host yo would have easier live with NATing outside to a internal IP... Interesting

Re: [Vserver] routing question

2005-10-22 Thread Guenther Fuchs
Hi there, on Saturday, October 22, 2005 at 23:07 on the list was posted: I would thnk you could do this using iproute2 with tables and rulesets Okay, do you have any links for me on that? Any howto or so which describes e.g. some similar setup maybe? -- regards, Guenther Fuchs

Re: [Vserver] routing question

2005-10-22 Thread Oliver Welter
Hi Guenther, Interesting approach, but this breaks the thought of a dual-homed proxy I guess. Thank's anyway for thinking 'bout. What I would really love is a hack to get the networking done on a per-context basis but I guess this is a which for x.mas in 20 years ;-) Not really - If I

Re: [Vserver] routing question

2005-10-22 Thread Chuck
On Saturday 22 October 2005 05:25 pm, Guenther Fuchs wrote: will gather some tutorial links on iproute2 and place them in here.. which distro are you running Hi there, on Saturday, October 22, 2005 at 23:07 on the list was posted: I would thnk you could do this using iproute2 with

Re: [Vserver] routing question

2005-10-22 Thread Guenther Fuchs
Hi there, on Sunday, October 23, 2005 at 01:09 on the list was posted: which distro are you running Mainly FC4 - but can work out differences ;-) -- regards, Guenther Fuchs ___ Vserver mailing list Vserver@list.linux-vserver.org

Re: [Vserver] routing question

2005-10-22 Thread Chuck
On Saturday 22 October 2005 07:09 pm, Chuck wrote: On Saturday 22 October 2005 05:25 pm, Guenther Fuchs wrote: will gather some tutorial links on iproute2 and place them in here.. which distro are you running Hi there, on Saturday, October 22, 2005 at 23:07 on the list was