Packet Tracer路由器简单配置

2025-04-16 11:47:58

1、路由器Router2:Router>enable 进入特权模式Router#configure terminal 进入全局配置袷蜍滇刷模式Router(config)#hostname RA 将路由器名字改为RARA(config)#enable password todd 设置进入特权模式的密码RA(config)#interface fastEthernet 0/0 进入以太网接口0/0RA(config-if)#ip address 192.168.10.1 255.255.255.0 添加IP地址也就是网关RA(config-if)#no shutdown 开启RA(config)#interface serial 2/0 进入广域网接口RA(config-if)#ip address 192.168.20.1 255.255.255.0 添加IP地址RA(config-if)#no shutdown 开启RA(config)#ip route 192.168.30.0 255.255.255.0 192.168.20.2 添加静态路由用10.2 ping 20.2,会出现超时,是因为只对RA添加路由是不行的,因为虽然它可以发送成功,但是回来的路径不通,所以要对路由器3也要加路由表路由器Router3:Router>enable 进入特权模式Router#configure terminal 进入全局配置模式Router(config)#hostname RA 将路由器名字改为RARA(config)#enable password todd 设置进入特权模式的密码RA(config)#interface fastEthernet 0/0 进入以太网接口0/0RA(config-if)#ip address 192.168.30.1 255.255.255.0 添加IP地址也就是网关RA(config-if)#no shutdown 开启RA(config)#interface serial 2/0 进入广域网接口RA(config-if)#ip address 192.168.20.1 255.255.255.0 添加IP地址RA(config-if)#no shutdown 开启RA(config-if)#clock rate 64000 时钟频率RB(config)#ip route 192.168.10.0 255.255.255.0 192.168.20.1

Packet Tracer路由器简单配置
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