资源描述
[实验名称] 利用路由器实现不同子网通信
[实验拓扑图]
[实验步骤]
RSR10>enable
RSR10#show ip interface brief 注意查看路由器接口的类型和数量
RSR10#configure terminal
RSR10(config)#interface f 0/0
RSR10(config-if)#ip address 172.16.1.1 255.255.255.0
RSR10(config-if)#no shut
RSR10(config-if)#exit
RSR10(config)#interface f 1/0
RSR10(config-if)#ip add 172.16.2.1 255.255.255.0
RSR10(config-if)#no shut
RSR10#show ip interface brief 查看接口IP地址配置是否正确,接口是否UP
注意事项:路由器接口的IP地址就是该接口上对应主机的默认网关地址!!!
展开阅读全文