basic dynamic routing with OSPF

- maak de hogere topologie in packettracer
- geef ip adressen
- PC1: 192.168.1.1/24
- PC3: 192.168.3.1/24
- R1 - gi0/0: 192.168.1.254/24
- R1 - se0/0/0: 10.255.255.5/30 - clock 64000
- R3 - gi0/0: 192.168.3.254
- R3 - se0/0/0: 10.255.255.6/30
- kijk naar de net-identifiers en zet ze om naar OSPF wildcard formaat
- trek de netmask decimaal af van
255.255.255.255
(of draai alle bits om) 10.255.255.4/30
>>10.255.255.4 0.0.0.3
( 255.255.255.255 - 255.255.255.252)192.168.3.0/24
>>192.168.3.0 0.0.0.255
192.168.1.0/24
>>192.168.1.0 0.0.0.255
- trek de netmask decimaal af van
- configureer ospf op beide routers
hostname R1 router ospf 1 network 10.255.255.4 0.0.0.3 area 0 network 192.168.1.0 0.0.0.255 area 0
hostname R3 router ospf 1 network 10.255.255.4 0.0.0.3 area 0 network 192.168.3.0 0.0.0.255 area 0
- test met een ping van PC1 naar PC3
PC>ping 192.168.3.1 Pinging 192.168.3.1 with 32 bytes of data: Request timed out. Reply from 192.168.3.1: bytes=32 time=1ms TTL=126 Reply from 192.168.3.1: bytes=32 time=1ms TTL=126 Reply from 192.168.3.1: bytes=32 time=3ms TTL=126
show
commands
R1#sh ip route
Gateway of last resort is not set 10.0.0.0/30 is subnetted, 1 subnets C 10.255.255.4 is directly connected, Serial0/0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0 O 192.168.3.0/24 [110/65] via 10.255.255.6, 00:20:06, Serial0/0/1
R1#show ip ospf database
OSPF Router with ID (192.168.1.254) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 192.168.1.254 192.168.1.254 1270 0x80000003 0x00e60a 3 192.168.3.254 192.168.3.254 1227 0x80000003 0x0001ea 3
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface 192.168.3.254 0 FULL/ - 00:00:35 10.255.255.6 Serial0/0/1
- download de oplossing: basic-ospf-1
- OEFENING:
voeg een derde router, R3 (ISR4331), toe -- hang deze op de tweede seriele poort van R1;
configureer R3 en de interface ser0/0/1 op R2. Zorg dat alle PC's mekaar kunnen pingen.check daarna OSPF-neighbors en OSPF-database op alle routers.
een mogelijke oplossing: ospf1