忘川彼岸|趣味组网实战分享

〇、需求描述
在一台CentOS7系统上部署了监控系统 , 用于监控一台Windows2008服务器、一台华为AR-200路由器、一台H3C S3600交换机、一台华为Quidway S2309交换机、一台Juniper EX3200交换机 。 要求:
(1)监控系统能够PING通所有设备 , 并通过SNMP获取被监控设备的链路信息及运行信息
(2)两台服务器均能访问互联网 。
(3)从另外一台笔记本电脑上 , 可以访问监控系统 , 并可以对所有设备进行管理 。 笔记本可以在外地访问该环境(通过蒲公英) 。
一、网络拓扑
忘川彼岸|趣味组网实战分享网络拓扑图
二、组网配置
蒲公英无线配置
忘川彼岸|趣味组网实战分享蒲公英配置
华为AR-200配置
vlan 1
int vlan 1
【忘川彼岸|趣味组网实战分享】ip address 192.168.2.65 255.255.255.0
vlan 11
int vlan 11
ip address 192.168.11.5 255.255.255.0
# Ethernet 0/0/7 连H3C S3600
int Ethernet 0/0/7
port link-type trunk
port trunk allow-pass vlan all
# Ethernet 0/0/8 连光猫
int Ethernet 0/0/8
nat outbound 2999
ip address dhcp-alloc
H3C S3600配置
int vlan1
ip address 192.168.2.66 255.255.255.0
int vlan 11
ip address 192.168.11.1 255.255.255.0
# Ethernet 1/0/8 接华为AR-200
int Ethernet 1/0/8
port link-type trunk
port trunk permit vlan all
# Ethernet1/0/12 接华为Quidway S2309
int Ethernet1/0/12
port link-type trunk
port trunk permit vlan all
华为Quidway S2309配置
vlan 11
int vlan 11
ip address 192.168.11.2 255.255.255.0
# Ethernet 0/0/2 接H3C S3600
int Ethernet 0/0/2
port link-type trunk
port trunk allow-pass vlan all
# Ethernet 0/0/4 接Juniper EX3200
int Ethernet 0/0/4
port link-type trunk
port trunk allow-pass vlan all
ip route-static 192.168.2.0 255.255.255.0 192.168.11.1
Juniper EX3200
configure
set interfaces vlan unit 1 family inet address 192.168.11.3
set vlans vlan11 vlan-id 11 l3-interface vlan.1
set vlans vlan11 interface ge-0/0/0
set vlans vlan11 interface ge-0/0/12
#ge-0/0/0 连华为Quidway S2309
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode trunk vlan members vlan11
#ge-0/0/12 连Windows 2008
set interfaces ge-0/0/12 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/12 unit 0 family ethernet-switching port-mode access vlan members vlan11
set routing-options static route 192.168.2.0/24 next-hop 192.168.11.1
CentOS 7
系统为最小安装 , 通过nmtui工具进行配置 , 也可通过修改配置文件配置
忘川彼岸|趣味组网实战分享CentOS7 网络配置1
忘川彼岸|趣味组网实战分享CentOS 网络配置2


推荐阅读