• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

h3c s7003E,

  • 0关注
  • 1收藏,1138浏览
黄祥 零段
粉丝:0人 关注:0人

问题描述:

创建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



最佳答案

粉丝:108人 关注:1人

你的路由器配置的多条缺省路由,没有接口配置nat。单看这个看不出来。

建议看看出公网的设备,nat是否已包含88网段。同时确认出口设备是否有88网段的回程路由

暂无评论

1 个回答
粉丝:135人 关注:6人

您好,请知:

关于DHCP能获取到IP地址,但是无法上网的问题,以下是排查要点,请参考:

1、确保设备间的三层互联已配置完成。

2、看到了有配置默认路由指向出去,上行设备也要有路由回指导88网段。

3、检查NAT转换的ACL策略中是否有包含88网段。


暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明