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

在F100-A-G2

2022-05-21提问
  • 0关注
  • 1收藏,806浏览
粉丝:0人 关注:3人

问题描述:

在F100-A-G2防火墙上创建了2个VLAN,VLAN30和VLAN40,1/0/7和1/0/8端口都设置为bridge模式了,给VLAN30和VLAN40也设置IP地址了,做网关使用。创建了caiwu区域,并且把1/0/7和1/0/8还有VLAN30和VLAN40都加入到caiwu区域了,最后建立策略,caiwu区域到local策略,local到caiwu策略。现在1/0/7和1/0/8下的电脑都可以ping通自己的网关地址,就是ping不通对方的地址。

 有哪位老师给远程指导一下吗,我的微信号15505302082

组网及组网描述:

在F100-A-G2防火墙上创建了2个VLAN,VLAN30和VLAN40,1/0/7和1/0/8端口都设置为bridge模式了,给VLAN30和VLAN40也设置IP地址了,做网关使用。创建了caiwu区域,并且把1/0/7和1/0/8还有VLAN30和VLAN40都加入到caiwu区域了,最后建立策略,caiwu区域到local策略,local到caiwu策略。现在1/0/7和1/0/8下的电脑都可以ping通自己的网关地址,就是ping不通对方的地址。

 

最佳答案

粉丝:4人 关注:1人

电脑都配置网关了是吧,加一条caiwu到caiwu的域间策略

# version 7.1.064, Release 9313P15 # sysname H3C # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # password-recovery enable # vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 40 # vlan 4094 # object-group ip address database 0 network subnet 192.168.0.0 255.255.255.0 # object-group ip address finance 0 network subnet 192.168.2.0 255.255.255.0 10 network subnet 192.168.0.0 255.255.255.0 # object-group ip address president 0 network subnet 192.168.1.0 255.255.255.0 # object-group service web 0 service tcp destination eq 80 # dhcp server ip-pool 1 gateway-list 192.168.30.1 network 192.168.30.0 mask 255.255.255.0 # dhcp server ip-pool 2 gateway-list 192.168.40.1 network 192.168.40.0 mask 255.255.255.0 # interface NULL0 # interface Vlan-interface10 ip address 192.168.10.1 255.255.255.0 # interface Vlan-interface20 ip address 192.168.20.1 255.255.255.0 # interface Vlan-interface30 ip address 192.168.50.1 255.255.255.0 # interface Vlan-interface40 ip address 192.168.60.1 255.255.255.0 # interface GigabitEthernet1/0/0 port link-mode route # interface GigabitEthernet1/0/1 port link-mode route ip address 192.168.0.1 255.255.255.0 dhcp server apply ip-pool 1 # interface GigabitEthernet1/0/3 port link-mode route ip address 192.168.2.1 255.255.255.0 # interface GigabitEthernet1/0/4 port link-mode route ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.40.1 255.255.255.0 # interface GigabitEthernet1/0/6 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 GigabitEthernet1/0/22 port link-mode route # interface GigabitEthernet1/0/23 port link-mode route # interface GigabitEthernet1/0/2 port link-mode bridge # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 30 # interface GigabitEthernet1/0/8 port link-mode bridge port access vlan 40 # object-policy ip caiwu-caiwu rule 0 pass # object-policy ip caiwu-local rule 0 pass # object-policy ip finance-database rule 0 pass source-ip finance destination-ip database service web time-range work # object-policy ip finance-datase rule 0 pass source-ip finance destination-ip database service web time-range work # object-policy ip finance-local rule 0 pass rule 1 drop # object-policy ip local-caiwu rule 0 pass # object-policy ip management-local rule 0 pass # object-policy ip managemet-local rule 0 pass # object-policy ip president-database rule 0 pass source-ip president destination-ip database rule 1 pass source-ip president destination-ip database service web # object-policy ip president-local rule 0 pass # object-policy ip president-president rule 0 pass # object-policy ip trust-local rule 0 pass # object-policy ip trust-untrust rule 0 pass # object-policy ip untrust-trust rule 0 pass # object-policy ip xinxi-local rule 0 pass # object-policy ip xinxi-xinxi rule 0 pass # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/2 vlan 1 to 4093 # security-zone name DMZ # security-zone name Untrust # security-zone name Management import interface GigabitEthernet1/0/0 # security-zone name caiwu import interface Vlan-interface30 import interface Vlan-interface40 import interface GigabitEthernet1/0/7 vlan 1 to 4094 import interface GigabitEthernet1/0/8 vlan 1 to 4094 # security-zone name database import interface GigabitEthernet1/0/1 # security-zone name databases # security-zone name datadase # security-zone name finance import interface GigabitEthernet1/0/3 # security-zone name president import interface GigabitEthernet1/0/4 # security-zone name xinxi import interface Vlan-interface10 import interface Vlan-interface20 # zone-pair security source caiwu destination caiwu object-policy apply ip caiwu-caiwu # zone-pair security source caiwu destination Local object-policy apply ip caiwu-local # zone-pair security source finance destination database object-policy apply ip finance-database # zone-pair security source finance destination Local object-policy apply ip finance-local # zone-pair security source Local destination caiwu object-policy apply ip local-caiwu # zone-pair security source Management destination Local object-policy apply ip management-local # zone-pair security source president destination database object-policy apply ip president-database # zone-pair security source president destination Local object-policy apply ip president-local # zone-pair security source president destination president object-policy apply ip president-president # zone-pair security source Trust destination Untrust object-policy apply ip trust-untrust # zone-pair security source Untrust destination Trust object-policy apply ip untrust-trust # zone-pair security source xinxi destination Local object-policy apply ip xinxi-local # scheduler logfile size 16 # line class aux user-role network-operator # line class console user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-operator # line con 0 user-role network-admin # line vty 0 63 user-role network-operator # ip route-static 192.168.20.0 24 192.168.20.1 # ftp client source ip 192.168.1.2 # time-range work 09:30 to 09:40 working-day time-range work 15:00 to 17:00 working-day time-range work 11:31 to 11:42 working-day time-range wokr 10:00 to 10:35 working-day time-range word 10:59 to 11:03 working-day # tftp client source interface GigabitEthernet1/0/4 # 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 1 class manage password hash $h$6$Tn66C3/nO3JzpyGS$h+QKlYJb5P/QXnfmzvPbx6gp63HMmLq/2LRxMmTmX82QpyzIG7ux+8UoKKKs8W6LPsge2ft0U4W7+wLholhkxg== service-type http authorization-attribute user-role level-5 authorization-attribute user-role level-15 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ftp server enable # ip http enable # ips policy default # anti-virus policy default # return

