Mkeycsdn 2021-05-26 00:38
浏览 30

(ensp)实验路由问题,以及ACL相关内容

做如图的实验,到接口路由都搞完了,pc1只能ping到r1,后面都出不去了。

pc2ping不通r1的ge0/0/0接口以及交换机和pc1,pc4是我用来测试的,但却能ping通pc1和pc2

附配置

LSW1

interface Vlanif1
#
interface Vlanif10
 ip address 11.1.1.2 255.255.255.0
#
interface Vlanif20
 ip address 21.1.12.13 255.255.255.252
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
 

R1

interface GigabitEthernet0/0/0
 ip address 21.1.12.14 255.255.255.252
#
interface GigabitEthernet0/0/1
 ip address 21.1.12.1 255.255.255.252
#
interface GigabitEthernet0/0/2
 ip address 21.1.12.9 255.255.255.252
#
interface GigabitEthernet0/0/3
 ip address 23.1.1.2 255.255.255.0
#
wlan
#
interface NULL0
#
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 21.1.12.0 0.0.0.3
  network 1.1.1.1 0.0.0.0
  network 23.1.1.0 0.0.0.255
#
ip route-static 11.1.1.0 255.255.255.0 21.1.12.13
#
 

R2

#
interface GigabitEthernet0/0/0
 ip address 21.1.12.2 255.255.255.252
#
interface GigabitEthernet0/0/1
 ip address 21.1.12.5 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 21.1.12.4 0.0.0.3
  network 21.1.12.0 0.0.0.3
  network 2.2.2.2 0.0.0.0
#
 

R3

#
interface GigabitEthernet0/0/0
 ip address 21.1.12.6 255.255.255.252
#
interface GigabitEthernet0/0/1
 ip address 22.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/2
 ip address 21.1.12.10 255.255.255.252
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
interface LoopBack0
 ip address 3.3.3.3 255.255.255.255
#
ospf 1 router-id 3.3.3.3
 area 0.0.0.0
  network 3.3.3.3 0.0.0.0
  network 21.1.12.4 0.0.0.3
  network 21.1.12.8 0.0.0.3
  network 22.1.1.0 0.0.0.255
#
如果可以的话,哪位大佬解决这个问题后能帮忙指导下后续的ACL和路由路径怎么设置吗,感谢!!!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 sub地址DHCP问题
    • ¥15 delta降尺度计算的一些细节,有偿
    • ¥15 Arduino红外遥控代码有问题
    • ¥15 数值计算离散正交多项式
    • ¥30 数值计算均差系数编程
    • ¥15 redis-full-check比较 两个集群的数据出错
    • ¥15 Matlab编程问题
    • ¥15 训练的多模态特征融合模型准确度很低怎么办
    • ¥15 kylin启动报错log4j类冲突
    • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大