设备纳管简易网络配置
设备简易纳管网络方案配置
文章目录
- 设备简易纳管网络方案配置
- 前言
- 一、纳管配置步骤
- 二、实验拓扑
- 1.如下图
- 2.设备配置介绍
前言
简易配置方案,实际现网有些区别,实验中全部未配置保护备份。
一、纳管配置步骤
1,环内设备使用OSPF进行网管信号通信
2,环总头设备及单挂设备使用EPL专线增加VLAN传输至汇总设备
3,汇总设备使用EVPL透传各个站点VLAN
4,专线处使用IS-IS做IGP并启用MPLS
5,使用2种专线方式,MPLS L2 及L3专线
二、实验拓扑
1.如下图
2.设备配置介绍
2.1 环节点与环头设备通信配置
设备间使用Serial模拟GCC通信
首先配置R2的环回口IP地址(为节点IP)
interface LoopBack0ip address 10.49.202.126 255.255.255.255
在Serial接口下配置借用环回口地址
interface Serial0/0/0link-protocol pppip address unnumbered interface LoopBack0
再将环回口宣告至OSPF中
ospf 1area 0.0.0.0network 10.49.202.126 0.0.0.0
R1的Serial接口同样配置
interface LoopBack0ip address 10.49.202.62 255.255.255.255interface Serial0/0/0link-protocol pppip address unnumbered interface LoopBack0
最后需要将R1的默认路由宣告给R2来引导环节点设备的数据转发
ospf 1default-route-advertisearea 0.0.0.0network 10.49.202.62 0.0.0.0
至此可以使R2ping通R1
2.2 模拟环总头与单挂节点配置
R1配置
使用子接口模拟EPL增加VLAN
interface GigabitEthernet0/0/0.2021dot1q termination vid 2021ip address 10.49.255.185 255.255.255.252arp broadcast enable
配置一条去往汇聚交换机的默认路由
ip route-static 0.0.0.0 0.0.0.0 10.49.255.186
R6同样配置子接口与节点IP及默认路由
interface GigabitEthernet0/0/0.2031dot1q termination vid 2031ip address 10.49.255.177 255.255.255.252arp broadcast enable
interface LoopBack0ip address 10.49.203.62 255.255.255.255
ip route-static 0.0.0.0 0.0.0.0 10.49.255.178
2.3 使用LSW1交换机模拟汇聚设备的EVPL功能
配置VLAN并绑定接口通过0/0/2接口把数据传给汇聚交换机
interface Ethernet0/0/1port link-type trunkport trunk allow-pass vlan 2021
#
interface Ethernet0/0/2port link-type trunkport trunk allow-pass vlan 2021 2031
#
interface Ethernet0/0/3port link-type trunkport trunk allow-pass vlan 2031
2.4 LW2 市公司汇聚交换机配置
先配置对应设备的VLANIF地址
interface Vlanif2021description anxiip address 10.49.255.186 255.255.255.252
#
interface Vlanif2031description tongmeiip address 10.49.255.178 255.255.255.252
配置VLAN放行
interface Ethernet0/0/1port link-type trunkport trunk allow-pass vlan 2021 2031
继续配置2个VLANIF地址分别通往2个方向
interface Vlanif301description to shenggongsiip address 10.49.128.1 255.255.255.252
#
interface Vlanif501description to umsip address 10.49.254.1 255.255.255.252
interface Ethernet0/0/2port link-type trunkport trunk allow-pass vlan 301
#
interface Ethernet0/0/3port link-type trunkport trunk allow-pass vlan 501
配置各个业务方向的静态路由表
ip route-static 10.49.202.0 255.255.255.0 10.49.255.185 往设备方向
ip route-static 10.49.203.0 255.255.255.0 10.49.255.177 往设备方向
ip route-static 10.255.255.0 255.255.255.0 10.49.254.2 UMS服务器IP
ip route-static 172.31.255.41 255.255.255.255 10.49.128.2 省公司服务器IP
2.5 先介绍CN2网络L2 专线配置(去往省公司选这种专线)
配置IS-IS并在接口上启用
R3:
isis 100network-entity 49.0001.0001.0000.00interface GigabitEthernet0/0/0ip address 10.0.0.1 255.255.255.252isis enable 100interface LoopBack0ip address 3.3.3.3 255.255.255.255isis enable 100
R4:
isis 100network-entity 49.0001.0002.0000.00interface GigabitEthernet0/0/0ip address 10.0.0.2 255.255.255.252isis enable 100interface LoopBack0ip address 4.4.4.4 255.255.255.255isis enable 100
然后接口启用MPLS并启用L2VPN与LDP
R3:
mpls lsr-id 3.3.3.3
mpls
#
mpls l2vpn
#
mpls ldp
R4:
mpls lsr-id 4.4.4.4
mpls
#
mpls l2vpn
#
mpls ldp
在R3与R4对接接口上分别配置
mpls
mpls ldp
R3上配置远端邻居
mpls ldp remote-peer 4.4.4.4
R4上配置远端邻居
mpls ldp remote-peer 3.3.3.3
选用R3的G0/0/2端口对接市公司汇聚服务器,在G0/0/2端口配置专线业务
interface GigabitEthernet0/0/2mpls l2vc 4.4.4.4 100 control-wordmpls l2vpn pw bfd
R4选G0/0/1对接省公司服务器并配置专线业务
interface GigabitEthernet0/0/1mpls l2vc 3.3.3.3 100 control-wordmpls l2vpn pw bfd
至此R3的G0/0/2与R4的G0/0/1之间就相当于一条网线
2.5.1 市公司网管交换机LSW3与省公司网管交换机LSW5间配置,路由选用BGP,后期将静态路由宣告至BGP。
LSW3与LSW5配置VLANIF地址并绑定至端口
LSW3:使用E0/0/3对接R3 G0/0/2
interface Vlanif201description bgpip address 172.0.100.1 255.255.255.252
interface Ethernet0/0/3port link-type accessport default vlan 201
LSW5:使用E0/0/2对接R4G0/0/1
interface Vlanif201description bgpip address 172.0.100.2 255.255.255.252
interface Ethernet0/0/2port link-type accessport default vlan 201
LSW3启用BGP并将通往设备的静态路由宣告
bgp 65533router-id 172.0.100.1peer 172.0.100.2 as-number 65533#ipv4-family unicastundo synchronizationnetwork 10.49.128.0 255.255.128.0peer 172.0.100.2 enable
#
ip route-static 10.49.128.0 255.255.128.0 10.49.128.1
LSW5启用BGP并将通往设备的直连路由宣告
bgp 65533router-id 172.0.100.2peer 172.0.100.1 as-number 65533#ipv4-family unicastundo synchronizationimport-route directpeer 172.0.100.1 enable
至此环节点设备就可PING通省公司服务器
2.6 去往UMS的L3专线配置还是使用R3与R4
R3配置:先配置一条VPN INTSTANCE
ip vpn-instance UMSipv4-familyroute-distinguisher 100:100vpn-target 200:200 export-extcommunityvpn-target 200:200 import-extcommunity
然后将VPN绑定至子接口下
interface GigabitEthernet0/0/1.101dot1q termination vid 101ip binding vpn-instance UMSip address 172.0.0.1 255.255.255.252arp broadcast enable
启用BGP 的MPSL VPNV4 并将直连与静态路由引入
bgp 65535router-id 3.3.3.3peer 4.4.4.4 as-number 65535peer 4.4.4.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 4.4.4.4 enablepeer 4.4.4.4 next-hop-local#ipv4-family vpnv4policy vpn-targetpeer 4.4.4.4 enable#ipv4-family vpn-instance UMSimport-route directimport-route static
#
ip route-static vpn-instance UMS 10.49.128.0 255.255.128.0 172.0.0.2
R4配置:同样先配置VPN INSTANCE
ip vpn-instance UMSipv4-familyroute-distinguisher 100:101vpn-target 200:200 export-extcommunityvpn-target 200:200 import-extcommunity
将VPN 绑定至子接口
interface GigabitEthernet0/0/2.101dot1q termination vid 101ip binding vpn-instance UMSip address 172.0.10.1 255.255.255.252arp broadcast enable
同样启用BGP MPLS VPNV4 并将路由引入
bgp 65535router-id 4.4.4.4peer 3.3.3.3 as-number 65535peer 3.3.3.3 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 3.3.3.3 enablepeer 3.3.3.3 next-hop-local#ipv4-family vpnv4policy vpn-targetpeer 3.3.3.3 enable#ipv4-family vpn-instance UMSimport-route directimport-route static
#
ip route-static vpn-instance UMS 10.255.255.0 255.255.255.0 172.0.10.2
至此L3专线已开通
2.7 去往UMS的2台交换机LSW4 LSW6配置
LSW4配置:
配置2个VLANIF通信地址并绑定至端口分别往专线路由器与市汇聚交换机
interface Vlanif101ip address 172.0.0.2 255.255.255.252
#
interface Vlanif501ip address 10.49.254.2 255.255.255.252
#
interface Ethernet0/0/1port link-type trunkport trunk allow-pass vlan 501
#
interface Ethernet0/0/2port link-type trunkport trunk allow-pass vlan 101
配置静态路由表
ip route-static 10.49.128.0 255.255.128.0 10.49.254.1
ip route-static 10.255.255.0 255.255.255.0 172.0.0.1
LSW6配置:
也是配置2个VLANIF通信地址一边往服务器一边往专线路由器
interface Vlanif101ip address 172.0.10.2 255.255.255.252
#
interface Vlanif501ip address 10.255.255.1 255.255.255.0
#
interface Ethernet0/0/1port link-type trunkport trunk allow-pass vlan 101
#
interface Ethernet0/0/2port link-type accessport default vlan 501
再配置一条静态路由
ip route-static 10.49.128.0 255.255.128.0 172.0.10.1
至此环节点设备也可PING通ums
设备纳管简易网络配置相关推荐
- 《VMware Virtual SAN权威指南(原书第2版)》一3.4 VSAN网络配置之vSphere分布式交换机...
3.4 VSAN网络配置之vSphere分布式交换机 VSAN要使用VDS,需要配置一个分布式端口组来承载VSAN流量.创建分布式端口组后,就可以在独立的ESXi主机上创建VMkernel接口来使用这 ...
- centos的网络配置
centos的网络配置 centos设置dns CentOS 5.5 里面怎么修改IP地址DNS服务器等网络设置? 1.CentOS 修改DNS服务器 # vi /etc/resolv.conf 修改 ...
- [Centos 6.2] centos 6.2(64位)网络配置
1.CentOS 修改DNS服务器 # vi /etc/resolv.conf 修改以下内容 nameserver 8.8.8.8#google域名服务器 nameserver 8.8.4.4 #go ...
- CentOS修改网络配置
1.CentOS系统 修改DNS 修改对应网卡的DNS的配置文件 # vi /etc/resolv.conf 修改以下内容 nameserver x.x.x.x 2.CentOS系统修改网关 修改对 ...
- 网络及其服务配置------网络配置
网络配置 网络配置 1)/etc/inetd.conf (2)/etc/rc.d/rc.inet1和/etc/rc.d/rc.inet1.conf (3)/etc/hostname 4)/etc/ho ...
- SDWAN-viptela设备纳管以及配置下发
环境说明: vEdge1和vEdge2表示企业的两个站点,LAN9和LAN10是内部网络,LAN9和LAN10都有一个loopback0接口, vEdge1和LAN9之间运行OSPF协议.vEdge1 ...
- 构建简易网络与网络设备的简单配置(Cisco Packet Tracer)第三弹:动态路由协议配置
本文讲述了在路由器上配置动态路由的方法. 动态路由是指路由器能够自动地建立自己的路由表,并且能够根据实际情况的变化适时地进行调整.动态路由是与静态路由相对的一个概念,指路由器能够根据路由器之间的交换的 ...
- 电脑设备中PCI简易通讯控制器驱动显示黄色感叹号图标怎么办【申明:来源于网络】
电脑设备中PCI简易通讯控制器驱动显示黄色感叹号图标怎么办[申明:来源于网络] 电脑设备中PCI简易通讯控制器驱动显示黄色感叹号图标: http://wenda.so.com/q/1467255688 ...
- ouster-32激光雷达实测:ROS驱动编译使用与设备连接的网络配置
ouster-32激光雷达实测:ROS驱动编译使用与设备连接的网络配置 ouster-32 ROS驱动 驱动安装 依赖 下载 编译 功能包功能 连接到实时传感器 重播录制的包 录制新的包文件 设备连接 ...
最新文章
- 《为什么在多核处理器下需要内存屏障(MenmoryBarrier)?》
- web前端项目--用hbuilder调试app项目
- python参数的可变参数与关键词参数
- 丑憨批的爬虫笔记2(爬虫引发的问题+robots协议)
- 串口字符传输时间计算
- linux 内核设备管理模型sysfs(进阶篇)
- pcb板子制作各层的解释和用法
- 【华为云技术分享】华为云ServiceStage正式加入Spring生态大家族!
- 用计算机作业,四川电大计算机办公软件应用第1次形考作业
- 编码原则 之 Once and Only Once
- 【loj6307】「雅礼国庆 2017 Day1」Clique 贪心
- MemCache在Windows下环境的搭建及启动
- linux 下spi的使用 ,cc2500模块驱动
- python判断素数的函数_python判断素数的方法
- Ant Design Pro从零到一(Mock使用)
- Pascal VOC转COCO格式亲测有效
- 英特尔奔腾芯片漏洞_什么是奔腾(英特尔)?
- 客户成功团队的 OKR 案例
- 电脑网络图标有*号,或者本地连接图标有红叉,但能正常上网问题解决
- 【2023校招刷题】第二期:数字IC笔试模拟题(2)详细解析版
热门文章
- 爬虫之cookie处理
- 前端开发指南:HTML5与CSS3知识点总结
- 逻辑门器件,直接用二极管、三极管搭建
- java jstack 命令笔记
- H5仿微信界面教程(一)
- MYSQL--my.cnf配置中文详解
- SSE 加速运算例子详解:乘法、加法、平方、最小值、最大值、与操作
- mwb 还原 mysql_[MySQL]WorkBench管理操作MySQL
- 缓解驾驶疲劳,22款奔驰GLB200升级23P智能驾驶辅助系统
- c 连接mysql.mwb_mysql-将初始表数据导入到.mwb模型文件