配置如图,配置完成后,PC1 接入 g1/0/13 自动获取到IP为192.168.13.2 ,PC2 接入 g1/0/14 自动获取到IP为192.168.14.2 。
交换机查询接口均为up
PC1 ping PC2 失败,ping 192.168.13.1 /192.168.14.1 成功
接口IP配置查看:
[H3C]dis int vlan 13
Vlan-interface13
Current state: UP
Line protocol state: UP
Description: Vlan-interface13 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 192.168.13.1/24 (primary)
-------------------------------------------------
[H3C]dis int vlan 14
Vlan-interface14
Current state: UP
Line protocol state: UP
Description: Vlan-interface14 Interface
Bandwidth: 10000000 kbps
Maximum transmission unit: 1500
Internet address: 192.168.14.1/24 (primary)
-----------------------------------------------
路由表:
[H3C]dis ip routing-table
Destinations : 16 Routes : 16
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
192.168.13.0/24 Direct 0 0 192.168.13.1 Vlan13
192.168.13.0/32 Direct 0 0 192.168.13.1 Vlan13
192.168.13.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.13.255/32 Direct 0 0 192.168.13.1 Vlan13
192.168.14.0/24 Direct 0 0 192.168.14.1 Vlan14
192.168.14.0/32 Direct 0 0 192.168.14.1 Vlan14
192.168.14.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.14.255/32 Direct 0 0 192.168.14.1 Vlan14
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论