I'm trying to setup NAT with subinterfaces
Cisco 2691 Router-Fast0/0 ==> WAN
-int f0/1.1 ip 192.168.20.1/24
-int f0/1.2 ip 192.168.30.1/24
-int f0/1.3 ip 192.168.40.1/24
Here's the ???
to accomplish this shoud I:
1. int f0/1.1
ip nat source list 1
access-list 1 permit 192.168.20.0 0.0.0.255
(repeating this setup for each subinterface/access-list)
OR
2.ip nat source inside source list 1 interface Fast0/0 overload
(repeating this for each subinterface/access-list)
Any suggestions would be helpful.
Cisco 2691 Router-Fast0/0 ==> WAN
-int f0/1.1 ip 192.168.20.1/24
-int f0/1.2 ip 192.168.30.1/24
-int f0/1.3 ip 192.168.40.1/24
Here's the ???
to accomplish this shoud I:
1. int f0/1.1
ip nat source list 1
access-list 1 permit 192.168.20.0 0.0.0.255
(repeating this setup for each subinterface/access-list)
OR
2.ip nat source inside source list 1 interface Fast0/0 overload
(repeating this for each subinterface/access-list)
Any suggestions would be helpful.