Skip to main content

 

Cisco Meraki Documentation

1:1 NAT Rules not working properly after installing MX

There are circumstances where 1:1 NAT rules won't work after installing an MX. This commonly occurs after replacing a firewall with an MX Security Appliance, because the upstream modem or router has not updated its ARP table and needs to be restarted or cleared. The upstream modem/router handles the packets that are being forwarded to the MX that are not addressed to the public address of the MX.

For more information on the ARP protocol refer to this article.

For more information on 1:1 NAT configuration on the MX security appliance refer to our product documentation.

 

In this example the MX will be replacing a third party firewall with current active 1:1 NAT rules using multiple public IP addresses. The MX is currently configured with the IP addresses of the previous firewall and 1:1 NAT rules as shown in the figure below: 

1 to 1 NAT rule sample configuration showing an example configuration with multiple TCP ports allowed inbound

 

If the upstream router or modem does not have its ARP table cleared, it will attempt to send requests to the previous third party firewall MAC address. However, the MX will ignore this packet if the upstream modem or router is not restarted. This can be illustrated by the capture and diagram below:

Packet capture screenshot showing only ICMP requests outbound

 

Topology detailing ICMP flows with an incorrect MAC address

 

Once the upstream device ARP tables are cleared, or it is restarted, the ARP will resolve correctly and the requests will now be forwarded with the correct MAC address, allowing the 1:1 NAT to function. This is shown in the following diagram and captures of both the Internet and LAN interfaces of the MX:

 

Packet capture screenshot showing bidirectional ICMP flows on the LAN interface of the MX

 

Packet capture screenshot showing bidirectional ICMP flows on the internet interface of the MX

 

Topology detailing ICMP flows with a correct MAC address

 

  • Was this article helpful?