archive.today webpage capture | Saved from | ||
| Original | no other snapshots from this url | ||
| All snapshots | from host archive.org from host kb.juniper.net | ||
| WebpageScreenshot | |||
|
|
||||||||
set arp nat-dst' can be used.Public host
1.1.1.20/24
|
|
|
|
1.1.1.1/24 (NAT-Dst IP 1.1.1.100 -> Internal IP 10.1.1.100)
Public Zone
e1
|
Juniper_firewall
|
e2
Trust Zone
10.1.1.1/24
|
|
|
|
10.1.1.100/24
Internal Serverset arp nat-dst'NOTE: Option 3 is NOT applicable to ScreenOS 5.4.0r12 (and later), 6.0.0r8 (and later), 6.1.0r5 (and later), 6.2.0r2 (and later), and 6.3.0r1 (and later) because the DIP behavior has changed. (See related KB15607.)
set zone name "public"
set address "public" "1.1.1.100" 1.1.1.100 255.255.255.255
set policy from "public" to "public" "Any" "1.1.1.100" "ANY" nat dst ip 10.1.1.100 permit
One option is to create permanent static ARP entries on the upstream devices.
For this example, the upstream devices on the same segment as the Juniper Firewall need an ARP entry that maps 1.1.1.100 to the MAC address of the Juniper Firewall e1 interface. If this is not feasible, perhaps because the upstream devices are managed by another administrative team, then use Solution 2) or 3).
Enable the hidden ScreenOS command 'set arp nat-dst' on the firewall. The hidden ScreenOS command 'set arp nat-dst' may be enabled on the firewall to trigger ScreenOS to send ARP responses for NAT-DST addresses that are on the same subnet as the device’s interface. The device interface can be in any zone.
IMPORTANT: Reasons to NOT use Solution Option 2:
- The command '
set arp nat-dst' does not work in a VSYS environment. Therefore, for VSYS environments use Solution 1) or 3).- If more than a few hundred intrazone policies exist, then use solution 1) or 3) to minimize performance degradation.
- If the ScreenOS version is below version 5.4, then use solution 1) or 3).
Create a DIP pool on the ingress interface and this will allow the Juniper firewall to respond to ARP. In this example, the DIP pool consists of one address, the NAT-Dst IP address. The DIP pool only needs to be created, but not used in a policy.
For this example, when the following command is set on the firewall, the firewall will respond to ARP requests to 1.1.1.100:
set int eth1 dip 4 1.1.1.100 1.1.1.100