精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學習啦 > 學習電腦 > 電腦安全 > 防火墻知識 > cisco路由器怎么樣設置

      cisco路由器怎么樣設置

      時間: 林輝766 分享

      cisco路由器怎么樣設置

        cisco是我們經(jīng)常用到的建設網(wǎng)站工具,那么cisco路由器要怎么樣設置呢?下面由學習啦小編給你做出詳細的cisco路由器設置方法介紹!希望對你有幫助!

        cisco路由器設置方法一:

        cisco路由器設置1、建立用戶

        建立用戶和修改密碼跟Cisco IOS路由器基本一樣。

        激活

        激活以太端口必須用enable進入,然后進入configure模式

        PIX525>enable

        Password:

        PIX525#config t

        PIX525(config)#interface ethernet0 auto

        PIX525(config)#interface ethernet1 auto

        在默認情況下ethernet0是屬外部網(wǎng)卡outside, ethernet1是屬內部網(wǎng)卡inside,

        inside在初始化配置成功的情況下已經(jīng)被激活生效了,但是outside必須命令配置激活。

        cisco路由器設置2、命名端口

        采用命令nameif

        PIX525(config)#nameif ethernet0 outside security0

        security100

        security0是外部端口outside的安全級別(100安全級別最高)

        security100是內部端口inside的安全級別,如果中間還有以太口,則security10,security20等等命名,多個網(wǎng)卡組成多個網(wǎng)絡,一般情況下增加一個以太口作為DMZ(Demilitarized Zones非武裝區(qū)域)。

        cisco路由器設置3、配置地址

        采用命令為:ip address

        如:內部網(wǎng)絡為:192.168.1.0 255.255.255.0

        外部網(wǎng)絡為:222.20.16.0 255.255.255.0

        PIX525(config)#ip address inside 192.168.1.1 255.255.255.0

        PIX525(config)#ip address outside 222.20.16.1 255.255.255.0

        cisco路由器設置4、配置遠程

        在默然情況下,PIX的以太端口是不允許telnet的,這一點與路由器有區(qū)別。Inside端口可以做telnet就能用了,但outside端口還跟一些安全配置有關。

        PIX525(config)#telnet 192.168.1.1 255.255.255.0 inside

        PIX525(config)#telnet 222.20.16.1 255.255.255.0 outside

        測試telnet

        在[開始]->[運行]

        telnet 192.168.1.1

        PIX passwd:

        輸入密碼:cisco

        cisco路由器設置5、訪問列表

        此功能與Cisco IOS基本上是相似的,也是Firewall的主要部分,有permit和deny兩個功能,網(wǎng)絡協(xié)議一般有IP|TCP|UDP|ICMP等等,如:只允許訪問主機:222.20.16.254的www,端口為:80

        PIX525(config)#access-list 100permit ip any host 222.20.16.254 eq www

        deny ip any any

        PIX525(config)#access-group 100 in interface outside

        cisco路由器設置6、地址轉換

        NAT跟路由器基本是一樣的,

        首先必須定義IP Pool,提供給內部IP地址轉換的地址段,接著定義內部網(wǎng)段。

        PIX525(config)#global (outside) 1 222.20.16.100-222.20.16.200 netmask 255.255.255.0

        PIX525(config)#nat (outside) 1 192.168.0.0 255.255.255.0

        如果是內部全部地址都可以轉換出去則:

        PIX525(config)#nat (outside) 1 0.0.0.0 0.0.0.0

        則某些情況下,外部地址是很有限的,有些主機必須單獨占用一個IP地址,必須解決的是公用一個外部IP(222.20.16.201),則必須多配置一條命令,這種稱為(PAT),這樣就能解決更多用戶同時共享一個IP,有點像代理服務器一樣的功能。配置如下:

        PIX525(config)#global (outside) 1 222.20.16.100-222.20.16.200 netmask 255.255.255.0

        PIX525(config)#global (outside) 1 222.20.16.201 netmask

        255.255.255.0

        PIX525(config)#nat (outside) 1 0.0.0.0 0.0.0.0

        cisco路由器設置7、DHCP

        在內部網(wǎng)絡,為了維護的集中管理和充分利用有限IP地址,都會啟用動態(tài)主機分配IP地址服務器(DHCP Server),Cisco Firewall PIX都具有這種功能,下面簡單配置DHCP Server,地址段為192.168.1.100—192.168.1.200

        DNS: 主202.96.128.68 備202.96.144.47

        主域名稱:

        DHCP Client 通過PIX Firewall

        PIX525(config)#ip address dhcp

        DHCP Server配置

        PIX525(config)#dhcpd address 192.168.1.100-192.168.1.200

        inside

        PIX525(config)#dhcp dns 202.96.128.68 202.96.144.47

        PIX525(config)#dhcp domain

        cisco路由器設置方法二:

        以下是遠路由設置

        ***-route#show run

        Building configuration...

        Current configuration : 1993 byte

        version 12.4

        service timestamps debug datetime msec

        service timestamps log datetime msec

        no service password-encryption

        hostname ***-route

        boot-start-marker

        boot-end-marker

        logging buffered 51200 warnings

        enable secret *************************

        enable password ***@.com.cn

        no aaa new-model

        resource policy

        ip subnet-zero

        ip cef

        ip domain name brpec.com.cn

        username brpec secret ************************************

        interface FastEthernet0/0

        description =======to internet========

        ipaddress 192.168.1.x 255.255.255.x

        duplex auto

        speed auto

        interface FastEthernet0/1

        description =======to netscreen25-e3========

        ipaddress 124.x.x.17 255.255.255.x

        duplex auto

        speed auto

        ip classless

        ip route 0.0.0.00.0.0.0 192.168.1.1

        ip route 0.0.0.00.0.0.0 124.x.x.x

        ip http server

        ip http access-class 23

        ip http authentication local

        ip http timeout-policy idle 60 life 86400requests 10000

        control-plane

        banner login

        line con 0

        login local

        line aux 0

        line vty 0 4

        privilege level 15

        login local

        transportinput telnet

        line vty 5 15

        privilege level 15

        login local

        transport input telnet

        scheduler allocate 20000 1000

        看了“cisco路由器怎么樣設置”文章的還看了:

      1.思科路由器怎么進入 思科路由器怎么設置

      2.教你如何設置Cisco路由器安全

      3.cisco思科路由器設置

      4.cisco路由器如何設置

      5.怎么設置cisco路由器

      743592