legacy subnetting en routing (oef1) OSPF
oefening 1:
U moet een bestaand netwerk 10.1.0.0/24 verdelen in 5 subnetten. Het grootste netwerk bevat nu al 23 hosts.
Configureer in OSPF zodat alle hosts mekaar kunnen pingen ....
sjabloon: subnetting-oef1-ospf
!config R0
enable
conf t
hostname R0
!
int gi0/0
ip addr 10.1.0.30 255.255.255.224
no shut
!
int se0/0/0
clock rate 64000
ip addr 10.255.255.1 255.255.255.252
no shut
!
int se0/0/1
clock rate 64000
ip addr 10.255.255.5 255.255.255.252
no shut
!
int se0/1/0
clock rate 64000
ip addr 10.255.255.9 255.255.255.252
no shut
!
int se0/1/1
clock rate 64000
ip addr 10.255.255.13 255.255.255.252
no shut
!
router ospf 1
network 10.1.0.0 0.0.0.31 area 0
network 10.255.255.0 0.0.0.3 area 0
network 10.255.255.4 0.0.0.3 area 0
network 10.255.255.8 0.0.0.3 area 0
network 10.255.255.12 0.0.0.3 area 0
!
do copy run start
end
show ip route
!config R1
enable
conf t
hostname R1
!
int gi0/0
ip addr 10.1.0.130 255.255.255.224
no shut
!
int se0/0/0
ip addr 10.255.255.2 255.255.255.252
no shut
!
router ospf 1
network 10.1.0.128 0.0.0.31 area 0
network 10.255.255.0 0.0.0.3 area 0
!
do copy run start
end
show ip route
!config R2
enable
conf t
hostname R2
!
int gi0/0
ip addr 10.1.0.162 255.255.255.224
no shut
!
int se0/0/0
ip addr 10.255.255.6 255.255.255.252
no shut
!
router ospf 1
network 10.1.0.160 0.0.0.31 area 0
network 10.255.255.4 0.0.0.3 area 0
!
do copy run start
end
show ip route
!config R3
enable
conf t
hostname R3
!
int gi0/0
ip addr 10.1.0.194 255.255.255.224
no shut
!
int se0/0/0
ip addr 10.255.255.10 255.255.255.252
no shut
!
router ospf 1
network 10.1.0.192 0.0.0.31 area 0
network 10.255.255.8 0.0.0.3 area 0
!
do copy run start
end
show ip route
!config R4
enable
conf t
hostname R4
!
int gi0/0
ip addr 10.1.0.226 255.255.255.224
no shut
!
int se0/0/0
ip addr 10.255.255.14 255.255.255.252
no shut
!
router ospf 1
network 10.1.0.224 0.0.0.31 area 0
network 10.255.255.12 0.0.0.3 area 0
!
do copy run start
end
show ip route