大家好,各位专家。
如果这是一个愚蠢的问题,我很抱歉(我通常不会问这些问题,但我是人类),但我不知道在这种环境中出了什么问题。
我希望允许我所有的 VLAN只与VLAN 1 和互联网通信。
All internal traffic is inside 192.168.0.0/16 range like:
. VLAN 1: 192.168.1.0/24 (ip addr 192.168.1.1)
. VLAN 2: 192.168.2.0/24 (ip addr 192.168.2.1)
. VLAN 3: 192.168.3.0/24 (ip addr 192.168.3.1)
This is the only routing-activated layer3 switch on campus
and is the default gateway for everybody
因此,我创建了“ acl_default ”并将其应用于每个 VLAN 的入站(显然 VLAN 1 除外)
ip access-list extended "acl_default"
10 permit ip 192.168.0.0 0.0.255.255 192.168.1.0 0.0.0.255
900 deny ip 192.168.0.0 0.0.255.255 192.168.0.0 0.0.255.255
950 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255
exit
它可以工作......但是,每天早上, VLAN(不是 VLAN 1)中的所有用户都无法与 VLAN 1 上的某些服务器通信。
如果我从 VLAN 120 (192.168.120.0/24) 跟踪路由到服务器,我会看到一个循环:
traceroute to 192.168.1.69 ,
1 hop min, 30 hops max, 5 sec. timeout, 3 probes
1 192.168.120.1 1 ms 1 ms 1 ms
2 192.168.120.1 0 ms 1 ms *
3 192.168.120.1 1 ms 1 ms 1 ms
4 192.168.120.1 1 ms 1 ms *
5 192.168.120.1 1 ms 1 ms 1 ms
6 192.168.120.1 1 ms 1 ms *
7 192.168.120.1 1 ms 1 ms 1 ms
8 192.168.120.1 1 ms 1 ms *
9 192.168.120.1 0 ms 2 ms 0 ms
10 192.168.120.1 1 ms 1 ms *
11 192.168.120.1 1 ms 1 ms 1 ms
但是...如果我去 server_69 并 ping 回 120_gateway,一切都开始工作了!!
这就是为什么早上无法访问某些服务器的原因:那些不经常与非 vlan1 子网通信的服务器。
Chassis info: HP Procurve 5400Rzl2 Software: KB.15.17.0003
我错过了什么?
提前谢谢大家(即使只是为了阅读这篇长文)
瑞