/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


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?

--
Jiri Kucik, AVONET, s.r.o.

_______________________________________________
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.

Reply via email to