no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.1.1 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 3
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/0.4
encapsulation dot1Q 4
ip address 192.168.3.1 255.255.255.0
ip address 12.12.12.1 255.255.255.0
router rip
version 2
network 12.0.0.0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
no auto-summary
!
interface FastEthernet0/1
switchport mode trunk
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 4
switchport mode access
ip address 12.12.12.2 255.255.255.0
ip nat inside
clock rate 64000
!
interface Serial0/1
ip address 23.23.23.2 255.255.255.0
ip nat outside
clock rate 64000
!
router rip
version 2
network 12.0.0.0
default-information originate
no auto-summary
!
ip nat pool cisco 23.23.23.2 23.23.23.2 netmask 255.255.255.0
ip nat inside source list 1 pool cisco overload
ip classless
ip route 0.0.0.0 0.0.0.0 23.23.23.3
!
!
access-list 1 permit 192.168.0.0 0.0.255.255