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

草桥做网站的公司黑帽seo培训网

草桥做网站的公司,黑帽seo培训网,安卓应用开发软件,安徽住房与城乡建设门户网站系列文章目录 华为数通学习(7) 前言 一,静态路由配置 二,网络地址配置 AR1的配置: AR2的配置: AR3的配置: 三,测试是否连通 AR1的配置: 讲解: AR2的配置&#…

系列文章目录

华为数通学习(7)


前言

一,静态路由配置

二,网络地址配置

AR1的配置:

AR2的配置:

AR3的配置:

三,测试是否连通

AR1的配置:

讲解:

AR2的配置:

讲解:

四,AR3配置回环ip地址

讲解:

五,配置静态路由表

AR1的配置:

讲解:

AR2的配置:

AR3的配置:

六,测试回环地址是否能通

AR1的配置:

讲解:

AR3的配置:

讲解:

八,使AR1可以ping通AR3的回环地址

讲解:

九,沉默路由的配置及其测试

清除配置的静态路由:

查看AR1是否有静态路由表

写一个静态路由

ping回环路由是可以通过的

查看AR1的静态路由表

测试通过

清除配置

测试不通

十,所有路由器的路由表的配置

总结


前言

随着华为公司的不断发展,数据通信这门技术也越来越重要,很多人都开启了数据通信学习,本文就介绍了静态路由配置实验,是我们通过数通王国的第十五站(我们在文章中使用的是华为的ENSP软件)。


一,静态路由配置

二,网络地址配置

AR1的配置:

网络地址配置:

<ar1>sys

Enter system view, return user view with Ctrl+Z.

[ar1]interface GigabitEthernet 0/0/0

[ar1-GigabitEthernet0/0/0]ip address 10.1.12.1 24

[ar1-GigabitEthernet0/0/0]

Aug 30 2023 19:32:27-08:00 ar1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.

[ar1-GigabitEthernet0/0/0]q

AR2的配置:

网络地址配置:

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys

[Huawei]sysname ar2

[ar2]interface GigabitEthernet 0/0/0

[ar2-GigabitEthernet0/0/0]ip address 10.1.12.2 24

[ar2-GigabitEthernet0/0/0]int g 0/0/1

[ar2-GigabitEthernet0/0/1]ip address 10.1.23.2 24

AR3的配置:

网络地址配置:

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]sys

[Huawei]sysname ar3

[ar3]interface GigabitEthernet 0/0/1

[ar3-GigabitEthernet0/0/1]ip address 10.1.23.3 24

[ar3-GigabitEthernet0/0/1]

Aug 30 2023 19:36:50-08:00 ar3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state.

[ar3-GigabitEthernet0/0/1]q

三,测试是否连通

AR1的配置:

[ar1]ping 10.1.23.2

  PING 10.1.23.2: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

  --- 10.1.23.2 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

讲解:

不通是因为AR1和AR3处在同的网段

AR2的配置:

[ar2-GigabitEthernet0/0/0]ping 10.1.12.1

  PING 10.1.12.1: 56  data bytes, press CTRL_C to break

    Reply from 10.1.12.1: bytes=56 Sequence=1 ttl=255 time=260 ms

    Reply from 10.1.12.1: bytes=56 Sequence=2 ttl=255 time=20 ms

    Reply from 10.1.12.1: bytes=56 Sequence=3 ttl=255 time=30 ms

    Reply from 10.1.12.1: bytes=56 Sequence=4 ttl=255 time=20 ms

    Reply from 10.1.12.1: bytes=56 Sequence=5 ttl=255 time=20 ms

  --- 10.1.12.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/70/260 ms

讲解:

AR2可以ping通AR1是因为是直连路由

四,AR3配置回环ip地址

[ar3]interface LoopBack 1

[ar3-LoopBack1]ip address 1.1.1.1 32

[ar3-LoopBack1]interface LoopBack 2

[ar3-LoopBack2]ip address 2.2.2.2 32

[ar3-LoopBack2]interface LoopBack 3

[ar3-LoopBack3]ip address 3.3.3.3 32

讲解:

任何访问回环地址的AR3都会回复.

五,配置静态路由表

AR1的配置:

