50%

🚀

6

OSPF . OSPFv2 OSPFv3.

Merion Academy


 OSPFv2  OSPFv3

:


(Default Routes)

, OSPF , . . , totally stubby area, , OSPF ABR.

, , , OSPF. default-information originate.

:

  • 0.0.0.0 OSPF, , .
  • 0.0.0.0 , . always default-information originate

1 - OSPF

1 , ATL2 , 1.

ATL2#conf t
Enter configuration commands, one per line.	End with CNTL/Z . 
ATL2 (config)#router ospf 1
ATL2 (config-router)#default-information originate always
ATL2 (config-router)#end
ATL2#

, always, , ATL2 , .

ORL:

show ip route
show ip route

OSPFv2 OSPFv3

OSPFv2, IPv6 . OSPFv3. , , OSPFv2 OSPFv3. , .

, OSPFv3 , IPv6 IPv4 .

OSPFv3, .

v2 v3 OSPF. , :

  • OSPFv3 . OSPFv3 .
  • - 32- OSPFv3, .
  • OSPF loopback , IP- loopback .
  • loopback , IP- .

:

  • OSPF 2, .
  • nonbroadcast multiaccess OSPFv3 .
  • .
  • IPv6 .
  • OSPFv3 .
  • OSPFv3; , .
  • OSPF 2, OSPFv3 .

() OSPFv3

( ) OSPFv3 .

( 0) ( 1) OSPFv3.

ATL# configuration terminal
Enter configuration commands, one per line .	End with CNTL/Z . 
ATL(config)#ipv6 unicast-routing
ATL(config)#interface fa0/0
ATL(config-if)#ipv6 address 2001:1212:1212::1/64
ATL(config-if)#ipv6 ospf 1 area 0
ATL(config-if)#interface loopback0
ATL(config-if)#ipv6 address 2001:1111:1111::1/64
ATL(config-if)#ipv6 ospf 1 area 0
ATL(config-if)#end 
ATL#

, , OSPFv2. , IPv6 . . , IPv6 , IPv6 .

:

ATL2#conf t
Enter configuration commands, one per line.	End with CNTL/Z .
ATL2 (config)#ipv6 unicast-routing
ATL2 (config)#int fa0/0
ATL2 (config-if)#ipv6 address 2001:1212:1212::2/64
ATL2 (config-if)#ipv6 ospf 1 area 0
ATL2 (config-if)#
*Mar 28 09:23 :25 .563 : %0SPFv3-5-ADJCHG: Process 1, Nbr
192.168.20.1 on FastEthernet0/0 from LOADING to FULL, Loading Done
ATL2 (config-if)#int fa1/0
ATL2 (config-if)#ipv6 address 2001:2323:2323::2/64
ATL2 (config-if)#ipv6 ospf 1 area 1
ATL2 (config-if)#end 
ATL2#

ORL#conf t
Enter configuration commands, one per line . End with CNTL/Z . 
ORL(config)#ipv6 unicast-routing
ORL(config)#int fa1/0
ORL(config-if)#ipv address 2001:2323:2323::3/64
ORL(config-if)#ipv ospf 1 area 1
ORL(config-if)#end 
ORL#

. , ORL . OSPFv2:

show ipv6 route
show ipv6 route
show ipv6 ospf neighbor
show ipv6 ospf neighbor
show ipv6 ospf database
show ipv6 ospf database

OSPFv3

OSPFv3. , IPv4 IPv6. OSPFv3:

BOS (config)#ipv6 unicast-routing
BOS (config)#router ospfv3 1
BOS (config-router)#address-family ipv6 unicast
BOS (config-router-af)#area 1 range 2001:DB8:0:0::0/128
BOS (config-router-af)#end 
BOS#conf t
BOS (config)#interface fa1/0
BOS (config-if)#ipv6 ospf 1 area 1

, (, BGP), . , OSPFv3 .


>