Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 |
ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length} [type {match-host | rotary }]
Router(config)# ip nat pool mypool 10.41.10.1 10.41.10.23 netmask 255.255.255.0
|
Defines a pool of global addresses to be allocated as needed.
|
Step 4 |
access-list access-list-number permit source-address wildcard-bits [any ]
Router(config)# access-list 100 permit 10.3.2.0 0.0.0.255 any
|
Defines a standard access list for the inside addresses that are to be translated.
|
Step 5 |
ip nat inside source list access-list-number pool name
Router(config)# ip nat inside source list 100 pool mypool
|
Establishes dynamic source translation, specifying the access list defined in the prior step.
|
Step 6 |
ip multicast-routing distributed
Router(config)# ip multicast-routing distributed
|
Enables Multicast Distributed Switching (MDS).
|
Step 7 |
interface
type number
Router(config)# interface gigabitethernet 0/0/0
|
Configures an interface and enters interface configuration mode.
|
Step 8 |
ip address ip-address mask
Router(config-if)# ip address 10.1.1.1 255.255.255.0
|
Sets a primary or secondary IP address for an interface.
|
Step 9 |
ip pim sparse-mode
Router(config-if)# ip pim sparse-mode
|
Enables sparse mode operation of Protocol Independent Multicast (PIM) on an interface.
|
Step 10 |
ip nat inside
Router(config-if)# ip nat inside
|
Indicates that the interface is connected to the inside network (the network that is subject to NAT translation).
|
Step 11 |
exit
|
Exits interface configuration mode and enters global configuration mode.
|
Step 12 |
interface
type number
Router(config)# interface gigabitethernet 0/0/1
|
Configures an interface and enters interface configuration mode.
|
Step 13 |
ip address ip-address mask
Router(config-if)# ip address 10.2.2.1 255.255.255.0
|
Sets a primary or secondary IP address for an interface.
|
Step 14 |
ip pim sparse-mode
Router(config-if)# ip pim sparse-mode
|
Enables sparse mode operation of PIM on an interface.
|
Step 15 |
ip nat outside
Router(config-if)# ip nat outside
|
Indicates that the interface is connected to the outside network.
|
Step 16 |
end
|
Exits interface configuration mode and enters privileged EXEC mode.
|