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

F1000 ak145 防火墙双wan配置问题

2022-08-19提问
  • 0关注
  • 0收藏,856浏览
粉丝:0人 关注:0人

问题描述:

一条电信固定ip,一条电信ppoe,做了策略路由分流,现在只要两条都连上使用,过一段时间固定ip的就不能用,但是该宽带单独接又没有问题。各位大佬分析一下原因呢





组网及组网描述:


# version 7.1.064, Release 9345P2413 # sysname SEFA_ID:8864 # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # track 1 nqa entry admin wan1/0/2 reaction 1 # track 2 nqa entry dia0 dia0 reaction 1 # ospf 100 area 0.0.0.0 network 10.1.1.0 0.0.0.3 # ip pool aaa 100.19.0.2 100.19.0.20 ip pool aaa gateway 100.19.0.1 # dialer-group 1 rule ip permit # nat log enable # dns server 223.5.5.5 dns server 114.114.114.114 dns server 8.8.8.8 # password-recovery enable # vlan 1 # object-group ip address 10.168.1 security-zone Trust 0 network subnet 10.168.1.0 255.255.255.0 # object-group ip address 10.168.2-4 security-zone Trust 0 network subnet 10.168.2.0 255.255.255.0 10 network subnet 10.168.3.0 255.255.255.0 20 network subnet 10.168.4.0 255.255.255.0 stp global enable # policy-based-route lyj permit node 10 if-match acl 3500 apply next-hop x.x.x.x track 1 # policy-based-route lyj permit node 20 if-match acl 3501 apply default-output-interface Dialer0 track 2 # nqa entry admin wan1/0/2 type icmp-echo destination ip 223.5.5.5 frequency 2000 history-record enable probe count 3 probe timeout 1000 reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only source interface GigabitEthernet1/0/2 # nqa entry dia0 dia0 type icmp-echo destination ip 223.5.5.5 frequency 2000 history-record enable out interface Dialer0 probe count 3 probe timeout 1000 reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only # nqa schedule admin wan1/0/2 start-time now lifetime forever nqa schedule dia0 dia0 start-time now lifetime forever # controller Cellular1/0/0 # interface Dialer0 mtu 1492 ppp chap password cipher $c$3$eOhYZdPH3V+nxZNypsRp+JGWVkVYFYw7O7Dj ppp chap user ****** ppp pap local-user ********* password cipher ******** dialer bundle enable dialer-group 1 dialer timer idle 0 dialer timer autodial 5 ip address ppp-negotiate dns server 61.139.2.69 dns server 223.6.6.6 tcp mss 1200 nat outbound # interface Virtual-Template1 ppp authentication-mode chap domain system remote address pool aaa # interface NULL0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route ip address 10.1.1.1 255.255.255.252 nat hairpin enable ip policy-based-route lyj # interface GigabitEthernet1/0/2 port link-mode route ip address x.x.x.x 255.255.255.0 ip last-hop hold nat outbound gateway x.x.x.1 # interface GigabitEthernet1/0/3 port link-mode route bandwidth 400000 mtu 1454 shutdown broadcast-suppression 90 multicast-suppression 90 unicast-suppression 90 ip last-hop hold nat static enable pppoe-client dial-bundle-number 0 # interface GigabitEthernet1/0/4 port link-mode route # interface GigabitEthernet1/0/5 port link-mode route ip address 10.1.1.10 255.255.255.0 # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/9 port link-mode route shutdown ip address 10.2.2.2 255.255.255.0 # interface GigabitEthernet1/0/10 port link-mode route # interface GigabitEthernet1/0/11 port link-mode route # interface GigabitEthernet1/0/12 port link-mode route # interface GigabitEthernet1/0/13 port link-mode route # interface GigabitEthernet1/0/14 port link-mode route # interface GigabitEthernet1/0/15 port link-mode route # interface GigabitEthernet1/0/16 port link-mode route # interface GigabitEthernet1/0/17 port link-mode route # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/1 attack-defense apply policy def # security-zone name DMZ blacklist enable # security-zone name Untrust import interface Dialer0 import interface GigabitEthernet1/0/2 import interface GigabitEthernet1/0/3 attack-defense apply policy def blacklist enable # security-zone name Management import interface GigabitEthernet1/0/0 blacklist enable # zone-pair security source Any destination Any packet-filter 2000 # scheduler logfile size 16 # line class aux user-role network-operator # line class console authentication-mode scheme user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 Dialer0 track 2 ip route-static 0.0.0.0 0 x.x.x.1 track 1 ip route-static 10.168.0.0 16 10.1.1.2 # info-center logfile module ATK size-quota 10 info-center logfile module BLS size-quota 10 # customlog format nat unicom customlog format security-policy sgcc customlog format dpi ips customlog format dpi anti-virus customlog format dpi ip-reputation customlog format dpi traffic-policy # ssh server enable ssh server acl 3500 # time-range "work time" 08:11 to 11:30 daily time-range "work time" 13:30 to 17:30 daily # ntp-service enable ntp-service refclock-master # acl basic 2000 rule 0 permit source 10.168.4.144 0 rule 1 deny # acl basic 2001 rule 0 permit source 10.168.1.0 0.0.0.255 rule 5 deny source 0.0.0.0 0 # acl basic 2040 rule 0 permit source object-group 10.168.1 counting # acl basic 2041 rule 0 permit source object-group 10.168.2-4 # acl basic 2500 # acl advanced 3000 rule 0 permit ip source object-group 服务器 # acl advanced 3001 rule 0 permit ip destination 0.0.0.5 255.255.255.0 # acl advanced 3500 rule 0 permit ip source 10.168.1.0 0.0.0.255 # acl advanced 3501 rule 0 permit ip source 10.168.2.0 0.0.0.255 rule 1 permit ip source 10.168.3.0 0.0.0.255 rule 2 permit ip source 10.168.4.0 0.0.0.255 #




