外网:宽带2条,1000M和300M各1条,无固定IP(光猫+无线路由器DHCP,因为光猫的DHCP配置相同且无法更改,2台无线路由器的DHCP分别为192.168.3.1/24和192.168.4.1/24;)
内网:办公楼1-3楼9台交换机;4楼3台H3C4024交换机。均为不可管理交换机。监控和其他区域光纤收发器返回。
以上设备接入MS4320v2-28s,上联F1000-ak108。
要求:
1、1-3楼及其他300M,4楼1000M,互为备份,一旦有宽带到期或断网可以转至另一条线路。
2、4楼需要访问3楼的打印机。
因为是利旧设备.......求助各位大神了!
(0)
1.https://zhiliao.h3c.com/Theme/details/45972
2.两个楼层网关在同一设备上可以互通。不在同一设备上打通路由就好
(0)
看看可行不 交换机设置: vlan 10 description for bangong123F vlan 20 description for bangong4F # 创建DHCP地址池10,给vlan10。 [CORESW1] dhcp server ip-pool 10 [CORESW1-dhcp-pool-vlan10] network 192.168.10.0 mask 255.255.255.0 [CORESW1-dhcp-pool-vlan10] gateway-list 192.168.10.1 [CORESW1-dhcp-pool-vlan10] dns-list 202.101.100.199 [CORESW1-dhcp-pool-vlan10] expired day 30 [CORESW1-dhcp-pool-vlan10] quit # 创建DHCP地址池20,给vlan20 [CORESW1] dhcp server ip-pool 20 [CORESW1-dhcp-pool-vlan20] network 192.168.20.0 mask 255.255.255.0 [CORESW1-dhcp-pool-vlan20] gateway-list 192.168.20.1 [CORESW1-dhcp-pool-vlan20] dns-list 202.101.100.199 [CORESW1-dhcp-pool-vlan20] expired day 30 [CORESW1-dhcp-pool-vlan20] quit [CORESW1] interface vlan-interface 10 [CORESW1-Vlan-interface10] dhcp select server [CORESW1-Vlan-interface10] dhcp server apply ip-pool 10 [CORESW1-Vlan-interface10] quit [CORESW1 interface vlan-interface 20 [CORESW1-Vlan-interface20] dhcp select server [CORESW1-Vlan-interface20] dhcp server apply ip-pool 20 [CORESW1-Vlan-interface20] quit 路由设置: <H3C>system-view [H3C]acl advanced 3000 [H3C-acl-ipv4-adv-3000]rule 0 permit ip source 192.168.10.0 0.0.0.255 [H3C-acl-ipv4-adv-3000]quit [H3C]acl advanced 3001 [H3C-acl-ipv4-adv-3001]rule 0 permit ip source 192.168.20.0 0.0.0.255 [H3C-acl-ipv4-adv-3001]quit [H3C]policy-based-route neiwang node 5 [H3C-pbr-neiwang-5]if-match acl 3000 [H3C-pbr-neiwang-5]apply next-hop 192.168.3.1 [H3C-pbr-neiwang-5]quit [H3C]policy-based-route neiwang node 10 [H3C-pbr-neiwang-10]if-match acl 3001 [H3C-pbr-neiwang-10]apply next-hop 192.168.4.1 [H3C-pbr-neiwang-10]quit 访问控制列表: acl number 3000 rule 10 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.20.0 0.0.0.24 端口设置: interface GigabitEthernet1/0/1 -10 //接1-3楼的交换机 description to bangong123 port access vlan 10 interface GigabitEthernet1/0/11 -14 //接4楼的交换机 description to bangong4 port access vlan 20 interface GigabitEthernet1/0/15 -18 //接光纤收发器和监控 port permit vlan all interface GigabitEthernet1/0/23 //接防火墙 G1/0/0 //???? interface GigabitEthernet1/0/24 //接防火墙 G1/0/1 //???? 防火墙设置: interface GigabitEthernet1/0/0 //内网接口 ip policy-based-route neiwang interface GigabitEthernet1/0/1-5 //未使用 port link-mode route interface GigabitEthernet1/0/6 //300M外网接口 192.168.3.1 port link-mode route ip address dhcp-alloc nat outbound interface GigabitEthernet1/0/7 //1000M外网接口,192.168.4.1 port link-mode route ip address dhcp-alloc nat outbound ip route-static 192.168.10.0 24 192.168.3.1 ip route-static 192.168.20.0 24 192.168.4.1 ip route-static 0.0.0.0 0 192.168.4.1
交换机设置:
vlan 10
description for bangong123F
vlan 20
description for bangong4F
# 创建DHCP地址池10,给vlan10。
[CORESW1] dhcp server ip-pool 10
[CORESW1-dhcp-pool-vlan10] network 192.168.10.0 mask 255.255.255.0
[CORESW1-dhcp-pool-vlan10] gateway-list 192.168.10.1
[CORESW1-dhcp-pool-vlan10] dns-list 202.101.100.199
[CORESW1-dhcp-pool-vlan10] expired day 30
[CORESW1-dhcp-pool-vlan10] quit
# 创建DHCP地址池20,给vlan20
[CORESW1] dhcp server ip-pool 20
[CORESW1-dhcp-pool-vlan20] network 192.168.20.0 mask 255.255.255.0
[CORESW1-dhcp-pool-vlan20] gateway-list 192.168.20.1
[CORESW1-dhcp-pool-vlan20] dns-list 202.101.100.199
[CORESW1-dhcp-pool-vlan20] expired day 30
[CORESW1-dhcp-pool-vlan20] quit
[CORESW1] interface vlan-interface 10
[CORESW1-Vlan-interface10] dhcp select server
[CORESW1-Vlan-interface10] dhcp server apply ip-pool 10
[CORESW1-Vlan-interface10] quit
[CORESW1 interface vlan-interface 20
[CORESW1-Vlan-interface20] dhcp select server
[CORESW1-Vlan-interface20] dhcp server apply ip-pool 20
[CORESW1-Vlan-interface20] quit
路由设置:
<H3C>system-view
[H3C]acl advanced 3000
[H3C-acl-ipv4-adv-3000]rule 0 permit ip source 192.168.10.0 0.0.0.255
[H3C-acl-ipv4-adv-3000]quit
[H3C]acl advanced 3001
[H3C-acl-ipv4-adv-3001]rule 0 permit ip source 192.168.20.0 0.0.0.255
[H3C-acl-ipv4-adv-3001]quit
[H3C]policy-based-route neiwang node 5
[H3C-pbr-neiwang-5]if-match acl 3000
[H3C-pbr-neiwang-5]apply next-hop 192.168.3.1
[H3C-pbr-neiwang-5]quit
[H3C]policy-based-route neiwang node 10
[H3C-pbr-neiwang-10]if-match acl 3001
[H3C-pbr-neiwang-10]apply next-hop 192.168.4.1
[H3C-pbr-neiwang-10]quit
访问控制列表:
acl number 3000
rule 10 permit ip source 192.168.10.0 0.0.0.255 destination 192.168.20.0 0.0.0.24
端口设置:
interface GigabitEthernet1/0/1 -10 //接1-3楼的交换机
description to bangong123
port access vlan 10
interface GigabitEthernet1/0/11 -14 //接4楼的交换机
description to bangong4
port access vlan 20
interface GigabitEthernet1/0/15 -18 //接光纤收发器和监控
port permit vlan all
interface GigabitEthernet1/0/23 //接防火墙 G1/0/0
//trunk
//????
interface GigabitEthernet1/0/24 //接防火墙 G1/0/1
//trunk
//????
防火墙设置:
interface GigabitEthernet1/0/0 //内网接口
ip policy-based-route neiwang
interface GigabitEthernet1/0/1-5 //未使用
port link-mode route
interface GigabitEthernet1/0/6 //300M外网接口 192.168.3.1
port link-mode route
ip address dhcp-alloc
nat outbound
interface GigabitEthernet1/0/7 //1000M外网接口,192.168.4.1
port link-mode route
ip address dhcp-alloc
nat outbound
ip route-static 192.168.10.0 24 192.168.3.1
ip route-static 192.168.20.0 24 192.168.4.1
ip route-static 0.0.0.0 0 192.168.4.1
(0)
您好,请知:
1、1-3楼及其他300M,4楼1000M,互为备份,一旦有宽带到期或断网可以转至另一条线路。
答:这种做好路由备份即可,如果有敏感业务需要快速切换,需要做好NQA或BFD探测。
2、4楼需要访问3楼的打印机。
答:业务访问的需求,需要做好VLAN、路由的配置即可。如果流量经过了防火墙,防火墙需要放通相关的安全策略。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
防火墙是出口,策略路由配置在了路由器是吗。交换机上如果网关地址都在他身上可以互通