CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > NAT (Network Address Translation)
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2005-08-14
Administrator
 
Join Date: 2005-08-11
Location: San Francisco, CA
Posts: 582
Rep Power: 10
BarryStiefel has disabled reputation
Default NAT for machine on a different subnet

NAT for machine on a different subnet

Contributed by BenSmith
Published in geeklog Tuesday, June 24 2003 @ 01:27 PM EST
Published in oldfaq 2002-Nov-11 00:31 dwelchATphoneboyDOTcom



Consider the following network:

| L| o| c| a| --------- -------- ---- l| 126.0.10.98 | Fire | 206.99.98.1 | | |CSU | MCI |-------------| |-----------------| Router |----| |----------- N| | Wall | | | |DSU | e| |_________| |________| |____| t| | | | 126 | 126.0.10.50 . | -------- | 126 0 |------|Web serv| | . . | -------- | 0 10 | | . . | 126.0.10.254 ------- 126.0.50.254 | 50 0 |-------------------|Router |--------------| . | ------- | 0 | | | ----- | ----- |------|Mail | |------| X | | ----- | ----- | | 126.0.50.101 | --- |______| X | | |___|
  • Illegal address 126.0.10.50 is being mapped to legal address 206.99.98.2.
  • Illegal address 126.0.50.101 is being mapped to legal address 206.99.98.102.

A special route needs to be added for each destination static addresses. A route can be added for 206.99.98.2:


route add 206.99.98.2 126.0.10.50 1

...but not for 206.99.98.102...

route add 206.99.98.102 126.0.50.101 3

The following error is given:

add host 206.99.98.102: gateway 126.0.50.101: Network is unreachable

This is because you can only add a route with a gateway which can be reached immediately by the current machine. Some people like to refer to it as the next-hop gateway. In you case, the next-hop gateway from the firewall machine to 126.0.50.101 is the router 126.0.10.254 Therefore, you will have to use the route command:

route add 206.99.98.102 126.0.10.254 1

-- RayLodato - 07 Jan 2004

FAQForm FAQs.Class: NetworkAddressTranslationFAQs FAQs.OS: FAQs.Version:
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 12:50.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0