实验目的:pc1和pc2可以通过ospf路由ping通
两台路由器
两台pc:pc1电脑IP为192.168.1.2 /24 pc1电脑IP为192.168.3.2 /24
路由器AR1配置信息如下:
#
sysname AR1
#
interface GigabitEthernet0/0/0
ip address 192.168.1.254 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.2.10 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ospf 1 router-id 1.1.1.1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 192.168.2.0 0.0.0.255
路由器AR2配置信息如下:
#
sysname AR2
#
interface GigabitEthernet0/0/0
ip address 192.168.2.20 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.3.254 255.255.255.0
#
interface GigabitEthernet0/0/2
#
interface NULL0
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 192.168.2.0 0.0.0.255
network 192.168.3.0 0.0.0.255
检查邻居状态 dis ospf peer brief
AR1通过ospf学习到了路由信息192.168.3.0 网段的路由
AR2通过ospf学习到了路由信息192.168.1.0 网段的路由
经过配置,发现可以ping通pc2






中型wlan部署有线和无线实验
ospf的路由策略实验
路由过滤与路由策略实验
策略路由实验
企业通过dhcp中继自动获取ip地址原理分析
mpls部分php倒数第二跳抓包分析
mpls vpn ldp动态lsp配置
防火墙gre vpn隧道技术