
!
username webuser privilege 15 secret 5 $1$0FZu$5l6lgmGkVjbcTPtNbXwlq1
!
!
!
!
!
!
interface Loopback1
 ip address 1.1.1.1 255.255.255.255
 ip nat inside
 ip virtual-reassembly in
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 209.165.200.33 255.255.255.248
 ip nat outside
 ip virtual-reassembly in
 duplex auto
 speed auto
 ipv6 address 2001:DB8:ACAD:1::33/64
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 192.168.1.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly in
 ipv6 address 2001:DB8:CAFE:1::1/64
 clock rate 2000000
!
interface Serial0/0/1
 ip address 192.168.1.5 255.255.255.252
 ip nat inside
 ip virtual-reassembly in
 ipv6 address 2001:DB8:CAFE:2::3/64
 clock rate 128000
!
interface Serial0/1/0
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/1/1
 no ip address
 shutdown
 clock rate 2000000
!
router ospf 1
 router-id 2.2.2.2
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.1.0 0.0.0.3 area 0
 network 192.168.1.4 0.0.0.3 area 0
!
ip forward-protocol nd
!
ip http server
ip http authentication local
no ip http secure-server
!
ip nat pool INTERNET 209.165.200.26 209.165.200.29 netmask 255.255.255.248
ip nat inside source list 1 pool INTERNET
ip nat inside source static 1.1.1.1 209.165.200.29
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
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 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#sh run



R2#sh run
R2#sh ip int br
Interface                  IP-Address      OK? Method Status                Prot
ocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down

GigabitEthernet0/0         209.165.200.33  YES manual up                    up

GigabitEthernet0/1         unassigned      YES unset  administratively down down

Serial0/0/0                192.168.1.1     YES manual up                    up

Serial0/0/1                192.168.1.5     YES manual up                    up

Serial0/1/0                unassigned      YES unset  administratively down down

Serial0/1/1                unassigned      YES unset  administratively down down

Loopback1                  1.1.1.1         YES manual up                    up

NVI0                       209.165.200.33  YES unset  up                    up

R2#



2#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
      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback1
      192.168.1.0/24 is variably subnetted, 4 subnets, 2 masks
C        192.168.1.0/30 is directly connected, Serial0/0/0
L        192.168.1.1/32 is directly connected, Serial0/0/0
C        192.168.1.4/30 is directly connected, Serial0/0/1
L        192.168.1.5/32 is directly connected, Serial0/0/1
      209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks
C        209.165.200.32/29 is directly connected, GigabitEthernet0/0
L        209.165.200.33/32 is directly connected, GigabitEthernet0/0
R2#


