F1070的配置及路由表信息如下:
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]dis cu
#
version 7.1.064, Release 9333P22
#
sysname H3C_F1070
#
context Admin id 1
#
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 10
irf member 2 priority 1
#
security-zone intra-zone default permit
#
track 3 interface Ten-GigabitEthernet1/0/25
#
track 4 interface Ten-GigabitEthernet2/0/25
#
lldp global enable
#
password-recovery enable
#
vlan 1
#
irf-port 1/2
port group interface GigabitEthernet1/0/22
port group interface GigabitEthernet1/0/23
#
irf-port 2/1
port group interface GigabitEthernet2/0/22
port group interface GigabitEthernet2/0/23
#
object-group ip address lan
0 network host address 10.10.10.2
#
object-group ip address wan
0 network host address 124.202.212.61
#
interface Route-Aggregation1
ip address 112.50.255.14 255.255.255.252
link-aggregation mode dynamic
nat outbound
#
interface Route-Aggregation2
ip address 112.50.255.10 255.255.255.252
link-aggregation mode dynamic
#
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
#
interface GigabitEthernet1/0/2
port link-mode route
#
interface GigabitEthernet1/0/3
port link-mode route
ip address 10.10.10.1 255.255.255.0
#
interface GigabitEthernet1/0/4
port link-mode route
#
interface GigabitEthernet1/0/5
port link-mode route
#
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
#
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
#
interface GigabitEthernet1/0/18
port link-mode route
#
interface GigabitEthernet1/0/19
port link-mode route
#
interface GigabitEthernet1/0/20
port link-mode route
#
interface GigabitEthernet1/0/21
port link-mode route
#
interface GigabitEthernet2/0/0
port link-mode route
#
interface GigabitEthernet2/0/1
port link-mode route
#
interface GigabitEthernet2/0/2
port link-mode route
#
interface GigabitEthernet2/0/3
port link-mode route
ip address 20.20.20.1 255.255.255.0
#
interface GigabitEthernet2/0/4
port link-mode route
#
interface GigabitEthernet2/0/5
port link-mode route
#
interface GigabitEthernet2/0/6
port link-mode route
#
interface GigabitEthernet2/0/7
port link-mode route
#
interface GigabitEthernet2/0/8
port link-mode route
#
interface GigabitEthernet2/0/9
port link-mode route
#
interface GigabitEthernet2/0/10
port link-mode route
#
interface GigabitEthernet2/0/11
port link-mode route
#
interface GigabitEthernet2/0/12
port link-mode route
#
interface GigabitEthernet2/0/13
port link-mode route
#
interface GigabitEthernet2/0/14
port link-mode route
#
interface GigabitEthernet2/0/15
port link-mode route
#
interface GigabitEthernet2/0/16
port link-mode route
#
interface GigabitEthernet2/0/17
port link-mode route
#
interface GigabitEthernet2/0/18
port link-mode route
#
interface GigabitEthernet2/0/19
port link-mode route
#
interface GigabitEthernet2/0/20
port link-mode route
#
interface GigabitEthernet2/0/21
port link-mode route
#
interface GigabitEthernet1/0/22
description "H3C_FW_Stack"
#
interface GigabitEthernet1/0/23
description "H3C_FW_Stack"
#
interface GigabitEthernet2/0/22
description "H3C_FW_Stack"
#
interface GigabitEthernet2/0/23
description "H3C_FW_Stack"
#
interface Ten-GigabitEthernet1/0/24
port link-mode route
description "wan"
port link-aggregation group 1
#
interface Ten-GigabitEthernet1/0/25
port link-mode route
description "lan"
port link-aggregation group 2
#
interface Ten-GigabitEthernet2/0/24
port link-mode route
description "wan"
port link-aggregation group 1
#
interface Ten-GigabitEthernet2/0/25
port link-mode route
description "lan"
port link-aggregation group 2
#
interface Tunnel0 mode gre
description "GRE"
ip address 172.31.254.2 255.255.255.252
source 112.50.255.14
destination 112.5.149.6
nat outbound
#
security-zone name Local
#
security-zone name Trust
import interface GigabitEthernet1/0/3
import interface GigabitEthernet2/0/3
import interface Route-Aggregation2
import interface Ten-GigabitEthernet1/0/25
import interface Ten-GigabitEthernet2/0/25
#
security-zone name DMZ
#
security-zone name Untrust
import interface Route-Aggregation1
import interface Ten-GigabitEthernet1/0/24
import interface Ten-GigabitEthernet2/0/24
import interface Tunnel0
#
security-zone name Management
import interface GigabitEthernet1/0/0
#
scheduler logfile size 16
#
line class aux
user-role network-operator
#
line class console
authentication-mode scheme
user-role network-admin
#
line class usb
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-admin
#
line aux 1
user-role network-operator
#
line con 0 1
user-role network-admin
#
line vty 0 63
authentication-mode scheme
user-role network-admin
protocol inbound ssh
#
ip route-static 0.0.0.0 0 Tunnel0
ip route-static 49.7.237.0 24 112.50.255.13
ip route-static 112.5.149.0 24 112.50.255.13
ip route-static 124.202.212.61 32 112.50.255.13
#
ssh server enable
#
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 Chinamobile class manage
password hash $h$6$GZcT0j9xL5rFeOe0$byfbcz/JB+rndZzyLEBM1L5iTN+3RTsiUUAB2lveWpTc+DUSQMBytz+FLSJXP7YvAlhOSb5UmvxipZ5CeGx/5Q==
service-type ssh terminal https
authorization-attribute user-role level-15
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
local-user admin class manage
password hash $h$6$hiIC9gh8o33NHimX$ZGjSctX9S+YugWdUHvbd2wNFWOU+ca9uVNUsHaIEzStUYJKZptqAjz1q6GGdFgj5o9RWdxOVp/Y5UjjDaU4Kpg==
service-type ssh terminal https
authorization-attribute user-role level-3
authorization-attribute user-role network-admin
authorization-attribute user-role network-operator
#
session statistics enable
#
ipsec logging negotiation enable
#
ike logging negotiation enable
#
ip https enable
webui log enable
#
security-policy ip
rule 5 name trust/local->untrust
action pass
source-zone trust
source-zone local
destination-zone untrust
destination-zone local
rule 10 name untrust->trust
action pass
source-zone untrust
source-zone local
destination-zone trust
destination-zone local
#
return
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]dis ip routing
[H3C_F1070]dis ip routing-table
Destinations : 28 Routes : 28
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/0 Static 60 0 0.0.0.0 Tun0
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
10.10.10.0/24 Direct 0 0 10.10.10.1 GE1/0/3
10.10.10.0/32 Direct 0 0 10.10.10.1 GE1/0/3
10.10.10.1/32 Direct 0 0 127.0.0.1 InLoop0
10.10.10.255/32 Direct 0 0 10.10.10.1 GE1/0/3
49.7.237.0/24 Static 60 0 112.50.255.13 RAGG1
112.5.149.0/24 Static 60 0 112.50.255.13 RAGG1
112.50.255.8/30 Direct 0 0 112.50.255.10 RAGG2
112.50.255.8/32 Direct 0 0 112.50.255.10 RAGG2
112.50.255.10/32 Direct 0 0 127.0.0.1 InLoop0
112.50.255.11/32 Direct 0 0 112.50.255.10 RAGG2
112.50.255.12/30 Direct 0 0 112.50.255.14 RAGG1
112.50.255.12/32 Direct 0 0 112.50.255.14 RAGG1
112.50.255.14/32 Direct 0 0 127.0.0.1 InLoop0
112.50.255.15/32 Direct 0 0 112.50.255.14 RAGG1
124.202.212.61/32 Static 60 0 112.50.255.13 RAGG1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
172.31.254.0/30 Direct 0 0 172.31.254.2 Tun0
172.31.254.0/32 Direct 0 0 172.31.254.2 Tun0
172.31.254.2/32 Direct 0 0 127.0.0.1 InLoop0
172.31.254.3/32 Direct 0 0 172.31.254.2 Tun0
224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0
224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0
255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]
[H3C_F1070]
直连的一个外网地址是112.50.255.13,一个内网地址是112.50.255.9 ,掩码都是30位的。
帮忙看看命令里敲得有什么问题吗
(0)
local-trust放通安全策略就可以了
(0)
您好,请知:
LOCAL作为源分别放通到trust和untrust看下。
其次防火墙的14带源PING测试看下是否能通。
由于14是在聚合组下,也有NAT,看下将NAT应用到物理端口是否能PING通。
(0)
只能逐步测试了。
只能逐步测试了。
在安全域上需要增加一条local到untrust即可
(0)
两个写一起的没试过,我都是单条逐一写出来的
两个写一起的没试过,我都是单条逐一写出来的
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明