Michael Fox <[EMAIL PROTECTED]> wrote:
>
> My question is, could I add an alias on eth0:0 say 203.41.122.130
> (NAT-syd.mafnet.com) and force the masquared clients to make them look like
> they are coming over that fake interface? I have played with some of the
> ipchains commands, but have failed to make it work.

Um, for it to work, packets to 203.41.122.130 must actually be routed to that
machine in question.  If this is already done, just set an alias with the 130
address, and then using policy routing you can setup a separate routing table
for traffic from eth1 and route them through your 130 interface.  The
masquerading will take care of the rest.

Though I'm not sure whether this is what you want to do since you seem to be
implying that packets from 192.168.* is going through your PPP interface,
while what you said in the above paragraph only makes sense if you're
pumping them out of eth0 unless you're doing some naughty asymmetric
routing :)
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to