天下网吧 >> 网吧方案 >> 方案实例 >> 正文

路由器ppp协议配置和认证

路由器ppp协议配置和认证:

    Router 0 的配置:

          --- System Configuration Dialog ---

    Continue with configuration dialog? [yes/no]: no

    Press RETURN to get started!

    Router>en

    Router>enable

    Router#conf

    Router#configure

    Router#configure terminal

    Enter configuration commands, one per line.  End with CNTL/Z.

    Router(config)#int

    Router(config)#interface f

    Router(config)#interface fastEthernet 0/0

    Router(config-if)#ip add

    Router(config-if)#ip address 2.2.2.1 255.0.0.0

    Router(config-if)#no shut

    Router(config-if)#no shutdown


    %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

    %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

    Router(config-if)#exit

    Router(config)#int

    Router(config)#interface s

    Router(config)#interface serial 0/0

    Router(config-if)#ip add

    Router(config-if)#ip address 1.1.1.1 255.0.0.0

    Router(config-if)#nos hut

    Router(config-if)#no shut

    Router(config-if)#no shutdown

 

    %LINK-5-CHANGED: Interface Serial0/0, changed state to down

    Router(config-if)#

    Router(config-if)#

    %LINK-5-CHANGED: Interface Serial0/0, changed state to up

    Router(config-if)#exit

    Router(config)#ip rout

    Router(config)#ip route 3.3.3.0 255.0.0.0 s

    Router(config)#ip route 3.3.3.0 255.0.0.0 serial 0/0

    Router(config)#nos hut

    Router(config)#no shut

    Router(config)#end

    %SYS-5-CONFIG_I: Configured from console by console

    Router#show ip rou

    Router#show ip route

    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

           E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

           i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

           * - candidate default, U - per-user static route, o - ODR

           P - periodic downloaded static route


    Gateway of last resort is not set

 

    C    2.0.0.0/8 is directly connected, FastEthernet0/0

    Router#ping 3.3.3.2

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 3.3.3.2, timeout is 2 seconds:

    .....

    Success rate is 0 percent (0/5)

[1] [2] [3] 下一页

本文来源:天下网吧 作者:网吧方案

声明
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系Email:support@txwb.com,系统开号,技术支持,服务联系QQ:1175525021本站所有有注明来源为天下网吧或天下网吧论坛的原创作品,各位转载时请注明来源链接!
天下网吧·网吧天下