Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread Steve Kowalik
At 9:41 pm, Saturday, March 9 2002, [EMAIL PROTECTED] mumbled: > Hmm. The funky things you can do with IPTables, huh? > I knew there was a reason for it. :) > Uh, it's iproute. Even if both are very, very useful. -- Steve aj: for i in have will; do

Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread Jeff Waugh
> Answer: Get rid of the eth0 aliases and put them on the dummy interface > instead. :) Most excellent! I was hoping the best answer wouldn't have to involve iproute2. :-) Thanks heaps, - Jeff -- "And that's what it sounds like if you *download* it!" - John, They

Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread jm-slug
On 9 Mar 2002 [EMAIL PROTECTED] wrote (in parts): > can set up multiple routing tables using iproute, and all sorts of other > funky stuff. > ip route add default via 200.200.200.200 dev eth1 table isdn > ip rule add from 201.201.201.0/24 table isdn Hmm. The funky things you can do with IPTable

Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread getadog
On Sat, Mar 09, 2002 at 06:58:03PM +1100, Jeff Waugh wrote: > So, I have a machine with a number of aliases on eth0. Thus, the machine > answers on multiple IP addresses, provided by eth0, eth0:0, etc. Aliases are so passe. :) > How do I get the machine to default to using eth0 and its IP addres

Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread brad
On Sat, 2002-03-09 at 18:58, Jeff Waugh wrote: > Hey all, > > So, I have a machine with a number of aliases on eth0. Thus, the machine > answers on multiple IP addresses, provided by eth0, eth0:0, etc. > > Only trouble is, I want connections *from* the machine to go out via eth0 > (and thus its

Re: [SLUG] Connections out with interface aliases

2002-03-09 Thread brad
On Sat, 2002-03-09 at 18:58, Jeff Waugh wrote: > Hey all, > > So, I have a machine with a number of aliases on eth0. Thus, the machine > answers on multiple IP addresses, provided by eth0, eth0:0, etc. > > Only trouble is, I want connections *from* the machine to go out via eth0 > (and thus its

Re: [SLUG] Connections out with interface aliases

2002-03-08 Thread jm-slug
On Sat, 9 Mar 2002, Jeff Waugh wrote: > Hey all, > > So, I have a machine with a number of aliases on eth0. Thus, the machine > answers on multiple IP addresses, provided by eth0, eth0:0, etc. > > Only trouble is, I want connections *from* the machine to go out via eth0 > (and thus its IP addres

[SLUG] Connections out with interface aliases

2002-03-08 Thread Jeff Waugh
Hey all, So, I have a machine with a number of aliases on eth0. Thus, the machine answers on multiple IP addresses, provided by eth0, eth0:0, etc. Only trouble is, I want connections *from* the machine to go out via eth0 (and thus its IP address) only. That's easy enough for things like postfix,