我配置了这 3 个接口:
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address PUBLICIP 255.255.255.240
!
interface GigabitEthernet0/1
nameif inside
security-level 100
ip address 10.0.0.1 255.255.255.0
!
interface GigabitEthernet0/3
no nameif
security-level 100
ip address 172.200.0.1 255.255.255.0
!
interface GigabitEthernet0/3.99
vlan 99
nameif servers
security-level 100
ip address 172.16.18.1 255.255.255.0
!
我也有一个默认路由
route outside 0.0.0.0 0.0.0.0 ISP_GATEWAY 1
和这些 NAT 规则
nat (inside,servers) source static any any
nat (inside,outside) source static any interface unidirectional description Internetaccess
还
enable traffic between two or more interfaces which are configured with same security levels
和
enable traffic between two or more hosts connected to the same interface
活性。
我可以通过“内部”网络上网。但是我无法 ping 网关 172.16.18.1。另外,我在接口 3 上有一个客户端,它与 IP 172.16.18.168/24 和网关 172.16.18.1 相连。此客户端也无法 ping 172.16.18.1。
在 ASDM 中,我可以从服务器接口 ping 网关。我错过了什么?我在这里读到我必须为我拥有的每个 VLAN 配置一个 NAT 语句。这是真的?因为我需要 10 个 VLAN。
我无法弄清楚我错过了什么。当我在 ASDM 中执行 Packet Tracer 时,似乎没有 ACL 阻止它。
PS:两个客户端直接连接到端口。PS:PS: 我在 ASDM 上配置了 80%,在 CLI 上配置了 20%(我在学校学到的方式)。