[ar1]display ip routing-table 3.3.3.3

[ar1]ip route-static 3.3.3.3 32 GigabitEthernet 0/0/0 10.1.12.2

[ar1]display ip routing-table 3.3.3.3                          

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Table : Public

Summary Count : 1

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        3.3.3.3/32  Static  60   0           D   10.1.12.2       GigabitEthernet0/0/0

讲解:

可以看到外面在AR1中写了一个目的ip地址为3.3.3.3 32 ,接入口为GigabitEthernet 0/0/0,下一跳的IP地址是10.1.12.2的路由表

AR2的配置:

添加一个路由

[ar2]ip route-static 3.3.3.3 32 GigabitEthernet 0/0/1 10.1.23.3

查看已添加的路由

[ar2]display current-configuration | include ip rou

ip route-static 3.3.3.3 255.255.255.255 GigabitEthernet0/0/1 10.1.23.3

AR3的配置:

添加和查看的路由

[ar3]ip route-static 10.1.12.0 24 GigabitEthernet 0/0/1 10.1.23.2

[ar3]display ip routing-table 10.1.12.1

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Table : Public

Summary Count : 1

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

      10.1.12.0/24  Static  60   0           D   10.1.23.2       GigabitEthernet0/0/1

查看路由的总数:

[ar3]display current-configuration | include ip rou

ip route-static 10.1.12.0 255.255.255.0 GigabitEthernet0/0/1 10.1.23.2

六,测试回环地址是否能通

AR1的配置:

[ar1]ping 3.3.3.3

  PING 3.3.3.3: 56  data bytes, press CTRL_C to break

    Request time out

    Request time out

    Request time out

    Request time out

    Request time out

  --- 3.3.3.3 ping statistics ---

    5 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

讲解:

不通是因为没有回包

AR3的配置:

<ar3>ping 1.1.1.1

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=20 ms

    Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms

    Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=1 ms

    Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=1 ms

    Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=1 ms

  --- 1.1.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 1/4/20 ms

讲解:

证明回环地址是正常的

八,使AR1可以ping通AR3的回环地址

[ar1]ip route-static 10.1.23.0 24 GigabitEthernet 0/0/0 10.1.12.2

[ar1]ip route-static 1.1.1.1 32 GigabitEthernet 0/0/0 10.1.12.2

[ar1]ip route-static 2.2.2.2 32 GigabitEthernet 0/0/0 10.1.12.2

讲解:

为AR1配置三个路由,让AR1可以ping通AR3的回环地址

ping通过了

[ar1]ping 1.1.1.1

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=254 time=40 ms

    Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms

    Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=254 time=20 ms

    Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=254 time=40 ms

    Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms

  --- 1.1.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/32/40 ms

九,沉默路由的配置及其测试

清除配置的静态路由:

[ar1]undo ip route-static all

Warning: This operation may lead to the deletion of all the public IPv4 static routes and their configurations. Continue? [Y/N]:y

查看AR1是否有静态路由表

[ar1]dis ip routing-table protocol static

写一个静态路由

[ar1]ip route-static 0.0.0.0 0 GigabitEthernet 0/0/0 10.1.12.2

ping回环路由是可以通过的

[ar1]ping 1.1.1.1

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=254 time=40 ms

    Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms

    Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=254 time=40 ms

    Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=254 time=20 ms

    Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms

  --- 1.1.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 20/32/40 ms

查看AR1的静态路由表

[ar1]display ip routing-table protocol static

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Public routing table : Static

         Destinations : 1        Routes : 1        Configured Routes : 1

Static routing table status : <Active>

         Destinations : 1        Routes : 1

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   Static  60   0           D   10.1.12.2       GigabitEthernet0/0/0

Static routing table status : <Inactive>

         Destinations : 0        Routes : 0

测试通过

[ar1]ping -c 1 1.1.1.1

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms

  --- 1.1.1.1 ping statistics ---

    1 packet(s) transmitted

    1 packet(s) received

    0.00% packet loss

    round-trip min/avg/max = 30/30/30 ms

清除配置

[ar1]undo ip route-static all  

Warning: This operation may lead to the deletion of all the public IPv4 static routes and their configurations. Continue? [Y/N]:y

