R2#sh run
Building configuration...


Current configuration : 1751 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
dot11 syslog
ip source-route
!
!
ip cef
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
voice-card 0
!
!
!
!
!
archive
 log config
  hidekeys
!
!
!
!
!
!
!
!
!
interface Loopback1
 ip address 1.1.1.1 255.255.255.255
 ip nat inside
 ip virtual-reassembly
!
interface GigabitEthernet0/0
 ip address 209.165.200.30 255.255.255.248
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 ipv6 address 2001:DB8:ACAD:1::30/64
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 192.168.1.2 255.255.255.252
 ipv6 address 2001:DB8:CAFE:1::2/64
 no fair-queue
!
interface Serial0/0/1
 ip address 192.168.1.5 255.255.255.252
 ipv6 address 2001:DB8:CAFE:2::1/64
 clock rate 2000000
!
router ospf 1
 log-adjacency-changes
 network 192.168.1.0 0.0.0.3 area 0
 network 192.168.1.4 0.0.0.3 area 0
 network 209.165.200.24 0.0.0.7 area 0
 default-information originate
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
no ip http server
no ip http secure-server
!
!
ip nat pool Vlans 209.165.200.26 209.165.200.29 netmask 255.255.255.248
ip nat inside source list 1 pool Vlans
ip nat inside source static 1.1.1.1 209.165.200.30
!
access-list 1 permit 172.16.10.0 0.0.0.255
access-list 1 permit 172.16.20.0 0.0.0.255
ipv6 route ::/0 GigabitEthernet0/0
!
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
 login
!
scheduler allocate 20000 1000
end


R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0         209.165.200.30  YES manual up                    up
GigabitEthernet0/1         unassigned      YES unset  administratively down down
Serial0/0/0                192.168.1.2     YES manual up                    up
Serial0/0/1                192.168.1.5     YES manual up                    up
NVI0                       209.165.200.30  YES unset  up                    up
Loopback1                  1.1.1.1         YES manual up                    up

R2#sh ipv6 int brief
GigabitEthernet0/0         [up/up]
    FE80::21D:A1FF:FE06:B7F0
    2001:DB8:ACAD:1::30
GigabitEthernet0/1         [administratively down/down]
    unassigned
Serial0/0/0                [up/up]
    FE80::21D:A1FF:FE06:B7F0
    2001:DB8:CAFE:1::2
Serial0/0/1                [up/up]
    FE80::21D:A1FF:FE06:B7F0
    2001:DB8:CAFE:2::1
NVI0                       [up/up]
    unassigned
Loopback1                  [up/up]
    unassigned


R2#sh ip route
Codes: 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

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback1
     172.16.0.0/24 is subnetted, 4 subnets
O       172.16.30.0 [110/65] via 192.168.1.1, 01:00:12, Serial0/0/0
O       172.16.20.0 [110/65] via 192.168.1.1, 01:00:12, Serial0/0/0
O       172.16.10.0 [110/65] via 192.168.1.1, 01:00:12, Serial0/0/0
O       172.16.99.0 [110/65] via 192.168.1.1, 01:00:12, Serial0/0/0
     209.165.200.0/29 is subnetted, 1 subnets
C       209.165.200.24 is directly connected, GigabitEthernet0/0
O    192.168.0.0/24 [110/65] via 192.168.1.1, 01:00:13, Serial0/0/0
     192.168.1.0/30 is subnetted, 2 subnets
C       192.168.1.0 is directly connected, Serial0/0/0
C       192.168.1.4 is directly connected, Serial0/0/1
S*   0.0.0.0/0 is directly connected, GigabitEthernet0/0

R2#sh ipv6 route
IPv6 Routing Table - Default - 8 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
       I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
       D - EIGRP, EX - EIGRP external
       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 GigabitEthernet0/0, directly connected
L   2001:DB8:ACAD:1::30/128 [0/0]
     via GigabitEthernet0/0, receive
C   2001:DB8:CAFE:1::/64 [0/0]
     via Serial0/0/0, directly connected
L   2001:DB8:CAFE:1::2/128 [0/0]
     via Serial0/0/0, receive
C   2001:DB8:CAFE:2::/64 [0/0]
     via Serial0/0/1, directly connected
L   2001:DB8:CAFE:2::1/128 [0/0]
     via Serial0/0/1, receive
L   FF00::/8 [0/0]
     via Null0, receive
