Sei sulla pagina 1di 4

Data Communication and Computer Networks

DCCN-EEE314

Lab Report No. 9


DHCP and NAT configuration

Class: BET – 6 - (A)

Name: Marryam Nawaz

Registration No. Sp12-BET-043

Lab Instructor: Sajid Ali Gillal

COMSATS Institute of Information Technology (CIIT)

Islamabad Campus
Network Model

PDU List
Pinging

On Router 4
Router#show run shutdown
Building configuration... !
interface Serial0/0/0
Current configuration : 1509 bytes ip address 192.43.43.71 255.255.255.224
! ip nat inside
version 12.4 clock rate 64000
no service timestamps log datetime msec !
no service timestamps debug datetime msec interface Serial0/0/1
no service password-encryption ip address 192.43.43.225 255.255.255.224
! ip nat outside
hostname Router clock rate 64000
! !
spanning-tree mode pvst interface Serial0/1/0
! ip address 192. 43. 43.171 255.255.255.224
interface FastEthernet0/0 clock rate 64000
ip address 192.43.43.200 255.255.255.224 !
ip nat inside interface Serial0/1/1
duplex auto ip address 192. 43. 43.101 255.255.255.224
speed auto clock rate 64000
! !
interface FastEthernet0/1 interface Vlan1
no ip address no ip address
duplex auto shutdown
speed auto !
router ospf 1 ip route 0.0.0.0 0.0.0.0 192.43.43.226
log-adjacency-changes !
network 192.43.43.96 0.0.0.31 area 0 ip access-list extended NAT
network 192.43.43.160 0.0.0.31 area 0 permit ip 192.43.43.0 0.0.0.31 any
network 192.43.43.64 0.0.0.31 area 0 permit ip 192.43.43.32 0.0.0.31 any
network 192.43.43.192 0.0.0.31 area 0 permit ip 192.43.43.128 0.0.0.31 any
network 192.43.43.224 0.0.0.31 area 0 !
default-information originate line con 0
! !
ip nat pool MY-NAT-POOL 192.43.43.224 line aux 0
192.43.43.255 netmask 255.255.255.224 !
ip nat inside source list NAT pool MY-NAT-POOL line vty 0 4
ip nat inside source static 192.43.43.128 login
192.43.43.224 !
ip classless End

Potrebbero piacerti anche