华为路由器接口IP地址如何配置与查看

2019-03-3018:13:08计算机网络技术Comments60,537 views5字数 750阅读模式

网段的最终表现形式是IP地址,也就是说路由器的IP地址,那么我们如何配置路由器的IP地址呢?文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

还是拿上一个拓扑图来举例子:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

华为路由器接口IP地址如何配置与查看

路由器AR1配置如下文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR1]interface GigabitEthernet 0/0/0文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR1-GigabitEthernet0/0/0]ip address 192.168.1.1 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

配置路由器AR2文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2]interface GigabitEthernet 0/0/0文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2-GigabitEthernet0/0/0]ip address 192.168.1.2 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2]interface GigabitEthernet 0/0/1文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2-GigabitEthernet0/0/1]ip address 192.168.2.1 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

路由器AR3配置文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR3]interface GigabitEthernet 0/0/0文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR3-GigabitEthernet0/0/0]ip address 192.168.2.2 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR3]interface GigabitEthernet 0/0/1文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR3-GigabitEthernet0/0/1]ip address 192.168.3.1 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

配置AR4文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR4]interface GigabitEthernet 0/0/0文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR4-GigabitEthernet0/0/0]ip address 192.168.3.2 24文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

如何查看配置好的IP地址呢?有两种方式文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

我们可以进入某个接口通过命令display this 查询这个接口的IP文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2]interface GigabitEthernet 0/0/0文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

[AR2-GigabitEthernet0/0/0]display this文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

华为路由器接口IP地址如何配置与查看

第二种通过命令:display ip interface brief查看所有接口IP文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

>AR2文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html

华为路由器接口IP地址如何配置与查看
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/wangluo/10833.html
  • 本站内容整理自互联网,仅提供信息存储空间服务,以方便学习之用。如对文章、图片、字体等版权有疑问,请在下方留言,管理员看到后,将第一时间进行处理。
  • 转载请务必保留本文链接:https://www.cainiaoxueyuan.com/wangluo/10833.html

Comment

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定