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

MSR3600-28-SX路由器VLAN2不能上网

2020-11-03提问
  • 0关注
  • 1收藏,1304浏览
粉丝:1人 关注:0人

问题描述:

VLAN1能上网,但VLAN2不能上网。VLAN2的电脑能ping通外网,已设DNS,也能ping通。VLAN2就是上不了网。要如何设置?


组网及组网描述:


1.# 
2. version 7.1.064, Release 0707P19 
3.# 
4. sysname H3C 
5.# 
6. clock timezone Lisbon add 00:00:00 
7. clock protocol none 
8.# 
9. dialer-group 1 rule ip permit 
10. dialer-group 2 rule ip permit 
11. dialer-group 3 rule ip permit 
12.# 
13. dhcp enable 
14. dhcp server always-broadcast 
15.# 
16. dns proxy enable 
17.# 
18. password-recovery enable 
19.# 
20.vlan 1 
21.# 
22.vlan 2 
23.# 
24.dhcp server ip-pool Vlan-interface2 
25. gateway-list 172.16.1.1 
26. network 172.16.1.0 mask 255.255.255.0 
27. address range 172.16.1.100 172.16.1.200 
28. dns-list 202.96.128.86 202.96.128.166 
29.# 
30.dhcp server ip-pool lan1 
31. gateway-list 172.16.0.1 
32. network 172.16.0.0 mask 255.255.255.0 
33. address range 172.16.0.100 172.16.0.200 
34. dns-list 202.96.128.86 202.96.128.166 
35.# 
36.controller Cellular0/0 
37.# 
38.interface Dialer0 
39. bandwidth 100000 
40. ppp chap password cipher $c$3$EKDsmMa+tuNGk8yzQU5kkw3oTtCGy9fbq0kj  
41. ppp chap user 07580220804@163.gd  
42. ppp ipcp dns admit-any  
43. ppp ipcp dns request  
44. ppp pap local-user 07580220804@163.gd password cipher $c$3$4Em3EMM5mZokH4des5uQw1XzDLqi0oJOqNMb  
45. dialer bundle enable 
46. dialer-group 1 
47. dialer timer idle 0 
48. dialer timer autodial 5 
49. ip address ppp-negotiate 
50. nat outbound 
51.# 
52.interface Dialer1 
53. bandwidth 100000 
54. ppp chap password cipher $c$3$3mGMEUzpyD3vWDTmwxyeIRo74kVdW90Un+Bk  
55. ppp chap user zqLAN7732283@163.gd  
56. ppp ipcp dns admit-any  
57. ppp ipcp dns request  
58. ppp pap local-user zqLAN7732283@163.gd password cipher $c$3$0HJ4L/HxZyKKbhdLI4Kvmvr4WfTut0e2BG+z  
59. dialer bundle enable 
60. dialer-group 2 
61. dialer timer idle 0 
62. dialer timer autodial 5 
63. ip address ppp-negotiate 
64. nat outbound 
65.# 
66.interface Dialer2 
67. bandwidth 100000 
68. ppp chap password cipher $c$3$GmH/3inP7MWm/QwPgV44XKW5RZwXbPLdB1z4  
69. ppp chap user 07580038105@163.gd  
70. ppp ipcp dns admit-any  
71. ppp ipcp dns request  
72. ppp pap local-user 07580038105@163.gd password cipher $c$3$cBdxJhVDjWsrmjgc/rqrpX09f6plTv095QWn  
73. dialer bundle enable 
74. dialer-group 3 
75. dialer timer idle 0 
76. dialer timer autodial 5 
77. ip address ppp-negotiate 
78. nat outbound 
79.# 
80.interface NULL0 
81.# 
82.interface Vlan-interface1 
83. ip address 172.16.0.1 255.255.255.0 
84. tcp mss 1280 
85.# 
86.interface Vlan-interface2 
87. ip address 172.16.1.1 255.255.255.0 
88.# 
89.interface GigabitEthernet0/0 
90. port link-mode route 
91. description Multiple_Line 
92. pppoe-client dial-bundle-number 0 
93.# 
94.interface GigabitEthernet0/1 
95. port link-mode route 
96. description Multiple_Line 
97. pppoe-client dial-bundle-number 1 
98.# 
99.interface GigabitEthernet0/2 
100. port link-mode route 
101. description Multiple_Line 
102. pppoe-client dial-bundle-number 2 
103.# 
104.interface GigabitEthernet0/27 
105. port link-mode route 
106.# 
107.interface GigabitEthernet0/28 
108. port link-mode route 
109.# 
110.interface GigabitEthernet0/3 
111. port link-mode bridge 
112.# 
113.interface GigabitEthernet0/4 
114. port link-mode bridge 
115. port access vlan 2 
116.# 
117.interface GigabitEthernet0/5 
118. port link-mode bridge 
119. port access vlan 2 
120.# 
121.interface GigabitEthernet0/6 
122. port link-mode bridge 
123. port access vlan 2 
124.# 
125.interface GigabitEthernet0/7 
126. port link-mode bridge 
127. port access vlan 2 
128.# 
129.interface GigabitEthernet0/8 
130. port link-mode bridge 
131. port access vlan 2 
132.# 
133.interface GigabitEthernet0/9 
134. port link-mode bridge 
135. port access vlan 2 
136.# 
137.interface GigabitEthernet0/10 
138. port link-mode bridge 
139. port access vlan 2 
140.# 
141.interface GigabitEthernet0/11 
142. port link-mode bridge 
143. port access vlan 2 
144.# 
145.interface GigabitEthernet0/12 
146. port link-mode bridge 
147. port access vlan 2 
148.# 
149.interface GigabitEthernet0/13 
150. port link-mode bridge 
151. port access vlan 2 
152.# 
153.interface GigabitEthernet0/14 
154. port link-mode bridge 
155. port access vlan 2 
156.# 
157.interface GigabitEthernet0/15 
158. port link-mode bridge 
159. port access vlan 2 
160.# 
161.interface GigabitEthernet0/16 
162. port link-mode bridge 
163. port access vlan 2 
164.# 
165.interface GigabitEthernet0/17 
166. port link-mode bridge 
167. port access vlan 2 
168.# 
169.interface GigabitEthernet0/18 
170. port link-mode bridge 
171. port access vlan 2 
172.# 
173.interface GigabitEthernet0/19 
174. port link-mode bridge 
175. port access vlan 2 
176.# 
177.interface GigabitEthernet0/20 
178. port link-mode bridge 
179. port access vlan 2 
180.# 
181.interface GigabitEthernet0/21 
182. port link-mode bridge 
183. port access vlan 2 
184.# 
185.interface GigabitEthernet0/22 
186. port link-mode bridge 
187. port access vlan 2 
188.# 
189.interface GigabitEthernet0/23 
190. port link-mode bridge 
191. port access vlan 2 
192.# 
193.interface GigabitEthernet0/24 
194. port link-mode bridge 
195. port access vlan 2 
196.# 
197.interface GigabitEthernet0/25 
198. port link-mode bridge 
199. port access vlan 2 
200.# 
201.interface GigabitEthernet0/26 
202. port link-mode bridge 
203. port access vlan 2 
204.# 
205. scheduler logfile size 16 
206.# 
207.line class console 
208. user-role network-admin 
209.# 
210.line class tty 
211. user-role network-operator 
212.# 
213.line class usb 
214. user-role network-admin 
215.# 
216.line class vty 
217. user-role network-operator 
218.# 
219.line con 0 
220. user-role network-admin 
221.# 
222.line vty 0 63 
223. authentication-mode scheme 
224. user-role network-operator 
225.# 
226. ip route-static 0.0.0.0 0 Dialer0 
227. ip route-static 0.0.0.0 0 Dialer1 
228. ip route-static 0.0.0.0 0 Dialer2 
229.# 
230. password-control enable  
231. undo password-control aging enable  
232. undo password-control history enable  
233. password-control length 6 
234. password-control login-attempt 3 exceed lock-time 10 
235. password-control update-interval 0 
236. password-control login idle-time 0 
237. password-control complexity user-name check 
238.# 
239.domain system 
240.# 
241. domain default enable system 
242.# 
243.role name level-0 
244. description Predefined level-0 role 
245.# 
246.role name level-1 
247. description Predefined level-1 role 
248.# 
249.role name level-2 
250. description Predefined level-2 role 
251.# 
252.role name level-3 
253. description Predefined level-3 role 
254.# 
255.role name level-4 
256. description Predefined level-4 role 
257.# 
258.role name level-5 
259. description Predefined level-5 role 
260.# 
261.role name level-6 
262. description Predefined level-6 role 
263.# 
264.role name level-7 
265. description Predefined level-7 role 
266.# 
267.role name level-8 
268. description Predefined level-8 role 
269.# 
270.role name level-9 
271. description Predefined level-9 role 
272.# 
273.role name level-10 
274. description Predefined level-10 role 
275.# 
276.role name level-11 
277. description Predefined level-11 role 
278.# 
279.role name level-12 
280. description Predefined level-12 role 
281.# 
282.role name level-13 
283. description Predefined level-13 role 
284.# 
285.role name level-14 
286. description Predefined level-14 role 
287.# 
288.user-group system 
289.# 
290.local-user admin class manage 
291. service-type telnet http 
292. authorization-attribute user-role network-admin 
293.# 
294. ip http enable 
295.# 
296.wlan global-configuration 
297.# 
298.wlan ap-group default-group 
299. vlan 1 
300.# 
301. cloud-management server domain oasis.h3c.com 
302.# 
303.return   

最佳答案

已采纳
粉丝:43人 关注:0人

接口下配置TCP MSS 1024试一下

为何VLAN1能上网,VLAN1和VLAN2有那方面的区别?

zhiliao_CbwAv 发表时间:2020-11-03

把这路由器放到下一级,WAN用固定地址就没有问题,VLAN2能上网。

zhiliao_CbwAv 发表时间:2020-11-03

你说的应该就是网页打不开吧 。从配置里面看 VLAN 1接口下面配了TCP MSS ,vlan2接口下没配

骑着乌龟的蜗牛 发表时间:2020-11-03

很可能就是这个。

zhiliao_CbwAv 发表时间:2020-11-03

成功了,少了 TCP MSS。

zhiliao_CbwAv 发表时间:2020-11-03
0 个回答

该问题暂时没有网友解答

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明