简易多企业级路由器家宽接入分区域单独使用家宽带宽配置组网配置

节省成本 考虑开票

5台H3C mini G2200 企业级路由器

4台千兆交换机

73个用户终端

2台服务器

1台共享打印机

4条300M家庭宽带

1条50M专线

用户之间互通

题目很大 看起来很乱

家庭宽带光猫无需调整桥接模式(为什么这个以后有时间说)

关闭光猫 DHCP服务即可

企业级路由器配置 WAN口

同时规划了每个路由器的内网ip段 要求不多 直接24位的就行

同时保留需要固定使用的几个ip

整体网络结构

Ar1出网

Ar2出网

Ar3出网

Ar4出网

Ar5出网

Ar1DHCP配置网段

Ar2DHCP配置网段

Ar3DHCP配置网段

Ar4DHCP配置网段

Ar5DHCP配置网段

ar 4现有配置 ar2 3 5类似

<Huawei>dis cu

[V200R003C00]

#

board add 0/1 1GEC

board add 0/2 1GEC

board add 0/3 1GEC

board add 0/4 1GEC

#

snmp-agent local-engineid DB000

snmp-agent

#

clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load flash:/portalpage.zip

#

drop illegal-mac alarm

#

wlan ac-global carrier id other ac id 0

#

set cpu-usage threshold 80 restore 75

#

dhcp enable

#

acl number 2000

rule 5 permit source 192.168.240.0 0.0.0.255

rule 10 deny

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 192.168.137.40 255.255.255.0

nat outbound 2000

#

interface GigabitEthernet0/0/1

ip address 192.168.240.1 255.255.255.0

dhcp select interface

dhcp server dns-list 211.141.16.99 211.141.0.99

#

interface GigabitEthernet0/0/2

#

interface GigabitEthernet1/0/0

ip address 172.16.40.2 255.255.255.0

#

interface GigabitEthernet2/0/0

#

interface GigabitEthernet3/0/0

#

interface GigabitEthernet4/0/0

#

interface NULL0

#

interface LoopBack0

ip address 4.4.4.4 255.255.255.0

#

ip route-static 0.0.0.0 0.0.0.0 192.168.137.1

ip route-static 192.168.100.0 255.255.255.0 172.16.40.1

ip route-static 192.168.200.0 255.255.255.0 172.16.40.1

ip route-static 192.168.230.0 255.255.255.0 172.16.40.1

ip route-static 192.168.250.0 255.255.255.0 172.16.40.1

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

Ar1配置

[V200R003C00]

#

board add 0/1 1GEC

board add 0/2 1GEC

board add 0/3 1GEC

board add 0/4 1GEC

#

snmp-agent local-engineid DB000

snmp-agent

#

clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load flash:/portalpage.zip

#

drop illegal-mac alarm

#

wlan ac-global carrier id other ac id 0

#

set cpu-usage threshold 80 restore 75

#

dhcp enable

#

acl number 2000

rule 5 permit source 192.168.100.0 0.0.0.255

rule 10 deny

#

aaa

authentication-scheme default

authorization-scheme default

accounting-scheme default

domain default

domain default_admin

local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

local-user admin service-type http

#

firewall zone Local

priority 15

#

interface GigabitEthernet0/0/0

ip address 192.168.137.10 255.255.255.0

nat outbound 2000

#

interface GigabitEthernet0/0/1

ip address 172.16.30.1 255.255.255.0

#

interface GigabitEthernet0/0/2

ip address 172.16.50.1 255.255.255.0

#

interface GigabitEthernet1/0/0

ip address 172.16.20.1 255.255.255.0

#

interface GigabitEthernet2/0/0

ip address 172.16.40.1 255.255.255.0

#

interface GigabitEthernet3/0/0

ip address 192.168.100.1 255.255.255.0

dhcp select interface

dhcp server dns-list 211.141.16.99 211.141.0.99

#

interface GigabitEthernet4/0/0

#

interface NULL0

#

interface LoopBack0

ip address 1.1.1.1 255.255.255.0

#

ip route-static 0.0.0.0 0.0.0.0 192.168.137.1

ip route-static 192.168.200.0 255.255.255.0 172.16.20.2

ip route-static 192.168.230.0 255.255.255.0 172.16.30.2

ip route-static 192.168.240.0 255.255.255.0 172.16.40.2

ip route-static 192.168.250.0 255.255.255.0 172.16.50.2

#

user-interface con 0

authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

主要利用 静态路由配置 DHCP服务配置

nat配置 如果用户可以投入更多 升级路由器 可配置ospf路由区域配置

映射这里不显示