当前位置: 首页 > wzjs >正文

做网站 接活网站建设的常用软件有哪些

做网站 接活,网站建设的常用软件有哪些,漂亮的个人网站,wordpress支持的语言种类一、拓扑图 二、需求 1、使用PreVal策略,确保R4通过R2到达192.168.10.0/24 2、使用AS_Path策略,确保R4通过R3到达192.168.11.0/24 3、配置MED策略,确保R4通过R3到达192.168.12.0/24 4、使用Local Preference策略,确保R1通过R2…

一、拓扑图

二、需求

1、使用PreVal策略,确保R4通过R2到达192.168.10.0/24

2、使用AS_Path策略,确保R4通过R3到达192.168.11.0/24

3、配置MED策略,确保R4通过R3到达192.168.12.0/24

4、使用Local Preference策略,确保R1通过R2到达192.168.1.0/24

5、使用Local Preference策略,确保R1通过R3到达192.168.2.0/24

6、配置负载均衡,确保R1通过R2和R3到达192.168.3.0/24

7、使用AS策略,AS 500不接受任何始发于AS 123的路由

8、使用自定义Community策略,确保192.168.3.0/24路由不会被发布到AS 500

9、IBGP使用环回接口建邻,EBGP使用物理接口建邻

10、修改AS 123中的用户网段为Broadcast,方便后续在BGP中宣告

11、BGP宣告路由时,仅宣告24网段的用户路由

三、需求分析

1、根据需求配置所有IP地址

2、配置OSPF协议

3、配置BGP协议并将环回接口修改为相同类型

4、宣告BGP路由

5、R4使用PreVal策略、AS_Path策略和MED策略

6、R1使用Local Preference策略并配置负载均衡

7、R5使用AS策略

8、R2、R3、R4使用自定义Community策略

四、所有配置的文字描述及代码

1、配置IP地址

#r1
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip address 12.0.0.1 24
[r1-GigabitEthernet0/0/0]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip address 13.0.0.1 24
[r1-GigabitEthernet0/0/1]int g 0/0/2
[r1-GigabitEthernet0/0/2]ip address 15.0.0.1 24
[r1-GigabitEthernet0/0/2]int l 0
[r1-LoopBack0]ip address 1.1.1.1 32
[r1-LoopBack0]int l 1
[r1-LoopBack1]ip address 192.168.100.1 24#r2
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip address 24.0.0.2 24
[r2-GigabitEthernet0/0/0]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip address 12.0.0.2 24
[r2-GigabitEthernet0/0/1]int l 0
[r2-LoopBack0]ip address 2.2.2.2 32
[r2-LoopBack0]int l 1
[r2-LoopBack1]ip address 192.168.20.1 24#r3
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip address 34.0.0.3 24
[r3-GigabitEthernet0/0/0]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip address 13.0.0.3 24
[r3-GigabitEthernet0/0/1]int l 0
[r3-LoopBack0]ip address 3.3.3.3 32
[r3-LoopBack0]int l 1
[r3-LoopBack1]ip address 192.168.30.1 24#r4
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip address 24.0.0.4 24
[r4-GigabitEthernet0/0/0]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip address 34.0.0.4 24
[r4-GigabitEthernet0/0/1]int l 0
[r4-LoopBack0]ip address 192.168.1.1 24
[r4-LoopBack0]int l 1
[r4-LoopBack1]ip address 192.168.2.1 24
[r4-LoopBack1]int l 2
[r4-LoopBack2]ip address 192.168.3.1 24#r5
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip address 15.0.0.5 24
[r5-GigabitEthernet0/0/0]int l 0
[r5-LoopBack0]ip address 192.168.10.1 24
[r5-LoopBack0]int l 1
[r5-LoopBack1]ip address 192.168.11.1 24
[r5-LoopBack1]int l 2
[r5-LoopBack2]ip address 192.168.12.1 24

2、配置OSPF协议

#r1
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 0
[r1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 12.0.0.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 13.0.0.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 192.168.100.1 0.0.0.0#r2
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]a 0
[r2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 12.0.0.2 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 192.168.20.1 0.0.0.0#r3
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]a 0
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 13.0.0.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 192.168.30.1 0.0.0.0

