Cisco静态路由和OSPF结合小实验

编程入门 行业动态 更新时间:2024-10-26 06:30:56

Cisco静态<a href=https://www.elefans.com/category/jswz/34/1771390.html style=路由和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结合小实验

本文发布于:2024-03-15 11:51:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1738826.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:路由   静态   Cisco   OSPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!