六月丁香五月婷婷,丁香五月婷婷网,欧美激情网站,日本护士xxxx,禁止18岁天天操夜夜操,18岁禁止1000免费,国产福利无码一区色费

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 電腦安全 > 防火墻知識(shí) > cisco路由器怎么樣設(shè)置

cisco路由器怎么樣設(shè)置

時(shí)間: 林輝766 分享

cisco路由器怎么樣設(shè)置

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

  cisco路由器設(shè)置方法一:

  cisco路由器設(shè)置1、建立用戶

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

  激活

  激活以太端口必須用enable進(jìn)入,然后進(jìn)入configure模式

  PIX525>enable

  Password:

  PIX525#config t

  PIX525(config)#interface ethernet0 auto

  PIX525(config)#interface ethernet1 auto

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

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

  cisco路由器設(shè)置2、命名端口

  采用命令nameif

  PIX525(config)#nameif ethernet0 outside security0

  security100

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

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

  cisco路由器設(shè)置3、配置地址

  采用命令為:ip address

  如:內(nèi)部網(wǎng)絡(luò)為:192.168.1.0 255.255.255.0

  外部網(wǎng)絡(luò)為: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路由器設(shè)置4、配置遠(yuǎn)程

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

  PIX525(config)#telnet 192.168.1.1 255.255.255.0 inside

  PIX525(config)#telnet 222.20.16.1 255.255.255.0 outside

  測(cè)試telnet

  在[開始]->[運(yùn)行]

  telnet 192.168.1.1

  PIX passwd:

  輸入密碼:cisco

  cisco路由器設(shè)置5、訪問列表

  此功能與Cisco IOS基本上是相似的,也是Firewall的主要部分,有permit和deny兩個(gè)功能,網(wǎng)絡(luò)協(xié)議一般有IP|TCP|UDP|ICMP等等,如:只允許訪問主機(jī):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路由器設(shè)置6、地址轉(zhuǎn)換

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

  首先必須定義IP Pool,提供給內(nèi)部IP地址轉(zhuǎn)換的地址段,接著定義內(nèi)部網(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

  如果是內(nèi)部全部地址都可以轉(zhuǎn)換出去則:

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

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

  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路由器設(shè)置7、DHCP

  在內(nèi)部網(wǎng)絡(luò),為了維護(hù)的集中管理和充分利用有限IP地址,都會(huì)啟用動(dòng)態(tài)主機(jī)分配IP地址服務(wù)器(DHCP Server),Cisco Firewall PIX都具有這種功能,下面簡(jiǎn)單配置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路由器設(shè)置方法二:

  以下是遠(yuǎn)路由設(shè)置

  ***-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路由器怎么樣設(shè)置”文章的還看了:

1.思科路由器怎么進(jìn)入 思科路由器怎么設(shè)置

2.教你如何設(shè)置Cisco路由器安全

3.cisco思科路由器設(shè)置

4.cisco路由器如何設(shè)置

5.怎么設(shè)置cisco路由器

743592