首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能通过L3交换机

不能通过L3交换机
EN

Network Engineering用户
提问于 2016-08-19 22:28:13
回答 1查看 3.7K关注 0票数 1

我在Packet中构建了一个场景,我正在考虑实现这个场景,但是在通过L3交换机从PC上敲击时遇到了问题。从交换机,我可以平平环境中的每一个IP地址,但是连接到交换机内部的任何设备都不能在交换机外进行平分。我以前也这样做过,我对此感到困惑。不确定是包追踪还是我。

以下是开关配置:

代码语言:javascript
复制
HM_SW1#sh run
Building configuration...
Current configuration : 1823 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname HM_SW1
!
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.1.50
!
ip dhcp pool 192
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 10.10.0.40
!
ip routing
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport access vlan 192
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
switchport access vlan 100
!
interface FastEthernet0/11
switchport access vlan 10
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
switchport access vlan 192
!
interface GigabitEthernet0/1
no switchport
ip address 10.255.255.2 255.255.255.252
duplex auto
speed auto
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
!
interface Vlan10
mac-address 0005.5ec9.1601
ip address 10.10.0.1 255.255.255.0
!
interface Vlan100
mac-address 0005.5ec9.1602
ip address 10.100.0.1 255.255.255.0
!
interface Vlan192
mac-address 0005.5ec9.1603
ip address 192.168.1.1 255.255.255.0
!
ip default-gateway 10.255.255.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.255.255.1
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

谢谢

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2016-08-19 22:45:53

路由器配置是什么?他们是如何知道第三层交换机背后的网络的?Ping是一个双向应用程序,路由器必须能够将流量返回到交换机后面的网络,如果他们不知道网络在哪里,流量就会被丢弃。您需要为这些网络在所有路由器上配置静态路由,或者需要运行路由协议来共享到这些网络的路由。

票数 1
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/34194

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档