beautypg.com

Delete ip default route, Delete ip route

Page 25: Delete pat entry

background image

Example 1:

IP packets received with the public IP address of the router and a destination port number of 123 will
be translated to port 234 with a destination private IP address of 10.0.1.120. Here, it is assumed that
the private IP network is 10.0.1.0 with a subnet mask of 255.255.255.0.

Router> add pat entry 123

Enter Private IP Address (unspecified): 10.0.1.120

Enter Private Port Number (unspecified): 234

Example 2:

IP packets received with a destination port number not found in the Address Translation Table will be
translated to a destination private IP address of 192.168.168.121. Here, it is assumed that the private IP
network is 192.168.168.0 with a subnet mask of 255.255.255.0.

Router> add pat entry default

Enter Private IP Address (unspecified): 192.168.168.121

delete ip default route

Description: This command deletes the default route from the IP routing table. Packets normally sent
to the default router will then be discarded.

delete ip route

Description: This command deletes the static route for 204.71.220.153 from the IP routing table.

Example:

Router> delete ip route 204.71.220.153 255.255.255.0

delete ip

Description: This command deletes the IP protocol configuration from the specified interface. The
corresponding IP routing table entry for this IP address is also deleted.

delete pat entry

Description: This command deletes the specified port mapping from the Network Address Translation
Table.

delete pat entry default

Description: This command deletes the default port mapping from the Network Address Translation
Table.

disable spoofing

enable spoofing

Description: These commands enable/disable spoofing over switched connection profiles.