路由和OSPF结合小实验"/>
Cisco静态路由和OSPF结合小实验
eve-ng模拟小实验
01
拓扑:
02
配置过程:
R1:
interface Loopback0
ip address 192.168.100.1 255.255.255.0
interface Ethernet0/0
ip address 192.168.127.99 255.255.255.248
exit
ip route 0.0.0.0 0.0.0.0 192.168.127.100
SW1:
interface Ethernet0/1
interface Ethernet0/1
no switchport
ip address 192.168.127.157 255.255.255.252
interface Ethernet0/2
no switchport
ip address 192.168.127.100 255.255.255.248
exit
ip route 0.0.0.0 0.0.0.0 192.168.127.99
ip route 192.168.22.0 255.255.255.0 192.168.127.158
ip route 192.168.36.0 255.255.255.0 192.168.127.158
R2:
interface Ethernet0/0
ip address 192.168.127.213 255.255.255.252
interface Ethernet0/1
ip address 192.168.127.158 255.255.255.252
interface Ethernet0/2
ip address 192.168.127.145 255.255.255.252
router ospf 100
redistribute static subnets
default-information originate
network 192.168.127.144 0.0.0.3 area 0
network 192.168.127.156 0.0.0.3 area 0
network 192.168.127.212 0.0.0.3 area 0
ip route 0.0.0.0 0.0.0.0 192.168.127.157
R3:
interface Ethernet0/0
ip address 192.168.127.146 255.255.255.252
no shut
interface Ethernet0/1
ip address 192.168.22.1 255.255.255.0
no shut
interface Ethernet0/2
ip address 192.168.127.189 255.255.255.252
exit
router ospf 100
network 192.168.22.0 0.0.0.255 area 0
network 192.168.127.144 0.0.0.3 area 0
network 192.168.127.188 0.0.0.3 area 0
R4:
interface Ethernet0/0
ip address 192.168.127.214 255.255.255.252
no shut
interface Ethernet0/1
ip address 192.168.36.1 255.255.255.0
no shut
interface Ethernet0/2
ip address 192.168.127.190 255.255.255.252
router ospf 100
network 192.168.36.0 0.0.0.255 area 0
network 192.168.127.188 0.0.0.3 area 0
network 192.168.127.212 0.0.0.3 area 0
SW2 :
vlan 22
interface Ethernet0/0
switchport access vlan 22
switchport mode access
interface Vlan22
ip address 192.168.22.2 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.22.1
SW3:
vlan 36
interface Ethernet0/0
switchport access vlan 36
switchport mode access
interface Vlan36
ip address 192.168.36.2 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.36.1
03
测试结果:
查看各设备路由表
然后在ping测试:
至此实验完成
华为USG防火墙配置DHCP及单臂路由小实验
华为-DSVPN 案例配置及原理分析
华为——VRRP基础实验
Cisco私有协议—热备份路由协议HSRP详解
Cisco——HSRP实验案例一
Cisco——VRRP基础实验
Cisco策略路由PBR小案例
Cisco—DMVPN 案例配置及原理分析
思科、华为网络设备破解密码
干货分享:Cisco CCNP视频教程
cisco—RIPv1协议详解
Cisco—静态路由小实验
Cisco-路由器配置DHCP小实验
CISCO--telne小实验
Cisco-VLAN间路由:SVI+单臂路由(子接口)
思科CISCO常用命令汇总
eve-ng模拟ospf虚连接小实验
更多推荐
Cisco静态路由和OSPF结合小实验
发布评论