华为路由器OSPF动态链路路由协议配置

R1配置

interface GigabitEthernet0/0/0
 ip address 10.1.12.1 255.255.255.252 


interface LoopBack0
 ip address 1.1.1.1 255.255.255.255 

ospf 1 router-id 1.1.1.1 
 area 0.0.0.0 
  network 1.1.1.1 0.0.0.0 
  network 10.1.12.0 0.0.0.3 

R2配置

interface GigabitEthernet0/0/0
 ip address 10.1.12.2 255.255.255.252 

interface GigabitEthernet0/0/1
 ip address 10.1.23.1 255.255.255.252 

interface LoopBack0
 ip address 2.2.2.2 255.255.255.255 

ospf 1 router-id 2.2.2.2 
 area 0.0.0.0 
  network 10.1.12.0 0.0.0.3 
 area 0.0.0.1 
  network 10.1.23.0 0.0.0.3 

R3配置

interface GigabitEthernet0/0/0
 ip address 10.1.23.2 255.255.255.252 

interface LoopBack0
 ip address 3.3.3.3 255.255.255.255 

ospf 1 router-id 3.3.3.3 
 area 0.0.0.1 
  network 3.3.3.3 0.0.0.0 
  network 10.1.23.0 0.0.0.3 

整体架构图

华为路由器OSPF动态链路路由协议配置_第1张图片

你可能感兴趣的:(华为,智能路由器,网络)