2 个回答
粉丝:138人 关注:0人

您好,配置调下格式,有点乱

version 7.1.064, Release 9345P2413 # sysname SEFA_ID:8864 # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # track 1 nqa entry admin wan1/0/2 reaction 1 # track 2 nqa entry dia0 dia0 reaction 1 # ospf 100 area 0.0.0.0 network 10.1.1.0 0.0.0.3 # ip pool aaa 100.19.0.2 100.19.0.20 ip pool aaa gateway 100.19.0.1 # dialer-group 1 rule ip permit # nat log enable # dns server 223.5.5.5 dns server 114.114.114.114 dns server 8.8.8.8 # password-recovery enable # vlan 1 # object-group ip address 10.168.1 security-zone Trust 0 network subnet 10.168.1.0 255.255.255.0 # object-group ip address 10.168.2-4 security-zone Trust 0 network subnet 10.168.2.0 255.255.255.0 10 network subnet 10.168.3.0 255.255.255.0 20 network subnet 10.168.4.0 255.255.255.0 stp global enable # policy-based-route lyj permit node 10 if-match acl 3500 apply next-hop x.x.x.x track 1 # policy-based-route lyj permit node 20 if-match acl 3501 apply default-output-interface Dialer0 track 2 # nqa entry admin wan1/0/2 type icmp-echo destination ip 223.5.5.5 frequency 2000 history-record enable probe count 3 probe timeout 1000 reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only source interface GigabitEthernet1/0/2 # nqa entry dia0 dia0 type icmp-echo destination ip 223.5.5.5 frequency 2000 history-record enable out interface Dialer0 probe count 3 probe timeout 1000 reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only # nqa schedule admin wan1/0/2 start-time now lifetime forever nqa schedule dia0 dia0 start-time now lifetime forever # controller Cellular1/0/0 # interface Dialer0 mtu 1492 ppp chap password cipher $c$3$eOhYZdPH3V+nxZNypsRp+JGWVkVYFYw7O7Dj ppp chap user ****** ppp pap local-user ********* password cipher ******** dialer bundle enable dialer-group 1 dialer timer idle 0 dialer timer autodial 5 ip address ppp-negotiate dns server 61.139.2.69 dns server 223.6.6.6 tcp mss 1200 nat outbound # interface Virtual-Template1 ppp authentication-mode chap domain system remote address pool aaa # interface NULL0 # interface GigabitEthernet1/0/0 port link-mode route ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route ip address 10.1.1.1 255.255.255.252 nat hairpin enable ip policy-based-route lyj # interface GigabitEthernet1/0/2 port link-mode route ip address x.x.x.x 255.255.255.0 ip last-hop hold nat outbound gateway x.x.x.1 # interface GigabitEthernet1/0/3 port link-mode route bandwidth 400000 mtu 1454 shutdown broadcast-suppression 90 multicast-suppression 90 unicast-suppression 90 ip last-hop hold nat static enable pppoe-client dial-bundle-number 0 # interface GigabitEthernet1/0/4 port link-mode route # interface GigabitEthernet1/0/5 port link-mode route ip address 10.1.1.10 255.255.255.0 # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/9 port link-mode route shutdown ip address 10.2.2.2 255.255.255.0 # interface GigabitEthernet1/0/10 port link-mode route # interface GigabitEthernet1/0/11 port link-mode route # interface GigabitEthernet1/0/12 port link-mode route # interface GigabitEthernet1/0/13 port link-mode route # interface GigabitEthernet1/0/14 port link-mode route # interface GigabitEthernet1/0/15 port link-mode route # interface GigabitEthernet1/0/16 port link-mode route # interface GigabitEthernet1/0/17 port link-mode route # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/1 attack-defense apply policy def # security-zone name DMZ blacklist enable # security-zone name Untrust import interface Dialer0 import interface GigabitEthernet1/0/2 import interface GigabitEthernet1/0/3 attack-defense apply policy def blacklist enable # security-zone name Management import interface GigabitEthernet1/0/0 blacklist enable # zone-pair security source Any destination Any packet-filter 2000 # scheduler logfile size 16 # line class aux user-role network-operator # line class console authentication-mode scheme user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 Dialer0 track 2 ip route-static 0.0.0.0 0 x.x.x.1 track 1 ip route-static 10.168.0.0 16 10.1.1.2

