Single-Area OSPF: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→R1) |
|||
| Zeile 41: | Zeile 41: | ||
172.16.0.2 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet1/0 | 172.16.0.2 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet1/0 | ||
172.16.0.3 1 FULL/DR 00:00:36 172.16.0.3 FastEthernet1/0 | 172.16.0.3 1 FULL/DR 00:00:36 172.16.0.3 FastEthernet1/0 | ||
| + | </pre> | ||
| + | *show ip route | ||
| + | <pre> | ||
| + | Codes: 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 | ||
| + | |||
| + | Gateway of last resort is not set | ||
| + | |||
| + | 172.16.0.0/24 is subnetted, 1 subnets | ||
| + | C 172.16.0.0 is directly connected, FastEthernet1/0 | ||
| + | 10.0.0.0/24 is subnetted, 3 subnets | ||
| + | O 10.2.0.0 [110/2] via 172.16.0.2, 00:16:55, FastEthernet1/0 | ||
| + | O 10.3.0.0 [110/2] via 172.16.0.3, 00:16:55, FastEthernet1/0 | ||
| + | C 10.1.0.0 is directly connected, FastEthernet0/0 | ||
</pre> | </pre> | ||
Version vom 4. November 2021, 15:14 Uhr
Setup
IP Konfiguration
R1
interface FastEthernet0/0 ip address 10.1.0.1 255.255.255.0
interface FastEthernet1/0 ip address 172.16.0.1 255.255.255.0
R2
interface FastEthernet0/0 ip address 10.2.0.1 255.255.255.0
interface FastEthernet1/0 ip address 172.16.0.2 255.255.255.0
R3
interface FastEthernet0/0 ip address 10.3.0.1 255.255.255.0
interface FastEthernet1/0 ip address 172.16.0.3 255.255.255.0
OSPF Konfiguration
R1
router ospf 1 network 10.1.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50
R2
router ospf 1 network 10.2.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50
R3
router ospf 1 network 10.3.0.0 0.0.0.255 area 50 network 172.16.0.0 0.0.0.255 area 50
OSPF Überprüfen
R1
- show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface 172.16.0.2 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet1/0 172.16.0.3 1 FULL/DR 00:00:36 172.16.0.3 FastEthernet1/0
- show ip route
Codes: 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
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.0.0 is directly connected, FastEthernet1/0
10.0.0.0/24 is subnetted, 3 subnets
O 10.2.0.0 [110/2] via 172.16.0.2, 00:16:55, FastEthernet1/0
O 10.3.0.0 [110/2] via 172.16.0.3, 00:16:55, FastEthernet1/0
C 10.1.0.0 is directly connected, FastEthernet0/0
