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


INTERNET ------- Router A
                   |
             192.168.0.0/30
                   |
           Linux masq/router
            |     |      |
            |     |      |
    172.16.0.0/12 |      |
                  |      |
      216.174.15.192/26  |
                         |
                216.174.14.192/26

Here's my problem.  I've got two public IP subnets that need to be routed
through the Linux masq/router to Router A and router A handles everything
from there.  Also, Router A routes packets from the 172.16.0.0/12 subnet
to about 5 other subnets, one of which is a private subnet.  That's all
fine and dandy.  The only problem is that, when the Linux box masquerades
packets that are destined for someplace outside of my IP space, it will
translate all IP addresses to 192.168.0.2, which is the address of the
ethernet card which connects to Router A.  Router A receives these packets
on 192.168.0.1 and deals with them then.

Obviously, nothing can be routed on the Internet with an IP from the
192.168.0.0/16 network, so this isn't going to work.  Does anyone know how
to make the Linux masq/router translate packet IP addrs to a particular
address, and THEN route them?

thanks in advance
-chris davis
[EMAIL PROTECTED]

_______________________________________________
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