联通测试:

 3、配置BGP协议

#r1
[r1]bgp 123
[r1-bgp]router-id 1.1.1.1
[r1-bgp]peer 2.2.2.2 as-number 123
[r1-bgp]peer 2.2.2.2 connect-interface LoopBack 0
[r1-bgp]peer 2.2.2.2 next-hop-local
[r1-bgp]peer 3.3.3.3 as-number 123
[r1-bgp]peer 3.3.3.3 connect-interface LoopBack 0
[r1-bgp]peer 3.3.3.3 next-hop-local
[r1-bgp]peer 15.0.0.5 as-number 500#r2
[r2]bgp 123
[r2-bgp]router-id 2.2.2.2
[r2-bgp]peer 1.1.1.1 as-number 123
[r2-bgp]peer 1.1.1.1 connect-interface LoopBack 0
[r2-bgp]peer 1.1.1.1 next-hop-local
[r2-bgp]peer 24.0.0.4 as-number 400#r3
[r3]bgp 123
[r3-bgp]router-id 3.3.3.3
[r3-bgp]peer 1.1.1.1 as-number 123
[r3-bgp]peer 1.1.1.1 connect-interface LoopBack 0
[r3-bgp]peer 1.1.1.1 next-hop-local
[r3-bgp]peer 34.0.0.4 as-number 400#r4
[r4]bgp 400
[r4-bgp]router-id 4.4.4.4
[r4-bgp]peer 24.0.0.2 as-number 123
[r4-bgp]peer 34.0.0.3 as-number 123#r5
[r5]bgp 500
[r5-bgp]router-id 5.5.5.5
[r5-bgp]peer 15.0.0.1 as-number 123

查看配置情况: 

 将R1、R2、R3环回接口修改为相同类型

#r1
[r1]int l 1
[r1-LoopBack1]ospf network-type broadcast #r2
[r2]int l 1
[r2-LoopBack1]ospf network-type broadcast #r3
[r3]int l 1
[r3-LoopBack1]ospf network-type broadcast 

4、宣告BGP路由

#r1
[r1]bgp 123
[r1-bgp]network 192.168.100.0 24#r2
[r2]bgp 123
[r2-bgp]network 192.168.20.0 24#r3
[r3]bgp 123
[r3-bgp]network 192.168.30.0 24#r4
[r4]bgp 400
[r4-bgp]network 192.168.1.0 24
[r4-bgp]network 192.168.2.0 24
[r4-bgp]network 192.168.3.0 24#r5
[r5]bgp 500
[r5-bgp]network 192.168.10.0 24
[r5-bgp]network 192.168.11.0 24
[r5-bgp]network 192.168.12.0 24

5、R4使用PreVal策略

[r4]ip ip-prefix PV permit 192.168.10.0 24
[r4]route-policy PV permit node 10
Info: New Sequence of this List.
[r4-route-policy]if-match ip-prefix PV
[r4-route-policy]apply preferred-value 100
[r4-route-policy]q
[r4]route-p	
[r4]route-policy PV permit node 80
Info: New Sequence of this List.
[r4-route-policy]q
[r4]bgp 400
[r4-bgp]peer 24.0.0.2 route-policy PV import 

6、R4使用AS_Path策略

[r4]ip ip-prefix AS permit 192.168.11.0 24
[r4]route-policy AS permit node 10
Info: New Sequence of this List.
[r4-route-policy]if-match ip-prefix AS
[r4-route-policy]apply as-path 123 overwrite 

7、R4使用MED策略

8、R1使用Local Preference策略

[r1]ip ip-prefix LP permit 192.168.1.0 24
[r1]route-policy LP permit node 10
Info: New Sequence of this List.
[r1-route-policy]if-match ip-prefix LP
[r1-route-policy]apply local-preference 200
[r1-route-policy]q
[r1]bgp 123
[r1-bgp]peer 2.2.2.2 route-policy LP import 

