Chinaunix首页 | 论坛 | 博客
  • 博客访问: 17893205
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 17:36:17

对于远程用户拨入蓝色家园是远程用户共享家园的资源的很好方式,在下面的实例中介绍了远程用户拨入的配置.

                 蓝色家园内部 局域网:10.1.8.0/24

                 蓝色家园路由器的Ethernet 0:10.1.8.1/24

ycboru1.jpg (13118 bytes)

 

        hostname bluegarden

        !

        enable password bluegarden

        username bluegarden password bluegarden

        !

        no ip name-server

        !

        ip subnet-zero

        no ip domain-lookup

        ip routing

        !

        interface Ethernet 0

        no shutdown

        ip address 10.1.8.1 255.255.255.0

        !

        interface Serial 0

        no ip address

        shutdown

        !

        interface Serial 1

        no ip address

        shutdown

        !

        interface Group-Async 1

        no shutdown

        ip unnumbered Ethernet 0(这样可以节省一个地址)

        ip tcp header-compression passive

        encapsulation ppp

        async mode dedicated

        group-range (端口范围)

        ppp authentication chap

        no cdp enable

        peer default ip address pool bluegarden

        !

        router rip

        version 2

        network 10.1.8.0 255.255.255.0

        no auto-summary

        !

        ip local pool bluegarden 10.1.8.10 10.1.8.50

        ip classless

        no ip http server

        snmp-server community public RO

        no snmp-server location

        no snmp-server contact

        !

        line console 0

        password bluegarden

        login

        !

        line vty 0 4

        password bluegarden

        login

        !

        end

阅读(410) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~