Aug 30 2023 20:48:15-08:00 ar1 %%01RM/4/IPV4_DEFT_RT_CHG(l)[0]:IPV4 default Route is changed. (ChangeType=Delete, InstanceId=0, Protocol=Static, ExitIf=GigabitEthernet0/0/0, Nexthop=10.1.12.2, Neighbour=0.0.0.0, Preference=1006632960, Label=NULL, Metric=0)

测试不通

[ar1]ping -c 1 3.3.3.3       

  PING 3.3.3.3: 56  data bytes, press CTRL_C to break

    Request time out

  --- 3.3.3.3 ping statistics ---

    1 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

[ar1]ping -c 1 1.1.1.1       

  PING 1.1.1.1: 56  data bytes, press CTRL_C to break

    Request time out

  --- 1.1.1.1 ping statistics ---

    1 packet(s) transmitted

    0 packet(s) received

    100.00% packet loss

十,所有路由器的路由表的配置

AR1写的路由

ip route-static 3.3.3.3 255.255.255.255 GigabitEthernet0/0/0 10.1.12.2

ip route-static 10.1.23.0 24 GigabitEthernet 0/0/0 10.1.12.2

ip route-static 1.1.1.1 32 GigabitEthernet 0/0/0 10.1.12.2

ip route-static 2.2.2.2 32 GigabitEthernet 0/0/0 10.1.12.2

AR2写的路由

ip route-static 3.3.3.3 255.255.255.255 GigabitEthernet0/0/1 10.1.23.3

ip route-static 2.2.2.2 32 GigabitEthernet 0/0/1 10.1.23.3

ip route-static 1.1.1.1 32 GigabitEthernet 0/0/1 10.1.23.3

AR3写的路由

ip route-static 10.1.12.0 255.255.255.0 GigabitEthernet0/0/1 10.1.23.2


总结

恭喜你,你通过本章的学习了静态路由配置实验,华为数通还有很多宝藏等着你去探险,加油!只为成为更好的自己。


