忘川彼岸|趣味组网实战分享
〇、需求描述
在一台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
推荐阅读
- 趣味社会学|却贷款十几万?店家:她又不是小孩,女子去理发参加免费减肥项目
- 趣味社会学|称酒店有炸药包?民警:这个很常见,女子被要求续交酒店费用时
- 趣味社会学|结果不见了?男子:可能没锁车门,男子把16万冬虫夏草放后备箱
- 趣味评车|不耗油吗?老司机:太天真,弄错小心油耗飙升,发动机余热可制暖
- 游戏趣味资讯|原神:为什么等级高了反而开始刮痧了?伤害组成以及世界限制
- 趣味社会学|消费19800吓得男方直接连单都不买就离开,相亲带23个人蹭饭
- “爱成都·迎大运”2020年成都市第五届小学生综合运动会田径(趣味田径)比赛圆满举办
- 时光的彼岸|被公司派外省出差几个月,换了个发型挡住圆脸,幽默笑话:姐姐胖
- 趣味社会学|无故脱岗vs见危不救?一线医生:如果是我,我也会这么做!,医院门口出车祸
- 趣味社会学|阿塞拜疆为遇难者举行葬礼