[r1]ip ip-prefix LP1 permit 192.168.2.0 24
[r1]route-policy LP1 permit node 10
Info: New Sequence of this List.
[r1-route-policy]if-match ip-prefix LP1
[r1-route-policy]apply local-preference 200
[r1-route-policy]q
[r1]route-policy LP1 permit node 20
Info: New Sequence of this List.
[r1-route-policy]q
[r1]bgp 123
[r1-bgp]peer 3.3.3.3 route-policy LP1 import 

9、R1配置负载均衡

[r1]bgp 123
[r1-bgp]maximum load-balancing 2

10、R5使用AS策略

[r5]ip as-path-filter 1 deny _123$
[r5]ip as-path-filter 1 permit .*
[r5]bgp 500
[r5-bgp]peer 15.0.0.1 as-path-filter 1 export 

11、R2、R3、R4使用自定义Community策略

#r2
[r2]bgp 123
[r2-bgp]peer 1.1.1.1 advertise-community
[r2-bgp]q
[r2]ip community-filter 1 permit 400:111
[r2]route-policy com deny node 10
Info: New Sequence of this List.
[r2-route-policy]if-match community-filter 1
[r2-route-policy]apply community no-export additive 
[r2-route-policy]q
[r2]route-policy com permit node 100
Info: New Sequence of this List.
[r2-route-policy]q[r4]route-policy com-1 permit node 10
Info: New Sequence of this List.
[r2]bgp 123
[r2-bgp]peer 24.0.0.4 route-policy com import #r3
[r3]bgp 123
[r3-bgp]peer 1.1.1.1 advertise-community
[r3-bgp]q
[r3]ip community-filter 1 permit 400:111
[r3]route-policy com deny node 10
Info: New Sequence of this List.
[r3-route-policy]if-match community-filter 1
[r3-route-policy]apply community no-export additive 
[r3-route-policy]q
[r3]route-policy com permit node 100
Info: New Sequence of this List.
[r3-route-policy]q
[r3]bgp 123	
[r3-bgp]peer 34.0.0.4 route-policy com import #r4
[r4]route-policy com-1 permit node 10
Info: New Sequence of this List.
[r4-route-policy]apply community 400:111
[r4-route-policy]q
[r4]bgp 400
[r4-bgp]network 192.168.3.0 24 route-policy com-1
[r4-bgp]peer 24.0.0.2 advertise-ext-community
[r4-bgp]peer 34.0.0.3 advertise-ext-community

查看情况:

http://www.dtcms.com/wzjs/539810.html

相关文章:

  • 找谁做公司网站wordpress媒体库管理
  • 领地免费网站论坛类型的网站怎么做
  • 网站搜索工具做网站运营的女生多吗
  • 公众号怎么做网站做普通网站需要服务器吗
  • wordpress主题 外贸网站模板下载做外贸怎么登陆国外网站
  • 昆明做网站需要多少钱酷炫 网站模板
  • 婚礼策划网站模板中文全景网站如何建设
  • 怎么在各大网站做推广怎样与知名网站做友情链接
  • 销售一个产品的网站怎么做的wordpress 推荐位调用
  • 垣宝建设工程集团网站什么软件可以做mv视频网站
  • 网站开发硬件环境怎么填seo查询百科
  • 邢台做网站哪些网站适合瀑布流
  • 找个男做那个视频网站wordpress 多页面跳转
  • 网站建设开发公司有哪些手机做网站用什么软件
  • 西宁网站建设加q479185700免费建站的网站
  • 西安做营销型网站如何做视频会员网站
  • 云南网站设计多少钱环保网站建设
  • 好看的网站首页设计网站建设夬金手指排名壹柒
  • sae做的网站备份重庆建站公司价钱
  • 江苏省住房建设厅网站首页电子商务网站模板html
  • 做网站前台模板东莞房价
  • 合肥网站seo优化排名公司云南网络营销公司哪家好
  • 建设网站兼职廊坊网站建站建设
  • 销售方案网站网站开发与维护学生作品集
  • 网络及建设公司网站彩虹二级域名分发
  • 网站qq安全认证如何网站建设有利于网络营销
  • 网站当电话线装修平台加盟
  • 中国建设工程造价管理协会网站简称房地产设计方案
  • 泉州市住房与城乡建设局网站德州网站建设哪家好
  • gta5办公室网站正在建设网站建设捌金手指下拉二五