zhiliao_ClXzS 发表时间:2022-08-19
zhiliao_ClXzS 知了小白
粉丝:0人 关注:0人

 version 7.1.064, Release 9345P2413

#

 sysname SEFA_ID:8864

#

context Admin id 1

#

 irf mac-address persistent timer

 irf auto-update enable

 undo irf link-delay

 irf member 1 priority 1

#

track 1 nqa entry admin wan1/0/2 reaction 1

#

track 2 nqa entry dia0 dia0 reaction 1

#

ospf 100

 area 0.0.0.0

  network 10.1.1.0 0.0.0.3

#

 ip pool aaa 100.19.0.2 100.19.0.20

 ip pool aaa gateway 100.19.0.1

#

 dialer-group 1 rule ip permit

#

 nat log enable

#

 dns server 223.5.5.5

 dns server 114.114.114.114

 dns server 8.8.8.8

#

 password-recovery enable

#

vlan 1

#

object-group ip address 10.168.1

 security-zone Trust

 0 network subnet 10.168.1.0 255.255.255.0

#

object-group ip address 10.168.2-4

 security-zone Trust

 0 network subnet 10.168.2.0 255.255.255.0

 10 network subnet 10.168.3.0 255.255.255.0

 20 network subnet 10.168.4.0 255.255.255.0

 

 stp global enable

#

policy-based-route lyj permit node 10

 if-match acl 3500

 apply next-hop x.x.x.x track 1

#

policy-based-route lyj permit node 20

 if-match acl 3501

 apply default-output-interface Dialer0 track 2

#

nqa entry admin wan1/0/2

 type icmp-echo

  destination ip 223.5.5.5

  frequency 2000

  history-record enable

  probe count 3

  probe timeout 1000

  reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only

  source interface GigabitEthernet1/0/2

#

