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

H3C MSR 3610 指定不同IP走不同出口无效

2025-01-23提问
  • 0关注
  • 0收藏,816浏览
粉丝:0人 关注:0人

问题描述:

MSR 3610 做出口路由  2条宽带 WAN 2 固定IP ,WAN3 PPPOE  现在所有流量走PPPOE  想把其中几个IP 出口流量走 WAN 2 配置策略路由 不生效

组网及组网描述:

  1. version 7.1.064, Release 6749P30
  2. #
  3. sysname MSR3610
  4. #
  5. clock timezone shanghai add 08:00:00
  6. clock protocol none
  7. #
  8. wlan global-configuration
  9. nas-id cm-0-1506643-210235A2C7P21600001Q
  10. #
  11. telnet server enable
  12. #
  13. security-zone intra-zone default permit
  14. #
  15. security-policy disable
  16. #
  17. track 1022 nqa entry ge0/3 1 reaction 1
  18. #
  19. track 1023 nqa entry ge0/2 1 reaction 1
  20. #
  21. ip pool l2tp2 10.10.10.2 10.10.10.15 
  22. #
  23. dialer-group 2 rule ip permit
  24. dialer-group 4 rule ip permit
  25. #
  26. ip load-sharing mode per-flow src-ip global
  27. #
  28. bandwidth-based-sharing
  29. #
  30. dhcp enable
  31. dhcp server forbidden-ip 192.168.0.10
  32. dhcp server forbidden-ip 192.168.0.240 192.168.0.250
  33. dhcp server forbidden-ip 192.168.1.17
  34. dhcp server always-broadcast
  35. #
  36. lldp global enable
  37. #
  38. system-working-mode standard
  39. password-recovery enable
  40. #
  41. vlan 1
  42. #
  43. object-group ip address dstgroup20
  44. 1004 network host address 180.101.50.188
  45. #
  46. object-group ip address dstgroup21
  47. 1004 network host address 180.101.50.242
  48. #
  49. object-group ip address dstgroup23
  50. 1004 network host address 58.33.11.242
  51. #
  52. object-group ip address dstgroup24
  53. 1004 network host address 0.0.0.0
  54. #
  55. object-group ip address dstgroupGE0_5
  56. 0 network range 0.0.0.0 0.0.0.0
  57. #
  58. object-group ip address srcgroup20
  59. 1004 network range 192.168.0.0 192.168.1.254
  60. #
  61. object-group ip address srcgroup21
  62. 1004 network range 192.168.0.0 192.168.1.254
  63. #
  64. object-group ip address srcgroup23
  65. 1004 network range 192.168.0.0 192.168.1.254
  66. #
  67. object-group ip address srcgroup24
  68. 1004 network host address 192.168.0.39
  69. #
  70. object-group ip address srcgroupGE0_5
  71. 0 network range 192.168.0.8 192.168.0.8
  72. #
  73. dhcp server ip-pool lan1
  74. gateway-list 192.168.1.1
  75. network 192.168.0.0 mask 255.255.254.0
  76. address range 192.168.0.2 192.168.1.239
  77. dns-list 202.96.209.5 114.114.114.114
  78. expired day 0 hour 0 minute 1
  79. #
  80. ddns policy WAN3(GE3)
  81. url oray://***.***
  82. username dhht13817790318
  83. password cipher $c$3$Q4bGE5fQHDgXiRXG1VaZXVB8miKK1gFoks3tgyYjaDgLSA==
  84. #
  85. policy-based-route pbr2 permit node 4
  86. if-match acl name acl24
  87. apply next-hop 58.33.86.241
  88. apply output-interface GigabitEthernet0/2
  89. #
  90. policy-based-route pbrGE0 permit node 5
  91. if-match acl name aclGE0_5
  92. apply next-hop 58.33.86.241
  93. apply output-interface GigabitEthernet0/2
  94. #
  95. controller Cellular0/0
  96. #
  97. interface Dialer2
  98. mtu 1492
  99. #
  100. interface Dialer3
  101. bandwidth 1000000
  102. mtu 1492
  103. ppp chap password cipher $c$3$TYch84XZ76YTv9FaQsuUe46nPFDlvNfJB+0r 
  104. ppp chap user ad86616043 
  105. ppp ipcp dns admit-any 
  106. ppp ipcp dns request 
  107. ppp pap local-user ad86616043 password cipher $c$3$xw5COE7wcQ16KGwNZCXtuIbCVwQegOv0xlr7 
  108. dialer bundle enable
  109. dialer-group 4
  110. dialer timer idle 0
  111. dialer timer autodial 5
  112. ip address ppp-negotiate
  113. tcp mss 1280
  114. ip last-hop hold
  115. nat outbound
  116. #
  117. interface Virtual-Template1
  118. ppp authentication-mode chap 
  119. remote address pool l2tp2 
  120. ip address 10.10.10.1 255.255.255.0
  121. #
  122. interface NULL0
  123. #
  124. interface GigabitEthernet0/0
  125. port link-mode route
  126. description LAN-interface
  127. ip address 192.168.1.1 255.255.254.0
  128. tcp mss 1280
  129. nat hairpin enable
  130. ip policy-based-route pbrGE0
  131. ip subscriber l2-connected enable
  132. ip subscriber initiator dhcp enable
  133. ip subscriber initiator unclassified-ip enable
  134. ip subscriber dhcp domain ipoeenabledomain
  135. ip subscriber unclassified-ip domain ipoeenabledomain
  136. #
  137. interface GigabitEthernet0/1
  138. port link-mode route
  139. #
  140. interface GigabitEthernet0/2
  141. port link-mode route
  142. description Double_Line1
  143. bandwidth 100000
  144. combo enable copper
  145. ip address 58.33.11.242 255.255.255.248
  146. ip address 58.33.11.244 255.255.255.248 sub
  147. tcp mss 1280
  148. ip last-hop hold
  149. nat outbound
  150. nat server protocol tcp global current-interface 4999 inside 192.168.0.250 443
  151. nat server protocol tcp global current-interface 9798 inside 192.168.0.39 9798 description 财务
  152. nat server protocol tcp global current-interface 39999 inside 192.168.0.254 39999
  153. ip policy-based-route pbr2
  154. #
  155. interface GigabitEthernet0/3
  156. port link-mode route
  157. description Double_Line2
  158. combo enable copper
  159. ip policy-based-route pbr2
  160. pppoe-client dial-bundle-number 3
  161. #
  162. interface GigabitEthernet0/4
  163. port link-mode route
  164. #
  165. interface GigabitEthernet0/5
  166. port link-mode route
  167. #
  168. interface SSLVPN-AC1
  169. ip address 10.1.1.100 255.255.255.0
  170. #
  171. route-policy pbr2_priority permit node 3
  172. if-match ip address acl 3002
  173. apply preference 50
  174. #
  175. route-policy pbr2_priority permit node 10
  176. apply preference 50
  177. #
  178. object-policy ip Any-Any
  179. rule 65533 inspect 8048_url_profile_global disable
  180. rule 65534 pass
  181. #
  182. security-zone name Local
  183. #
  184. security-zone name Trust
  185. #
  186. security-zone name DMZ
  187. #
  188. security-zone name Untrust
  189. #
  190. security-zone name Management
  191. #
  192. zone-pair security source Any destination Any
  193. object-policy apply ip Any-Any
  194. #
  195. zone-pair security source Local destination Trust
  196. packet-filter name SWXWSGL
  197. #
  198. zone-pair security source Local destination Untrust
  199. packet-filter name SWXWSGL
  200. #
  201. zone-pair security source Trust destination Local
  202. packet-filter name SWXWSGL
  203. #
  204. zone-pair security source Untrust destination Local
  205. packet-filter name SWXWSGL
  206. #
  207. scheduler logfile size 16
  208. #
  209. line class console
  210. user-role network-admin
  211. #
  212. line class tty
  213. user-role network-operator
  214. #
  215. line class vty
  216. user-role network-operator
  217. #
  218. line con 0
  219. user-role network-admin
  220. #
  221. line vty 0 63
  222. authentication-mode scheme
  223. user-role network-operator
  224. #
  225. ip route-static 0.0.0.0 0 Dialer3
  226. ip route-static 0.0.0.0 0 GigabitEthernet0/2 58.33.11241
  227. ip route-static 61.177.138.42 32 GigabitEthernet0/2 58.33.11.241 preference 30
  228. #
  229. performance-management
  230. #
  231. arp timer aging 3
  232. arp valid-check enable
  233. arp max-learning-number 500 
  234. #
  235. time-range tr20 00:00 to 24:00 daily 
  236. time-range tr21 00:00 to 24:00 daily 
  237. time-range tr23 00:00 to 24:00 daily 
  238. time-range tr24 00:00 to 24:00 daily 
  239. time-range trGE0_5 00:00 to 24:00 daily 
  240. #
  241. acl number 2000
  242. rule 0 permit source 192.168.0.39 0
  243. #
  244. acl number 3000
  245. description to fenzhi
  246. rule 10 permit ip source 192.168.0.0 0.0.1.255 destination 192.168.18.0 0.0.0.255
  247. rule 15 permit ip source 192.168.0.0 0.0.1.255 destination 10.1.1.0 0.0.0.255
  248. rule 20 permit ip source 192.168.0.0 0.0.1.255 destination 172.16.1.0 0.0.0.255
  249. #
  250. acl advanced 3002
  251. rule 9 permit ip source 192.168.0.8 0
  252. rule 10 permit ip source 192.168.1.234 0
  253. rule 11 permit ip source 192.168.0.19 0
  254. #
  255. acl number 3004
  256. rule 0 deny ip source 192.168.1.234 0
  257. #
  258. acl number 3005
  259. rule 0 permit ip
  260. rule 10 deny ip source 192.168.1.234 0
  261. #
  262. acl advanced name SWXWSGL
  263. rule 1 permit ip
  264. #
  265. acl advanced name acl20
  266. rule 1 permit ip source object-group srcgroup20 destination object-group dstgroup20 time-range tr20
  267. rule 1 comment 百度
  268. #
  269. acl advanced name acl21
  270. rule 1 permit ip source object-group srcgroup21 destination object-group dstgroup21 time-range tr21
  271. rule 1 comment 百度1
  272. #
  273. acl advanced name acl23
  274. rule 1 permit ip source object-group srcgroup23 destination object-group dstgroup23 time-range tr23
  275. rule 1 comment --
  276. #
  277. acl advanced name acl24
  278. rule 1 permit ip source object-group srcgroup24 destination object-group dstgroup24 time-range tr24
  279. rule 1 comment 财务
  280. #
  281. acl advanced name aclGE0_5
  282. rule 1 permit ip source object-group srcgroupGE0_5 destination object-group dstgroupGE0_5 time-range trGE0_5
  283. rule 1 comment --
  284. #
  285. password-control enable 
  286. undo password-control aging enable 
  287. undo password-control history enable 
  288. password-control length 6
  289. password-control login-attempt 3 exceed lock-time 10
  290. password-control update-interval 0
  291. password-control login idle-time 0
  292. #
  293. domain ipoeenabledomain
  294. authentication ipoe none
  295. authorization ipoe none
  296. accounting ipoe none
  297. #
  298. domain system
  299. #
  300. domain default enable system
  301. #
  302. role name level-0
  303. description Predefined level-0 role
  304. #
  305. role name level-1
  306. description Predefined level-1 role
  307. #
  308. role name level-2
  309. description Predefined level-2 role
  310. #
  311. role name level-3
  312. description Predefined level-3 role
  313. #
  314. role name level-4
  315. description Predefined level-4 role
  316. #
  317. role name level-5
  318. description Predefined level-5 role
  319. #
  320. role name level-6
  321. description Predefined level-6 role
  322. #
  323. role name level-7
  324. description Predefined level-7 role
  325. #
  326. role name level-8
  327. description Predefined level-8 role
  328. #
  329. role name level-9
  330. description Predefined level-9 role
  331. #
  332. role name level-10
  333. description Predefined level-10 role
  334. #
  335. role name level-11
  336. description Predefined level-11 role
  337. #
  338. role name level-12
  339. description Predefined level-12 role
  340. #
  341. role name level-13
  342. description Predefined level-13 role
  343. #
  344. role name level-14
  345. description Predefined level-14 role
  346. #
  347. user-group system
  348. #
  349. local-user DHHT2024 class manage
  350. access-limit 20
  351. authorization-attribute user-role network-operator
  352. #
  353. local-user admin class manage
  354. service-type telnet http https
  355. authorization-attribute user-role network-admin
  356. #
  357. local-user dhht18 class manage
  358. authorization-attribute user-role network-operator
  359. #
  360. local-user dhht18 class network
  361. password cipher $c$3$jGAFbwINcfLB9AUed/EahZxGDeVSInuOAwI=
  362. service-type ppp
  363. authorization-attribute user-role network-operator
  364. #
  365. local-user dhhtvpn class network
  366. password cipher $c$3$3BbXAsHcBx+J3I9ZokVVldHF05CkglqMl9qW9A+d/mI=
  367. service-type ppp
  368. authorization-attribute user-role network-operator
  369. #
  370. local-user sslvpnuser class network
  371. password cipher $c$3$7Zk7wPDh0GO69YHo0pSTMQK2IolEsl7MPBf3
  372. service-type sslvpn
  373. authorization-attribute user-role network-operator
  374. authorization-attribute sslvpn-policy-group resourcegrp
  375. #
  376. security-enhanced level 2
  377. #
  378. ssl version gm-tls1.1 disable
  379. ssl renegotiation disable
  380. ssl version ssl3.0 disable
  381. ssl version tls1.0 disable
  382. undo ssl version tls1.1 disable
  383. undo ssl version tls1.2 disable
  384. undo ssl version tls1.3 disable
  385. #
  386. session statistics enable
  387. #
  388. ipsec transform-set WAN2(GE2)@DHHT2418
  389. esp encryption-algorithm aes-cbc-256 
  390. esp authentication-algorithm sha256 
  391. pfs dh-group2
  392. #
  393. ipsec transform-set WAN2(GE2)@dhhtipsec
  394. esp encryption-algorithm aes-cbc-256 
  395. esp authentication-algorithm sha1 
  396. #
  397. ipsec transform-set WAN2(GE2)@Huawei
  398. esp encryption-algorithm aes-cbc-256 
  399. esp authentication-algorithm sha256 
  400. pfs dh-group14
  401. #
  402. ipsec policy-template 18f 1
  403. transform-set WAN2(GE2)@dhhtipsec 
  404. security acl 3000 
  405. ike-profile WAN2(GE2)@dhhtipsec
  406. #
  407. l2tp-group 1 mode lns
  408. allow l2tp virtual-template 1
  409. mandatory-lcp
  410. undo tunnel authentication
  411. #
  412. l2tp-group 2 mode lns
  413. allow l2tp virtual-template 1 remote DHH
  414. undo tunnel authentication
  415. tunnel name DHH-LNS
  416. tunnel password cipher $c$3$m2q+DnBDnshMVhfWaSltMw09xw4xzDsdZlRcVTssdbQ=
  417. #
  418. l2tp-group 4 mode lns
  419. undo tunnel authentication
  420. tunnel name LNS
  421. tunnel password cipher $c$3$5fPzaq7gYOhY+RRaCAofwkazRcvdgmbyUWGMoqW+QJ0=
  422. #
  423. ike identity fqdn dhhtzb
  424. #
  425. ike profile WAN2(GE2)@DHHT2418
  426. keychain WAN2(GE2)@DHHT2418
  427. exchange-mode aggressive
  428. local-identity address 58.33.86.242
  429. match remote identity address 0.0.0.0 0.0.0.0
  430. proposal 65535 
  431. #
  432. ike profile WAN2(GE2)@dhhtipsec
  433. keychain WAN2(GE2)@dhhtipsec
  434. local-identity address 58.33.11.242
  435. match remote identity address 0.0.0.0 0.0.0.0
  436. proposal 10 
  437. #
  438. ike profile WAN2(GE2)@Huawei
  439. keychain WAN2(GE2)@Huawei
  440. exchange-mode aggressive
  441. local-identity address 58.33.11.242
  442. match remote identity address 0.0.0.0 0.0.0.0
  443. proposal 65535 
  444. #
  445. ike proposal 1
  446. encryption-algorithm aes-cbc-256
  447. dh group14
  448. #
  449. ike proposal 10
  450. encryption-algorithm aes-cbc-256
  451. dh group2
  452. authentication-algorithm md5
  453. #
  454. ike proposal 65535
  455. encryption-algorithm aes-cbc-256
  456. dh group2
  457. authentication-algorithm sha256
  458. #
  459. ike keychain WAN2(GE2)@DHHT2418
  460. pre-shared-key address 0.0.0.0 0.0.0.0 key cipher $c$3$NgiowhDvpmdMLzcgsnvguF3FLph3iR4Ni8tq0w8lBvk=
  461. #
  462. ike keychain WAN2(GE2)@dhhtipsec
  463. pre-shared-key address 0.0.0.0 0.0.0.0 key cipher $c$3$KykW8kGKUbPTO2o2mB33OitsJzhJvnWsFWLB
  464. #
  465. ike keychain WAN2(GE2)@Huawei
  466. pre-shared-key address 0.0.0.0 0.0.0.0 key cipher $c$3$ILy+xXRL2PfwN5LyJyRyAgqgElfeMRqWtdXB0gmCaXo=
  467. #
  468.  
  469. ip http enable
  470. ip https enable
  471. web new-style
  472. #
  473. url-filter category custom severity 65535
  474. #
  475. wlan ap-group default-group
  476. vlan 1
  477. radio 2.4g
  478. radio 5g
  479. #
  480. sslvpn ip address-pool sslvpnpool 10.1.1.1 10.1.1.20
  481. #
  482. sslvpn gateway gw
  483. ip address 58.33.86.242 port 4433
  484. service enable
  485. #
  486. sslvpn context ctxip
  487. gateway gw
  488. ip-tunnel interface SSLVPN-AC1
  489. ip-tunnel address-pool sslvpnpool mask 255.255.255.0
  490. ip-tunnel dns-server primary 114.114.114.114
  491. ip-route-list rtlist
  492.   include 192.168.0.0 255.255.254.0
  493. policy-group resourcegrp
  494.   filter ip-tunnel acl 3002
  495.   ip-tunnel access-route ip-route-list rtlist
  496. service enable
  497. #
  498. dac storage service dpi traffic limit hold-time 1
  499. dac storage service traffic limit hold-time 1
  500. #
  501. cloud-management server domain oasis.h3c.com
  502. #
  503. return

 

最佳答案

粉丝:4人 关注:0人

配置太长了,我没看完,是要做PBR是吗,可以试试指定下一跳接口

暂无评论

1 个回答
Xcheng 九段
粉丝:132人 关注:3人

检查下组网吧和测试过程吧


配置暂时没啥异常,而且配置中仅一个ip策略改变了出口呀


建议进一步确认细节信息进一步分析定位吧

暂无评论

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

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

对根叔社区有害的内容

×

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

不规范转载

×

举报说明