/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */
> -----Original Message-----
> From: Jiri Kucik [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 02, 2000 1:24 AM
> To: IP Masq List
> Subject: Re: [Masq] IP Masq to virtual interfaces
>
> On Mon, 1 May 2000, Derek Murphy wrote:
>
> > > What about masquerading internal users out different
> _virtual_ interfaces
> > > (IP aliases) on the same external interface?
> >
> > A virtual or a physical i/f doesn't make any difference.
> What counts is the
> > ROUTING, and of course, the ipchains rules to
> allow/deny/reject from/to the
> > different addresses/networks...
>
> I have a Linux box with one external (eth0) and one internal
> (eth1) interfaces, both with one virtual interface (eth0:0 on
> the eth0 and
> eth1:0 on the eth1). Are these commands enough to masq two internal
> networks to two different external interfaces?
>
> ipchains -A forward -j MASQ -i eth0 -s eth1_network_address
> ipchains -A forward -j MASQ -i eth0:0 -s eth1:0_network_address
>
> I've tried it but the second masq doesn't work - why?
What does your routing table look like? (netstat -rn or route -n)
Greg
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.