zhiliao_OtfbA5 发表时间:2022-05-21 更多>>

也添加caiwu区域到caiwu区域了,PC防火墙也关闭来了

zhiliao_OtfbA5 发表时间:2022-05-21

两台PC都设置网关了吧

不知道起啥名 发表时间:2022-05-21

都配置了,而且各自的网关都可以ping通,但是ping对方的地址就不通了

zhiliao_OtfbA5 发表时间:2022-05-21

PCping对方的网关可以ping通吗

不知道起啥名 发表时间:2022-05-21

不通的,能否给远程指导一下,我的微信15505302082

zhiliao_OtfbA5 发表时间:2022-05-21

可以把配置贴上来让大家都看一下,集思广益

不知道起啥名 发表时间:2022-05-21

好的

zhiliao_OtfbA5 发表时间:2022-05-21

# version 7.1.064, Release 9313P15 # sysname H3C # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # dhcp enable # password-recovery enable # vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 40 # vlan 4094 # object-group ip address database 0 network subnet 192.168.0.0 255.255.255.0 # object-group ip address finance 0 network subnet 192.168.2.0 255.255.255.0 10 network subnet 192.168.0.0 255.255.255.0 # object-group ip address president 0 network subnet 192.168.1.0 255.255.255.0 # object-group service web 0 service tcp destination eq 80 # dhcp server ip-pool 1 gateway-list 192.168.30.1 network 192.168.30.0 mask 255.255.255.0 # dhcp server ip-pool 2 gateway-list 192.168.40.1 network 192.168.40.0 mask 255.255.255.0 # interface NULL0 # interface Vlan-interface10 ip address 192.168.10.1 255.255.255.0 # interface Vlan-interface20 ip address 192.168.20.1 255.255.255.0 # interface Vlan-interface30 ip address 192.168.50.1 255.255.255.0 # interface Vlan-interface40 ip address 192.168.60.1 255.255.255.0 # interface GigabitEthernet1/0/0 port link-mode route # interface GigabitEthernet1/0/1 port link-mode route ip address 192.168.0.1 255.255.255.0 dhcp server apply ip-pool 1 # interface GigabitEthernet1/0/3 port link-mode route ip address 192.168.2.1 255.255.255.0 # interface GigabitEthernet1/0/4 port link-mode route ip address 192.168.1.1 255.255.255.0 # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.40.1 255.255.255.0 # interface GigabitEthernet1/0/6 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 GigabitEthernet1/0/22 port link-mode route # interface GigabitEthernet1/0/23 port link-mode route # interface GigabitEthernet1/0/2 port link-mode bridge # interface GigabitEthernet1/0/7 port link-mode bridge port access vlan 30 # interface GigabitEthernet1/0/8 port link-mode bridge port access vlan 40 # object-policy ip caiwu-caiwu rule 0 pass # object-policy ip caiwu-local rule 0 pass # object-policy ip finance-database rule 0 pass source-ip finance destination-ip database service web time-range work # object-policy ip finance-datase rule 0 pass source-ip finance destination-ip database service web time-range work # object-policy ip finance-local rule 0 pass rule 1 drop # object-policy ip local-caiwu rule 0 pass # object-policy ip management-local rule 0 pass # object-policy ip managemet-local rule 0 pass # object-policy ip president-database rule 0 pass source-ip president destination-ip database rule 1 pass source-ip president destination-ip database service web # object-policy ip president-local rule 0 pass # object-policy ip president-president rule 0 pass # object-policy ip trust-local rule 0 pass # object-policy ip trust-untrust rule 0 pass # object-policy ip untrust-trust rule 0 pass # object-policy ip xinxi-local rule 0 pass # object-policy ip xinxi-xinxi rule 0 pass # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/2 vlan 1 to 4093 # security-zone name DMZ # security-zone name Untrust # security-zone name Management import interface GigabitEthernet1/0/0 # security-zone name caiwu import interface Vlan-interface30 import interface Vlan-interface40 import interface GigabitEthernet1/0/7 vlan 1 to 4094 import interface GigabitEthernet1/0/8 vlan 1 to 4094 # security-zone name database import interface GigabitEthernet1/0/1 # security-zone name databases # security-zone name datadase # security-zone name finance import interface GigabitEthernet1/0/3 # security-zone name president import interface GigabitEthernet1/0/4 # security-zone name xinxi import interface Vlan-interface10 import interface Vlan-interface20 # zone-pair security source caiwu destination caiwu object-policy apply ip caiwu-caiwu # zone-pair security source caiwu destination Local object-policy apply ip caiwu-local # zone-pair security source finance destination database object-policy apply ip finance-database # zone-pair security source finance destination Local object-policy apply ip finance-local # zone-pair security source Local destination caiwu object-policy apply ip local-caiwu # zone-pair security source Management destination Local object-policy apply ip management-local # zone-pair security source president destination database object-policy apply ip president-database # zone-pair security source president destination Local object-policy apply ip president-local # zone-pair security source president destination president object-policy apply ip president-president # zone-pair security source Trust destination Untrust object-policy apply ip trust-untrust # zone-pair security source Untrust destination Trust object-policy apply ip untrust-trust # zone-pair security source xinxi destination Local object-policy apply ip xinxi-local # scheduler logfile size 16 # line class aux user-role network-operator # line class console user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-operator # line con 0 user-role network-admin # line vty 0 63 user-role network-operator # ip route-static 192.168.20.0 24 192.168.20.1 # ftp client source ip 192.168.1.2 # time-range work 09:30 to 09:40 working-day time-range work 15:00 to 17:00 working-day time-range work 11:31 to 11:42 working-day time-range wokr 10:00 to 10:35 working-day time-range word 10:59 to 11:03 working-day # tftp client source interface GigabitEthernet1/0/4 # 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 1 class manage password hash $h$6$Tn66C3/nO3JzpyGS$h+QKlYJb5P/QXnfmzvPbx6gp63HMmLq/2LRxMmTmX82QpyzIG7ux+8UoKKKs8W6LPsge2ft0U4W7+wLholhkxg== service-type http authorization-attribute user-role level-5 authorization-attribute user-role level-15 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # ftp server enable # ip http enable # ips policy default # anti-virus policy default # return

zhiliao_OtfbA5 发表时间:2022-05-21
2 个回答
粉丝:146人 关注:1人

1、创建一个caiwu到caiwu的区域策略

2、关闭PC防火墙


粉丝:97人 关注:1人

兄弟这个问题你至少问了三次了吧

你没添加好

IT钟点工 发表时间:2022-05-21 更多>>

但是一直没解决啊,这个论坛怎么添加附件啊,我想把附件添加上,我添加完以后怎么不显示

zhiliao_OtfbA5 发表时间:2022-05-21

你没添加好

IT钟点工 发表时间:2022-05-21

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

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

对根叔社区有害的内容

×

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

不规范转载

×

举报说明