核心交换机这样配置 跟接入层交换机TRUNK口连接。接入层划分好了VLAN 40 60 70 2000并划分接口,写了一条ip route-static 0.0.0.0 0.0.0.0 172.168.1.254 的缺省路由指向核心交换机VLAN2000的管理IP 。 PC在接入层可以获取IP分配但是无法ping通所在vlan以外的网段。。。。WEB也无法通过172.168.1.254登入WEB.
求大神解答
System View: return to User View with Ctrl+Z.
[H3C]vlan 40
[H3C-vlan40]vlan 60
[H3C-vlan60]vlan 70
[H3C-vlan70]vlan 2000
[H3C-vlan2000]quit
[H3C]interface vlan 70
[H3C-Vlan-interface70]ip address 192.168.70.253 24
[H3C-Vlan-interface70]quit
[H3C]interface vlan 2000
[H3C-Vlan-interface2000]ip address 172.168.1.254 24
[H3C-Vlan-interface2000]quit
[H3C]int vlan 40
[H3C-Vlan-interface40]ip address 192.168.40.253 24
[H3C-Vlan-interface40]quit
[H3C]int vlan 60
[H3C-Vlan-interface60]ip address 192.168.60.253 24
[H3C-Vlan-interface60]quit
[H3C]int ge1/0/17
[H3C-GigabitEthernet1/0/17]port link-type trunk
[H3C-GigabitEthernet1/0/17]port trunk permit vlan 40 60 70 2000
%Jan 3 00:04:33:695 2013 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface40 changed to up. %Jan 3 00:04:33:695 2013 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface60 changed to up. %Jan 3 00:04:33:695 2013 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface70 changed to up. %Jan 3 00:04:33:695 2013 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Vlan-interface2000 changed to up.
[H3C-GigabitEthernet1/0/17]%Jan 3 00:04:33:699 2013 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface40 changed to up. %Jan 3 00:04:33:700 2013 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface60 changed to up. %Jan 3 00:04:33:700 2013 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface70 changed to up. %Jan 3 00:04:33:700 2013 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Vlan-interface2000 changed to up. int ge1/0/18
[H3C-GigabitEthernet1/0/18]port link-type trunk
[H3C-GigabitEthernet1/0/18]port trunk permit vlan 40 60 70 2000
[H3C-GigabitEthernet1/0/18]quit
[H3C]int ge1/0/19 [H3C-GigabitEthernet1/0/19]port link-type trunk
[H3C-GigabitEthernet1/0/19]port trunk permit vlan 40 60 70 2000
[H3C-GigabitEthernet1/0/19]quit
[H3C]vlan 40
[H3C-vlan40]port gigabitethernet1/0/1 to gigabitethernet1/0/10
[H3C-vlan40]quit
[H3C]dhcp enable
[H3C]dhcp server forbidden-ip 192.168.40.1
[H3C]undo dhcp server forbidden-ip 192.168.40.1
[H3C]undo dhcp server forbidden-ip 192.168.40.253
The specified forbidden IP address or IP address range does not exist.
[H3C]dhcp server forbidden-ip 192.168.40.253
[H3C]dhcp server forbidden-ip 192.168.60.253
[H3C]dhcp server forbidden-ip 192.168.70.253
[H3C]dhcp server forbidden-ip 172.168.1.254
[H3C]dhcp server ip-pool 40
[H3C-dhcp-pool-40]network 192.168.40.0 mask 255.255.255.0
[H3C-dhcp-pool-40]dns-list 8.8.8.8
[H3C-dhcp-pool-40]gateway-list 192.168.40.254
[H3C-dhcp-pool-40]quit
[H3C]dhcp server ip-poo 60
[H3C-dhcp-pool-60]network 192.160.60.0 mask 255.255.255.0
[H3C-dhcp-pool-60]dns-list 8.8.8.8
[H3C-dhcp-pool-60]gateway-list 192.160.60.254
[H3C-dhcp-pool-60]quit
[H3C]dhcp server ip-pool 70
[H3C-dhcp-pool-70]network 192.160.70.0 mask 255.255.255.0
[H3C-dhcp-pool-70]dns-list 8.8.8.8
[H3C-dhcp-pool-70]gateway-list 192.160.70.254
[H3C-dhcp-pool-70]quit
[H3C]saveforce
[H3C]telnet server enable
[H3C]line vty 0 4
[H3C-line-vty0-4]authentication-mode scheme
[H3C-line-vty0-4]user-role network-admin
[H3C-line-vty0-4]quit
[H3C]local-user admin
New local user added.
[H3C-luser-manage-admin]password simple none1989
[H3C-luser-manage-admin]service-type telnet
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C-luser-manage-admin]quit
[H3C]save force
Validating file. Please wait... Saved the current configuration to mainboard device successfully. [H3C]local-user admin [H3C-luser-manage-admin]service-type http https [H3C-luser-manage-admin]authorization-attribute user-role network-admin [H3C-luser-manage-admin]quit [H3C]ip http enable
[H3C]ip https enable
[H3C]save force
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
问题是 我还是ping不通其他VLAN 能帮忙看下我配置的有什么问题嘛 谢谢