创建vlan88后,DHCP能正常获取地址,但是上不了网,DNS获取正常。DNS不能ping通,但是网关是通的,如果用其他vlan就没有问题;
vlan88配置在
interface GigabitEthernet1/0/22
port link-mode bridge
port access vlan 88
配置文件不能上传
[HX-ws-1]dis cur
# version 7.1.070, Release 7557P03
# sysname HX-ws-1
# telnet server enable
# forward-path-detection enable
# dhcp enable dhcp server forbidden-ip 10.60.1.201 10.60.1.253
# dhcp snooping enable vlan 10
# system-working-mode standard xbar load-balance password-recovery enable
# vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 40 # vlan 50 # vlan 60 description 6#gaozhonglou # vlan 70 description yikatong # vlan 88 description shitangjiankong # vlan 254 description manage
# stp global enable
# ftth
# dhcp server ip-pool 1
# dhcp server ip-pool 1-
# dhcp server ip-pool 10
gateway-list 10.10.1.1
network 10.10.0.0 mask 255.255.248.0
address range 10.10.4.1 10.10.7.254
dns-list 223.5.5.5 119.29.29.29
# dhcp server ip-pool 20
# dhcp server ip-pool 30
# dhcp server ip-pool 40
# dhcp server ip-pool 50
gateway-list 10.50.1.1
network 10.50.1.0 mask 255.255.255.0
dns-list 59.51.78.210 222.246.129.80
# dhcp server ip-pool 60
gateway-list 10.60.1.254
network 10.60.1.0 mask 255.255.255.0
dns-list 223.5.5.5 119.29.29.29
# dhcp server ip-pool 88
gateway-list 192.168.88.1
network 192.168.88.0 mask 255.255.255.0
dns-list 223.5.5.5 59.51.78.210
# interface NULL0
# interface Vlan-interface1 ip address 192.168.2.2 255.255.255.0
# interface Vlan-interface10 ip address 10.10.1.1 255.255.248.0
# interface Vlan-interface20 ip address 10.20.1.1 255.255.254.0
# interface Vlan-interface30 ip address 10.30.1.1 255.255.255.0
# interface Vlan-interface40
# interface Vlan-interface50 ip address 10.50.1.1 255.255.255.0
# interface Vlan-interface60 ip address 10.60.1.254 255.255.255.0
# interface Vlan-interface70 ip address 10.70.1.254 255.255.255.0
# interface Vlan-interface88 ip address 192.168.88.1 255.255.255.0
# interface Vlan-interface254 ip address 10.254.1.254 255.255.255.0
# interface GigabitEthernet0/0/1 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 88 254
# interface GigabitEthernet0/0/2 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 70 254
# interface GigabitEthernet0/0/3 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50
# interface GigabitEthernet0/0/4 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50
# interface GigabitEthernet0/0/5 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50
# interface GigabitEthernet0/0/6 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50
# interface GigabitEthernet0/0/7 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50
# interface GigabitEthernet0/0/8 port link-mode bridge # interface GigabitEthernet0/0/9 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/10 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/11 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/12 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/13 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/14 port link-mode bridge port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 10 20 30 50 60 70 254
# interface GigabitEthernet0/0/15 port link-mode bridge
# interface GigabitEthernet0/0/16 port link-mode bridge
# interface GigabitEthernet0/0/17 port link-mode bridge
# interface GigabitEthernet0/0/18 port link-mode bridge
interface GigabitEthernet0/0/19 port link-mode bridge
# interface GigabitEthernet0/0/20 port link-mode bridge
# interface GigabitEthernet0/0/21 port link-mode bridge
# interface GigabitEthernet0/0/22 port link-mode bridge
# interface GigabitEthernet0/0/23 port link-mode bridge
# interface GigabitEthernet0/0/24 port link-mode bridge
# interface GigabitEthernet1/0/1 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/2 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/3 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/4 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/5 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/6 port link-mode bridge port access vlan 70
# interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/8 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/9 port link-mode bridge port access vlan 30
# interface GigabitEthernet1/0/10 port link-mode bridge port access vlan 30
# interface GigabitEthernet1/0/11 port link-mode bridge port access vlan 30
# interface GigabitEthernet1/0/12 port link-mode bridge port access vlan 30
# interface GigabitEthernet1/0/13 port link-mode bridge port access vlan 20
# interface GigabitEthernet1/0/14 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/15 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/16 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/17 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/18 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/19 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/20 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/21 port link-mode bridge port access vlan 10
# interface GigabitEthernet1/0/22 port link-mode bridge port access vlan 88
# interface GigabitEthernet1/0/23 port link-mode bridge port link-type hybrid port hybrid vlan 1 10 20 30 untagged
# interface GigabitEthernet1/0/24 port link-mode bridge
# interface M-GigabitEthernet0/0/0
# interface Ten-GigabitEthernet0/0/25 port link-mode bridge
# interface Ten-GigabitEthernet0/0/26 port link-mode bridge
# interface Ten-GigabitEthernet0/0/27 port link-mode bridge
# interface Ten-GigabitEthernet0/0/28 port link-mode bridge
# interface Ten-GigabitEthernet1/0/25 port link-mode bridge
# interface Ten-GigabitEthernet1/0/26 port link-mode bridge
# interface Ten-GigabitEthernet1/0/27 port link-mode bridge
# interface Ten-GigabitEthernet1/0/28 port link-mode bridge
# scheduler logfile size 16
# line class aux user-role network-admin
# line class vty user-role network-operator
# line aux 0 authentication-mode password user-role network-admin set authentication password hash $h$6$giVMmObbzRVOAi0x $50Kxdf2PRjALctr1oJDYizkGQtOmk0EBuSTMCwhjrJTPQ80pLzAL18A +LHkCIMHAjTsBNDADSS/G8dNu0nk6/Q==
# line aux 1 user-role network-admin # line vty 0 4 authentication-mode scheme user-role network-operator set authentication password hash $h$6$gfdiVB8qjw47rimZ$vEFt5DZFJEO/YDY +epLIobDSrQbM6/yrfCrHuZFxHkKSsxboZAizr4eG1j+LK/mi4XotwwiSl/7GvrTbZTXshQ==
# line vty 5 63 authentication-mode scheme user-role network-operator
# ip route-static 0.0.0.0 0 192.168.2.1
ip route-static 0.0.0.0 0 192.168.2.2
ip route-static 0.0.0.0 0 222.241.167.1
ip route-static 0.0.0.0 0 222.241.167.230
ip route-static 192.168.2.0 24 222.241.167.1
# acl number 3000 rule 0
deny ip source 10.50.1.0 0.0.0.255 destination 10.20.1.0 0.0.0.254 rule 5
deny ip source 10.50.1.0 0.0.0.255 destination 10.30.1.0 0.0.0.255 rule 10
deny ip source 10.50.1.0 0.0.0.255 destination 10.10.1.0 0.0.0.253 rule 15 permit ip
# domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$k+vDsDU7nPIT5zyZ $NreDFb2JJnh8ic4C/ReK5TsGhXYVufP5PelHNRKjWHjRl5pZhDIIaPW5V4B2nsnhd8xirwsQdS4n/Yu2Jz mIBg== service-type telnet http https terminal authorization-attribute user-role network-admin authorization-attribute user-role network-operator # local-user ftp class manage authorization-attribute user-role network-operator # local-user liqiang class manage password hash $h$6$YK36t6vKqf8lJtdx$6NhU1E +Pl/fO8h9G13B7V1rIC9f4CAqHVk311fO4CzYQUKSjer7ESxrgTvwCkUFVo3KbW7ZzoCjOyy+SeMhw3A== service-type telnet ssh terminal authorization-attribute user-role network-admin authorization-attribute user-role network-liqiang authorization-attribute user-role network-operator # ip http port 1000 ip http enable ip https port 1001 ip https enable # return
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论