I.Mô hình
II. Yêu cầu
Ø
Triển
khai IP và đặt IP cho các cổng
Ø
Cấu
hình Vlan ,R0 cấp IP động cho từng Vlan
Ø
Định
tuyến EIGRP AS100 cho vùng kết nối R0,R1
Ø
Định
tuyến OSPF AS 1 AREA 0 cho vùng R3,R4,R5
Ø
Quảng
bá định tuyến cho các vùng liên lac được với nhau tại R2
III.Cấu hình
hostname R1
!
ip dhcp pool
LAN172
network 172.16.0.0 255.255.240.0
default-router 172.16.15.254
dns-server 8.8.8.8
!
interface
FastEthernet0/0
ip address 172.16.15.254 255.255.240.0
duplex auto
speed auto
!
interface
Serial0/0
ip address 200.200.200.81 255.255.255.252
clock rate 64000
!
router eigrp
100
network 172.16.0.0
network 200.200.200.0
no auto-summary
hostname R0
!
ip dhcp pool
2
network 192.168.1.0 255.255.255.192
default-router 192.168.1.62
dns-server 8.8.8.8
ip dhcp pool
3
network 192.168.1.64 255.255.255.192
default-router 192.168.1.126
dns-server 8.8.8.8
ip dhcp pool
4
network 192.168.1.128 255.255.255.192
default-router 192.168.1.190
dns-server 8.8.8.8
!
interface
FastEthernet0/0.100
encapsulation dot1Q 2
ip address 192.168.1.62 255.255.255.192
!
interface
FastEthernet0/0.110
encapsulation dot1Q 3
ip address 192.168.1.126 255.255.255.192
!
interface
FastEthernet0/0.111
encapsulation dot1Q 4
ip address 192.168.1.190 255.255.255.192
!
interface
Serial0/0
ip address 200.200.200.82 255.255.255.252
!
interface
Serial0/1
ip address 220.220.220.1 255.255.255.252
clock rate 64000
!
router eigrp
100
network 192.168.1.0
network 220.220.220.0
network 200.200.200.0
no auto-summary
Switch#sho
vlan
VLAN
Name
Status Ports
----
-------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gig1/1,
Gig1/2
2 Nhamsu active Fa0/5, Fa0/6, Fa0/7, Fa0/8, Fa0/9
3 Kinhdoanh active Fa0/10, Fa0/11, Fa0/12, Fa0/13, Fa0/14
4 Ketoan active Fa0/15, Fa0/16, Fa0/17, Fa0/18, Fa0/19,
Fa0/20
hostname R5
ip
dhcp pool LAN192
network 192.168.200.0 255.255.255.224
default-router 192.168.200.30
dns-server 8.8.8.8
!
interface
FastEthernet0/0
ip address 192.168.200.30 255.255.255.224
duplex auto
speed auto
!
interface
Serial0/0
ip address 192.168.100.1 255.255.255.248
clock rate 64000
!
router
ospf 1
log-adjacency-changes
network 192.168.200.0 0.0.0.31 area 0
network 192.168.100.0 0.0.0.7 area 0
hostname R4
!
ip dhcp pool
LAN10
network 10.0.0.0 255.255.255.192
default-router 10.0.0.62
dns-server 8.8.8.8
!
interface
FastEthernet0/0
ip address 10.0.0.62 255.255.255.192
duplex auto
speed auto
!
interface
Serial0/0
ip address 192.168.100.34 255.255.255.248
!!
router ospf 1
log-adjacency-changes
network 192.168.100.32 0.0.0.7 area 0
network 10.0.0.0 0.0.0.63 area 0
hostname R3
!
interface
Serial0/0
ip address 210.210.210.2 255.255.255.252
!
interface
Serial0/1
ip address 192.168.100.2 255.255.255.248
!
interface
Serial0/2
ip address 192.168.100.33 255.255.255.248
clock rate 2000000
!
router ospf 1
log-adjacency-changes
network 192.168.100.0 0.0.0.7 area 0
network 192.168.100.32 0.0.0.7 area 0
network 210.210.210.0 0.0.0.3 area 0
!
hostname R2
!
interface Serial0/0
ip address 220.220.220.2 255.255.255.252
!
interface Serial0/1
ip address 210.210.210.1 255.255.255.252
clock rate 64000
!!
router eigrp 100
redistribute ospf 1 metric 1544 20000 255 1
1500
network 220.220.220.0
auto-summary
!
router ospf 1
log-adjacency-changes
redistribute eigrp 100 metric 1 subnets
network 210.210.210.0 0.0.0.3 area 0
!
IV. Show