R1(config)#end
R1#configure terminal
R1(config)#interface f0/0 //声明接口f0/0
R1(config-if)#no shutdown //打开接口
R1(config)#interface f0/1 //声明接口f0/1
R1(config-if)#no shutdown
R1(config-if)#interface s0/2/1
R1(config-if)#no shutdown
R1(config-if)#end
查看R1接口配置情况
R1#show ip int b //展示R1路由
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset up up
FastEthernet0/1 unassigned YES unset up down
Serial0/2/0 unassigned YES unset administratively down down
Serial0/2/1 unassigned YES unset up up
R1(config-if)#int s0/2/1
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#end
R1(config-if)#int f0/0
R1(config-if)#ip address 192.168.10.254 255.255.255.0
R1(config-if)#end
R1#show ip int b //展示R1路由
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.254 YES unset up up
FastEthernet0/1 unassigned YES unset up down
Serial0/2/0 unassigned YES unset administratively down down
Serial0/2/1 192.168.12.1 YES unset up up
R2:打开接口并配置IP地址
R2r#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2r(config)#interface f 0/0
R2(config-if)#no shutdown
R2(config-if)#ip address 192.168.20.254 255.255.255.0
R2(config-if)#end
R2r#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface f 0/1
R2(config-if)#no shutdown
R2(config-if)#end
R2r#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2r(config)#interface s0/2/1
R2(config-if)#no shutdown
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#end
R2#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface s0/0/0
R2(config-if)#no shutdown
R2(config-if)#ip address 192.168.24.2 255.255.255.0
R2(config-if)#end
R2r#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface s0/0/1
R2(config-if)#no shutdown
R2(config-if)#ip address 192.168.23.2 255.255.255.0
R2(config-if)#end
查看R2接口配置情况
R2#show ip int b
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.20.254 YES manual up down
FastEthernet0/1 unassigned YES unset up down
Serial0/0/0 192.168.24.2 YES manual up up
Serial0/0/1 192.168.23.2 YES manual up up
Serial0/2/0 unassigned YES unset down down
Serial0/2/1 192.168.12.2 YES manual up up
R3:打开接口并配置IP地址
Router>enable
Router#conf t
Router(config)#hostname R3
R3(config)#int f0/0
R3(config-if)#no shutdown
R3(config-if)#ip address 192.168.30.3 255.255.255.0
R3(config-if)#exit
R3(config)#int f0/1
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#int s0/2/0
R3(config-if)#no shutdown
R3(config-if)#ip address 192.168.34.3 255.255.255.0
R3(config-if)#exit
R3(config)#int s0/2/1
R3(config-if)#no shutdown
R3(config-if)#ip address 192.168.23.3 255.255.255.0
R3(config-if)#end
查看R3接口配置情况
R3#show ip int b
Interface IP-Address OK? Method Status Prot
FastEthernet0/0 192.168.30.254 YES unset up up
FastEthernet0/1 unassigned YES unset up down
Serial0/2/0 192.168.34.3 YES manual up up
Serial0/2/1 192.168.23.3 YES manual up up
R4:打开接口并配置IP地址
R4#config ter
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int f0/0
R4(config-if)#ip add 192.168.40.4 255.255.255.0
R4(config)#int s0/2/0
R4(config-if)#ip add 192.168.23.4 255.255.255.0
R4(config-if)#exit
R4(config)#int s0/2/1
R4(config-if)#ip add 192.168.34.4 255.255.255.0
R4(config-if)#end
查看R4接口配置情况
R4#show ip int b
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.30.254 YES unset up up
FastEthernet0/1 unassigned YES unset up down
面试复习笔记:
这份资料我从春招开始,就会将各博客、论坛。网站上等优质的Android开发中高级面试题收集起来,然后全网寻找最优的解答方案。每一道面试题都是百分百的大厂面经真题+最优解答。包知识脉络 + 诸多细节。
节省大家在网上搜索资料的时间来学习,也可以分享给身边好友一起学习。
《960页Android开发笔记》
《1307页Android开发面试宝典》
包含了腾讯、百度、小米、阿里、乐视、美团、58、猎豹、360、新浪、搜狐等一线互联网公司面试被问到的题目。熟悉本文中列出的知识点会大大增加通过前两轮技术面试的几率。
《507页Android开发相关源码解析》
只要是程序员,不管是Java还是Android,如果不去阅读源码,只看API文档,那就只是停留于皮毛,这对我们知识体系的建立和完备以及实战技术的提升都是不利的。
真正最能锻炼能力的便是直接去阅读源码,不仅限于阅读各大系统源码,还包括各种优秀的开源库。
《Android学习笔记总结+移动架构视频+大厂面试真题+项目实战源码》,点击传送门,即可获取!
85269)]
《507页Android开发相关源码解析》
只要是程序员,不管是Java还是Android,如果不去阅读源码,只看API文档,那就只是停留于皮毛,这对我们知识体系的建立和完备以及实战技术的提升都是不利的。
真正最能锻炼能力的便是直接去阅读源码,不仅限于阅读各大系统源码,还包括各种优秀的开源库。
《Android学习笔记总结+移动架构视频+大厂面试真题+项目实战源码》,点击传送门,即可获取!