sh run
Building configuration...

Current configuration : 2276 bytes
!
! Last configuration change at 16:40:41 UTC Tue Mar 27 2018
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip cef
!
!
!
!
 --More--         !
!
no ip domain lookup
ipv6 unicast-routing
ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2901/K9 sn FCZ182291P7
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 10.10.10.10 255.255.255.255
!
interface Embedded-Service-Engine0/0
 --More--          no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 209.165.200.233 255.255.255.248
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
 ipv6 address FE80::1 link-local
 ipv6 address 2001:DB8:ACAD:A::/64
 ipv6 address 2001:DB8:ACAD:A::1/64
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 172.16.1.2 255.255.255.252
 ip nat inside
 ip virtual-reassembly in
 --More--          ipv6 address FE80::2 link-local
 ipv6 address 2001:DB8:ACAD:1::2/64
!
interface Serial0/0/1
 ip address 172.16.2.2 255.255.255.252
 ip nat inside
 ip virtual-reassembly in
 ipv6 address FE80::2 link-local
 ipv6 address 2001:DB8:ACAD:2::2/64
 clock rate 128000
!
router rip
 version 2
 passive-interface GigabitEthernet0/0
 passive-interface Loopback0
 network 10.0.0.0
 network 172.16.0.0
 network 209.165.200.0
 no auto-summary
!
ip forward-protocol nd
!
no ip http server
 --More--         no ip http secure-server
ip http client username webuser
ip http client password 0 15 soac1234
!
ip nat pool public_access 209.165.200.233 209.165.200.238 netmask 255.255.255.248
ip nat inside source list 21 pool public_access
ip nat inside source list 23 pool public_access
ip nat inside source static 10.10.10.10 209.165.200.234
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
access-list 21 permit 192.168.21.0 0.0.0.255
access-list 23 permit 192.168.23.0 0.0.0.255
ipv6 route 2001:DB8:ACAD:3::/64 Serial0/0/1
ipv6 route ::/0 GigabitEthernet0/0
!
!
!
control-plane
!
!
!
line con 0
 --More--         line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 login
 transport input all
!
scheduler allocate 20000 1000
!
end

R2#
R2#
R2#sh ip int bri
Interface                  IP-Address      OK? Method Status                Protocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down    
GigabitEthernet0/0         209.165.200.233 YES manual up                    up      
GigabitEthernet0/1         unassigned      YES unset  administratively down down    
Serial0/0/0                172.16.1.2      YES SLARP  up                    up      
Serial0/0/1                172.16.2.2      YES manual up                    up      
Loopback0                  10.10.10.10     YES manual up                    up      
NVI0                       209.165.200.233 YES unset  up                    up      
R2# 
R2#
R2#ipv   sh ipv6 int bri
Em0/0                  [administratively down/down]
    unassigned
GigabitEthernet0/0     [up/up]
    FE80::1
    2001:DB8:ACAD:A::
    2001:DB8:ACAD:A::1
GigabitEthernet0/1     [administratively down/down]
    unassigned
Serial0/0/0            [up/up]
    FE80::2
    2001:DB8:ACAD:1::2
Serial0/0/1            [up/up]
    FE80::2
    2001:DB8:ACAD:2::2
Loopback0              [up/up]
    unassigned
NVI0                   [up/up]
    unassigned
R2#
R2#
R2#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S*    0.0.0.0/0 is directly connected, GigabitEthernet0/0
      10.0.0.0/32 is subnetted, 1 subnets
C        10.10.10.10 is directly connected, Loopback0
      172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
C        172.16.1.0/30 is directly connected, Serial0/0/0
L        172.16.1.2/32 is directly connected, Serial0/0/0
C        172.16.2.0/30 is directly connected, Serial0/0/1
L        172.16.2.2/32 is directly connected, Serial0/0/1
R     192.168.4.0/24 [120/1] via 172.16.2.1, 00:00:02, Serial0/0/1
R     192.168.5.0/24 [120/1] via 172.16.2.1, 00:00:02, Serial0/0/1
R     192.168.6.0/24 [120/1] via 172.16.2.1, 00:00:02, Serial0/0/1
 --More--         R     192.168.21.0/24 [120/1] via 172.16.1.1, 00:00:06, Serial0/0/0
R     192.168.23.0/24 [120/1] via 172.16.1.1, 00:00:06, Serial0/0/0
R     192.168.99.0/24 [120/1] via 172.16.1.1, 00:00:06, Serial0/0/0
      209.165.200.0/24 is variably subnetted, 3 subnets, 2 masks
C        209.165.200.232/29 is directly connected, GigabitEthernet0/0
L        209.165.200.233/32 is directly connected, GigabitEthernet0/0
L        209.165.200.234/32 is directly connected, GigabitEthernet0/0
R2#
R2#
R2#sh ipv6 route
IPv6 Routing Table - default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
       IA - ISIS interarea, IS - ISIS summary, D - EIGRP, EX - EIGRP external
       ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S   ::/0 [1/0]
     via GigabitEthernet0/0, directly connected
C   2001:DB8:ACAD:1::/64 [0/0]
     via Serial0/0/0, directly connected
L   2001:DB8:ACAD:1::2/128 [0/0]
     via Serial0/0/0, receive
C   2001:DB8:ACAD:2::/64 [0/0]
     via Serial0/0/1, directly connected
L   2001:DB8:ACAD:2::2/128 [0/0]
     via Serial0/0/1, receive
S   2001:DB8:ACAD:3::/64 [1/0]
     via Serial0/0/1, directly connected
C   2001:DB8:ACAD:A::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   2001:DB8:ACAD:A::/128 [0/0]
     via GigabitEthernet0/0, receive
 --More--         L   2001:DB8:ACAD:A::1/128 [0/0]
     via GigabitEthernet0/0, receive
L   FF00::/8 [0/0]
     via Null0, receive
R2#
R2#
R2#