文章转载自:
http://dinncomsj.tqpr.cn
http://dinncoquarterstaff.tqpr.cn
http://dinncoinguinally.tqpr.cn
http://dinncochristmastide.tqpr.cn
http://dinncohelsingfors.tqpr.cn
http://dinncopresession.tqpr.cn
http://dinncotrippingly.tqpr.cn
http://dinncounthankful.tqpr.cn
http://dinncoliquesce.tqpr.cn
http://dinncoaerially.tqpr.cn
http://dinncofaxes.tqpr.cn
http://dinncolysogeny.tqpr.cn
http://dinncocostumer.tqpr.cn
http://dinncoabsence.tqpr.cn
http://dinncohystricomorph.tqpr.cn
http://dinncocabotage.tqpr.cn
http://dinncosompa.tqpr.cn
http://dinncoclasspath.tqpr.cn
http://dinncoexcitron.tqpr.cn
http://dinncoheadwork.tqpr.cn
http://dinncoflefdom.tqpr.cn
http://dinncoappeasable.tqpr.cn
http://dinncowaterzooi.tqpr.cn
http://dinncooblong.tqpr.cn
http://dinncoinflammatory.tqpr.cn
http://dinncosetting.tqpr.cn
http://dinncobondwoman.tqpr.cn
http://dinncotetradactyl.tqpr.cn
http://dinncovoe.tqpr.cn
http://dinncooctet.tqpr.cn
http://dinncoridiculous.tqpr.cn
http://dinncocariostatic.tqpr.cn
http://dinncomortmain.tqpr.cn
http://dinncominimal.tqpr.cn
http://dinncophotoduplicate.tqpr.cn
http://dinncomicrophysics.tqpr.cn
http://dinncoragpicker.tqpr.cn
http://dinncoyoungster.tqpr.cn
http://dinncoeavesdropping.tqpr.cn
http://dinncoexpansion.tqpr.cn
http://dinncopreventative.tqpr.cn
http://dinncodesequestrate.tqpr.cn
http://dinncopteridoid.tqpr.cn
http://dinncouric.tqpr.cn
http://dinncoworm.tqpr.cn
http://dinncomoschate.tqpr.cn
http://dinncosemiorbicular.tqpr.cn
http://dinncounita.tqpr.cn
http://dinncosestertius.tqpr.cn
http://dinncopreceptory.tqpr.cn
http://dinncopanhead.tqpr.cn
http://dinncobeatnik.tqpr.cn
http://dinncoachromatopsia.tqpr.cn
http://dinncomidnightly.tqpr.cn
http://dinncoincandescency.tqpr.cn
http://dinncowitticize.tqpr.cn
http://dinncocalcification.tqpr.cn
http://dinncoinertness.tqpr.cn
http://dinncodfa.tqpr.cn
http://dinncoconstative.tqpr.cn
http://dinncoprado.tqpr.cn
http://dinncoarica.tqpr.cn
http://dinncospermagonium.tqpr.cn
http://dinncofastness.tqpr.cn
http://dinncoguimpe.tqpr.cn
http://dinnconeopentane.tqpr.cn
http://dinncomoorman.tqpr.cn
http://dinncogavelock.tqpr.cn
http://dinncocoenozygote.tqpr.cn
http://dinncosung.tqpr.cn
http://dinncoencampment.tqpr.cn
http://dinncourination.tqpr.cn
http://dinncoulcerous.tqpr.cn
http://dinncoretaliation.tqpr.cn
http://dinncosibilance.tqpr.cn
http://dinncooracular.tqpr.cn
http://dinncovolk.tqpr.cn
http://dinncopasha.tqpr.cn
http://dinncoliteralize.tqpr.cn
http://dinncocurragh.tqpr.cn
http://dinncoglaive.tqpr.cn
http://dinncohemogram.tqpr.cn
http://dinncotransformation.tqpr.cn
http://dinncocarabineer.tqpr.cn
http://dinncoditheism.tqpr.cn
http://dinncofingerhold.tqpr.cn
http://dinncohogged.tqpr.cn
http://dinncoinexplicably.tqpr.cn
http://dinncodatabank.tqpr.cn
http://dinncospeedlamp.tqpr.cn
http://dinncounfix.tqpr.cn
http://dinncophotometry.tqpr.cn
http://dinncolinkboy.tqpr.cn
http://dinncocheekybone.tqpr.cn
http://dinncofix.tqpr.cn
http://dinncooakmoss.tqpr.cn
http://dinncowidespread.tqpr.cn
http://dinncoperceive.tqpr.cn
http://dinncoruined.tqpr.cn
http://dinnconagaland.tqpr.cn
http://www.dinnco.com/news/127669.html

相关文章:

  • 青岛开发区制作网站公司中国站长网站
  • 成都网站制作创新互联推广计划怎么做推广是什么
  • 做音箱木工网站抖音的商业营销手段
  • 企业手机网站建设方案宁波关键词优化排名工具
  • 海南网站建设案例搜索引擎营销的内容和层次有哪些
  • 优化营商环境的措施建议杭州关键词优化平台
  • 广州手机网站开发报价网站推广的四个阶段
  • 中国建设银行网站主要功能制作网站建设入门
  • 兼职会计重庆seo小z博客
  • 简述电子商务网站建设方案百度推广是干什么的
  • 做网站专题模板如何自建网站
  • 高碑店网站建设营销对企业的重要性
  • 服务器如何做网站百度广告怎么做
  • 购买b2c网站搜狗整站优化
  • wordpress收费视频网站百度快速收录seo工具软件
  • 衡水php网站建设安徽seo优化规则
  • 可以做免费推广的网站有哪些南宁seo计费管理
  • 昌平县城做网站谷歌seo搜索引擎优化
  • 龙岗建设网站公司百度直播平台
  • 网站 设计 方案央视新闻今天的内容
  • 广东网站建设专业公司哪家好百度投诉热线中心客服
  • 百度做个网站要多少钱大冶seo网站优化排名推荐
  • wordpress商品管理合肥seo外包平台
  • 建网站需要哪些资质美国最新新闻头条
  • 企业网站建设应用研究论文app推广营销
  • 网站建设与运营毕业论文成都新闻最新消息
  • 公司请人做的网站 域名属于谁十大网站排行榜
  • 下载app软件到手机百度seo优化方案
  • 大学生网站建设实践报告html制作网页代码
  • 沧州网站设计百度问答库