Thanks Tom, for your work. I''m headed out to finish a transition at one of my clients, I''ve wanted to create a particular setup which is fairly non standard. So this is a general question (So I know whether to post more info and the configs). I''m assuming this is a yes or no question. I have two RFC 1918 subnets: eth0 192.168.0.0 eth3 192.168.1.0 And two ISPs: eth1 <ISP1> eth2 <ISP2> I want to accomplish the following with NAT: 192.168.0.0 --> <ISP1> 192.168.1.0 --> <ISP2> Is this possible? No balancing, just straight NAT. -- Michael Cozzi cozzi@cozziconsulting.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Michael Cozzi wrote:> Thanks Tom, for your work. > > I''m headed out to finish a transition at one of my clients, I''ve > wanted to create a particular setup which is fairly non standard. So > this is a general question (So I know whether to post more info and the > configs). I''m assuming this is a yes or no question. > > I have two RFC 1918 subnets: > > eth0 192.168.0.0 > eth3 192.168.1.0 > > And two ISPs: > > eth1 <ISP1> > eth2 <ISP2> > > I want to accomplish the following with NAT: > > 192.168.0.0 --> <ISP1> > 192.168.1.0 --> <ISP2> > > Is this possible? No balancing, just straight NAT. >No. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Tom Eastep wrote:> Michael Cozzi wrote: >> Thanks Tom, for your work. >> >> I''m headed out to finish a transition at one of my clients, I''ve >> wanted to create a particular setup which is fairly non standard. So >> this is a general question (So I know whether to post more info and the >> configs). I''m assuming this is a yes or no question. >> >> I have two RFC 1918 subnets: >> >> eth0 192.168.0.0 >> eth3 192.168.1.0 >> >> And two ISPs: >> >> eth1 <ISP1> >> eth2 <ISP2> >> >> I want to accomplish the following with NAT: >> >> 192.168.0.0 --> <ISP1> >> 192.168.1.0 --> <ISP2> >> >> Is this possible? No balancing, just straight NAT. >> > > No. >That is to so, you *must* use multi-ISP and you must arrange *using routing* for 192.168.0.0 to be routed out of ISP1 and 192.168.1.0 to be routed out of ISP2. I would use entries in /etc/shorewall/route_rules to do that. You use NAT (entries in /etc/shorewall/masq) to cause the source IP address to be re-written -- *that is all that NAT does -- it does not route packets anywhere*. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/