nqa entry dia0 dia0

 type icmp-echo

  destination ip 223.5.5.5

  frequency 2000

  history-record enable

  out interface Dialer0

  probe count 3

  probe timeout 1000

  reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only

#

 nqa schedule admin wan1/0/2 start-time now lifetime forever

 nqa schedule dia0 dia0 start-time now lifetime forever

#

controller Cellular1/0/0

#

interface Dialer0

 mtu 1492

 ppp chap password cipher $c$3$eOhYZdPH3V+nxZNypsRp+JGWVkVYFYw7O7Dj

 ppp chap user ******

 ppp pap local-user ********* password cipher ********

 dialer bundle enable

 dialer-group 1

 dialer timer idle 0

 dialer timer autodial 5

 ip address ppp-negotiate

 dns server 61.139.2.69

 dns server 223.6.6.6

 tcp mss 1200

 nat outbound

#

interface Virtual-Template1

 ppp authentication-mode chap domain system

 remote address pool aaa

#

interface NULL0

#

interface GigabitEthernet1/0/0

 port link-mode route

 ip address 192.168.0.1 255.255.255.0

#

interface GigabitEthernet1/0/1

 port link-mode route

 ip address 10.1.1.1 255.255.255.252

 nat hairpin enable

 ip policy-based-route lyj

#

interface GigabitEthernet1/0/2

 port link-mode route

 ip address x.x.x.x 255.255.255.0

 ip last-hop hold

 nat outbound

 gateway x.x.x.1

#

interface GigabitEthernet1/0/3

 port link-mode route

 bandwidth 400000

 mtu 1454

 shutdown

 broadcast-suppression 90

 multicast-suppression 90

 unicast-suppression 90

 ip last-hop hold

 nat static enable

 pppoe-client dial-bundle-number 0

#

interface GigabitEthernet1/0/4

 port link-mode route

#

interface GigabitEthernet1/0/5

 port link-mode route

 ip address 10.1.1.10 255.255.255.0

#

interface GigabitEthernet1/0/6

 port link-mode route

#

interface GigabitEthernet1/0/7

 port link-mode route

#

interface GigabitEthernet1/0/8

 port link-mode route

#

interface GigabitEthernet1/0/9

 port link-mode route

 shutdown

 ip address 10.2.2.2 255.255.255.0

#

interface GigabitEthernet1/0/10

 port link-mode route

#

interface GigabitEthernet1/0/11

 port link-mode route

#

interface GigabitEthernet1/0/12

 port link-mode route

#

interface GigabitEthernet1/0/13

 port link-mode route

#

interface GigabitEthernet1/0/14

 port link-mode route

#

interface GigabitEthernet1/0/15

 port link-mode route

#

interface GigabitEthernet1/0/16

 port link-mode route

#

interface GigabitEthernet1/0/17

 port link-mode route

#

security-zone name Local

#

security-zone name Trust

 import interface GigabitEthernet1/0/1

 attack-defense apply policy def

#

security-zone name DMZ

 blacklist enable

#

security-zone name Untrust

 import interface Dialer0

 import interface GigabitEthernet1/0/2

 import interface GigabitEthernet1/0/3

 attack-defense apply policy def

 blacklist enable

#

security-zone name Management

 import interface GigabitEthernet1/0/0

 blacklist enable

#

zone-pair security source Any destination Any

 packet-filter 2000

#

 scheduler logfile size 16

#

line class aux

 user-role network-operator

#

line class console

 authentication-mode scheme

 user-role network-admin

#

line class vty

 user-role network-operator

#

line aux 0

 user-role network-admin

#

line con 0

 user-role network-admin

#

line vty 0 63

 authentication-mode scheme

 user-role network-admin

#

 ip route-static 0.0.0.0 0 Dialer0 track 2

 ip route-static 0.0.0.0 0 x.x.x.1 track 1

 ip route-static 10.168.0.0 16 10.1.1.2

目前将 interface GigabitEthernet1/0/3手动关闭了

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

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

对根叔社区有害的内容

×

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

不规范转载

×

举报说明