﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-五行北斗---北斗星的轨迹</title><link>http://www.cnitblog.com/wildon/</link><description>天行健，君子当自强不息</description><language>zh-cn</language><lastBuildDate>Sun, 05 Jul 2009 01:29:45 GMT</lastBuildDate><pubDate>Sun, 05 Jul 2009 01:29:45 GMT</pubDate><ttl>60</ttl><item><title>Cisco ASA Firewall backup or IOS upgrade </title><link>http://www.cnitblog.com/wildon/archive/2009/06/29/59707.html</link><dc:creator>Jerome</dc:creator><author>Jerome</author><pubDate>Mon, 29 Jun 2009 03:26:00 GMT</pubDate><guid>http://www.cnitblog.com/wildon/archive/2009/06/29/59707.html</guid><wfw:comment>http://www.cnitblog.com/wildon/comments/59707.html</wfw:comment><comments>http://www.cnitblog.com/wildon/archive/2009/06/29/59707.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wildon/comments/commentRss/59707.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wildon/services/trackbacks/59707.html</trackback:ping><description><![CDATA[<p><br>Sometimes, it is required to backup the configuration or IOS of firewalls to a dedicated machine in <br>case of malfunction with firewall. The farmiliar way is setting a tftp server on a workstation. Connect <br>you&nbsp; latitude&nbsp; to&nbsp; firewall&#8217;s console part with attached console cable,&nbsp; if you have a&nbsp; terminal program <br>such&nbsp; as&nbsp; SecureCRT&nbsp; or&nbsp; windows&nbsp; Hypertrm,&nbsp; you&nbsp; would&nbsp; enter&nbsp; into&nbsp; CLI&nbsp; of&nbsp; firewalls.&nbsp; Just&nbsp; use&nbsp; the <br>command like as below to backup the file necessary. If you don&#8217;t know which command to take, just <br>enter&#8221;?&#8221; to find context help.&nbsp;&nbsp; <br>FWL# copy flash to tftp <br>&nbsp;&nbsp;&nbsp; if you want to know some instances of firewall flash, you can use the command: <br>FWL#show flash&nbsp;&nbsp; <br>&nbsp;<br>-#- --length-- -----date/time------ path <br>&nbsp;&nbsp;&nbsp; 6 8515584&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sep 11 2008 14:14:30 asa724-k8.bin <br>&nbsp;&nbsp;&nbsp; 7 4181246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sep 11 2008 14:15:30 securedesktop-asa-3.2.1.103-k9.pkg <br>&nbsp;&nbsp;&nbsp; 8 398305&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sep 11 2008 14:15:48 sslclient-win-1.1.0.154.pkg <br>&nbsp;&nbsp;&nbsp; 9 6514852&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sep 11 2008 14:17:36 asdm-524.bin <br>&nbsp; 12 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sep 11 2008 14:21:38 crypto_archive <br>We can see from above information shown by the command &#8220;show flash&#8221;, which not hard to know <br>the model of firewall, the name of IOS file and the version of ASDM.&nbsp;&nbsp; <br>&nbsp;<br>If you plan to upgrade you ASA devices IOS, you have to enter the rommon mode. When firewall <br>reboot press ESC key to enter rommon mode. Perhaps you need make some configuration under <br>this mode so as to build communication with tftp server.&nbsp;&nbsp; <br>&nbsp;<br>rommon #1&gt; set&nbsp;&nbsp;&nbsp;&nbsp; <br>ROMMON Variable Settings: <br>&nbsp;&nbsp;&nbsp; ADDRESS=192.168.0.1(firewall&#8217;s address <br>&nbsp;&nbsp;&nbsp; SERVER=192.168.0.2 (TFTP server IP <br>&nbsp;&nbsp;&nbsp; GATEWAY=192.168.0.2 (also set as TFTP IP) <br>&nbsp;&nbsp;&nbsp; PORT=Ethernet0/0 (the port connects to tftp of firewall&#8217;s) <br>&nbsp;&nbsp;&nbsp; VLAN=untagged&nbsp;<br>&nbsp;&nbsp;&nbsp; IMAGE=asa724-k8.bin&nbsp; (case sensitive)&nbsp;<br>&nbsp;&nbsp;&nbsp; CONFIG= <br>&nbsp;&nbsp;&nbsp; LINKTIMEOUT=20 <br>&nbsp;&nbsp;&nbsp; PKTTIMEOUT=4 <br>&nbsp;&nbsp;&nbsp; RETRY=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (as possible as short) <br>After finish these setting, then you have to save these new configuration into NVRAM. <br>Rommon#1&gt;sync <br>At&nbsp; the&nbsp; last&nbsp; step,&nbsp; that&nbsp; is,&nbsp; excute&nbsp; tftp&nbsp; download. Download&nbsp; the&nbsp; new&nbsp; version&nbsp; IOS&nbsp; from&nbsp; tftp&nbsp; to&nbsp; your <br>firewall.&nbsp;&nbsp; <br>Rommon#1&gt;tftpdnld <br>Wait for a minute until it finished all process, then the firewall has booted to user exec mode, such <br>as : <br>Firewall&gt; <br>Enter enable and go into privilege mode, go ahead, because the preceding you finished procedure <br>just boot your firewall from the IOS exisiting in tftp, you must copy tftp to your firewall&#8217;s flash. <br>Firewall# copy tftp: flash: <br>According to prompt until success <br>Finally, excute &#8220;firewall#copy running-config startup-config&#8221;and end the process of upgrading IOS. </p>
<img src ="http://www.cnitblog.com/wildon/aggbug/59707.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wildon/" target="_blank">Jerome</a> 2009-06-29 11:26 <a href="http://www.cnitblog.com/wildon/archive/2009/06/29/59707.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>对等网络与其他系统（有外部时间源）之间的时间同步问题解决</title><link>http://www.cnitblog.com/wildon/archive/2009/03/24/55708.html</link><dc:creator>Jerome</dc:creator><author>Jerome</author><pubDate>Tue, 24 Mar 2009 08:37:00 GMT</pubDate><guid>http://www.cnitblog.com/wildon/archive/2009/03/24/55708.html</guid><wfw:comment>http://www.cnitblog.com/wildon/comments/55708.html</wfw:comment><comments>http://www.cnitblog.com/wildon/archive/2009/03/24/55708.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wildon/comments/commentRss/55708.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wildon/services/trackbacks/55708.html</trackback:ping><description><![CDATA[There is a case like this. That is, there is an industry system,which system time is sychronized with an external time source (such as GPS), furthermore, this system's&nbsp;time &nbsp;priority to windows' time, it will override windows time changes，that is, windows must keep pace with this industry system's time on synchonizing. But how to implement and perform it ?<br><br>There are a Windows client, a server connect in dedicated system and an external GPS. The order of synchronization server synchronize with GPS, and the client of windows follow with server's time.<br><br>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>I have tested the time synchronization between PRM client and PRM server</span><span style="COLOR: #1f497d; FONT-SIZE: 10.5pt"><font face=宋体>（</font></span><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>simulated</span><span style="COLOR: #1f497d; FONT-SIZE: 10.5pt"><font face=宋体>）</font></span><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>,the detailed process as below:<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>RRM server side:<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>In register, you need to change a item as picture shows:<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt; mso-fareast-font-family: 宋体; mso-bidi-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA" lang=EN-US><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600">&nbsp;<img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/4.JPG" width=640 height=407><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></span><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>Next, open group policy editor of RRM server and make a change:<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US><img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/5.JPG" width=782 height=501></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>2. what should be set on PRM client?<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>Everything as the document described what I have provided .<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>3.after finishing step 2 and 3, please input some commands in windows command line interface as below:<o:p></o:p></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US><img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/6.JPG" width=622 height=218></span></p>
<p style="MARGIN: 0cm 0cm 0pt" class=MsoNormal><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 10.5pt" lang=EN-US>It believe it will be success, good luck.<o:p></o:p></span></p>
<br>
<img src ="http://www.cnitblog.com/wildon/aggbug/55708.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wildon/" target="_blank">Jerome</a> 2009-03-24 16:37 <a href="http://www.cnitblog.com/wildon/archive/2009/03/24/55708.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>windows域中时间同步的解决方案</title><link>http://www.cnitblog.com/wildon/archive/2009/03/24/55706.html</link><dc:creator>Jerome</dc:creator><author>Jerome</author><pubDate>Tue, 24 Mar 2009 08:11:00 GMT</pubDate><guid>http://www.cnitblog.com/wildon/archive/2009/03/24/55706.html</guid><wfw:comment>http://www.cnitblog.com/wildon/comments/55706.html</wfw:comment><comments>http://www.cnitblog.com/wildon/archive/2009/03/24/55706.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wildon/comments/commentRss/55706.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wildon/services/trackbacks/55706.html</trackback:ping><description><![CDATA[<p>在windows 2003 active directory 架构的域中中。当客户端加入域后。那么域控制器就是一个time master,作为客户端的一个time source。理论上客户端会自动与DC进行时间同步。但实际，当客户端的时间发生变化后。是不能自动与域控制器进行时间同步的。要实现这个目的。我们还需要在DC上做些改变。将DC配置为不使用外部时间源的，则更改DC上的公告标志。首先在&#8220;运行&#8221;中输入regedit 进入注册表编辑器。按下图修改。<br><img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/1.jpg" width=597 height=408><br>配置为DC是使用自己的时钟来提供时间源。<br>为了能使域中的client能主动找DC进行时间同步。所以还需要在DC的默认与策略上对Windows time做个配置。如下图<br><img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/3.jpg" width=671 height=412><br>这样，DC便成为了在Windows域中名副其实的time master。我们检测下客户端，改一下客户端的时间。然后再命令行界面下输入：<br>net stop w32time<br>net start w32time<br>那么你就会发现。你改变过的时间已经变回正常时间了。再来查看一下系统日志。如下图所示：<br><img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/2.jpg" width=399 height=448><br>明显看出。client&nbsp; 192.168.5.30 与time source 192.168.5.1（DC）通过ntp 的123端口进行了时间同步。<br>关于windows域的时间同步就介绍到这里。<br><br></p>
<img src ="http://www.cnitblog.com/wildon/aggbug/55706.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wildon/" target="_blank">Jerome</a> 2009-03-24 16:11 <a href="http://www.cnitblog.com/wildon/archive/2009/03/24/55706.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于WSUS server找不到client需要注意的几点</title><link>http://www.cnitblog.com/wildon/archive/2009/03/04/55089.html</link><dc:creator>Jerome</dc:creator><author>Jerome</author><pubDate>Wed, 04 Mar 2009 02:41:00 GMT</pubDate><guid>http://www.cnitblog.com/wildon/archive/2009/03/04/55089.html</guid><wfw:comment>http://www.cnitblog.com/wildon/comments/55089.html</wfw:comment><comments>http://www.cnitblog.com/wildon/archive/2009/03/04/55089.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wildon/comments/commentRss/55089.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wildon/services/trackbacks/55089.html</trackback:ping><description><![CDATA[<p>在部署wsus后，需要通过组策略来实现client的更新。在DC上配置了Goup policy时，切记在option里要勾选no overide选项，否则默认的域策略会优先或者覆盖你自定义的策略。<br><br>查看策略是否生效，在command line下，使用&#8220;gpresult&#8221;。如要强制刷新组策略，可在client上使用"gpupdate /target:computer /force" 和&#8220;gpupdate /target:user /force&#8221;或者&#8220;gpupdate /force（同时刷新两项）&#8221;。<br><br>在wsus上要设定使用组策略来管理client，如要改变成员隶属组，可在管理控制台选项下，完成。然后再切换为使用组策略。<br><br>如果wsus无法发现client。需要检查以下选项：<br>1.浏览器是否设置成自动检测代理设定<br>2.auto update servce是否自动启动。<br>这个你可以使用wsus提供的wsusdiag工具实现。<br><br>如果还无法发现客户端。请在客户端的运行里使用命令：wuauclt.exe /detectnow 来启动windows的自动更新管理进程。然后再server端刷新。<br><br>这样，一般都会解决这个server找不到客户端的问题。</p>
<img src ="http://www.cnitblog.com/wildon/aggbug/55089.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wildon/" target="_blank">Jerome</a> 2009-03-04 10:41 <a href="http://www.cnitblog.com/wildon/archive/2009/03/04/55089.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PEMU综合实验</title><link>http://www.cnitblog.com/wildon/archive/2009/02/03/54113.html</link><dc:creator>Jerome</dc:creator><author>Jerome</author><pubDate>Tue, 03 Feb 2009 15:04:00 GMT</pubDate><guid>http://www.cnitblog.com/wildon/archive/2009/02/03/54113.html</guid><wfw:comment>http://www.cnitblog.com/wildon/comments/54113.html</wfw:comment><comments>http://www.cnitblog.com/wildon/archive/2009/02/03/54113.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/wildon/comments/commentRss/54113.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/wildon/services/trackbacks/54113.html</trackback:ping><description><![CDATA[<p>&nbsp;</p>
<p>在进行试验前，我们需要对需要的设备及拓扑的搭建及IP地址的规划，都要做个完整的规划。那么我们才能在接下来的配置中，做到心中有数。<br>实验用的设备，请参考拓扑如下。 <br>
<div align=center src_cetemp="http://www.cnitblog.com/images/cnitblog_com/wildon/secemu.jpg"><img height=515 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/secemu.jpg" width=840 border=0></div>
<br>至于拓扑图的桥接，请参看我前面的关于桥接的文章，里面有此拓扑的桥接逻辑示意图。<br>IP地址的规划：<br>本机管理PC---192.168.0.1 /24其网关192.168.0.254/24<br>DMZ中VPC---192.168.5.4/24，其网关192.168.5.254/24<br>ISP地址(Loopback0 172.16.2.0/24 loopback1 172.16.3.0/24&nbsp; S0/1 172.16.1.1/30)<br>ROUTER地址（S1/1 172.16.1.2/30&nbsp; F0/0 10.1.10.1/24)<br>防火墙PIX接口地址（E0 192.168.0.254/24 E1 192.168.1.254/24 E2 10.110.254 E3 192.168.5.254/24)<br>L3SW接口地址 F1/0 192.168.1.1/24 网关192.168.1.254/24<br>PC1,PC2,PC3及其所属VLAN的地址分配<br>PC1---192.168.11.1---F0/0---VLAN11---&gt;L3SW F1/1<br>PC2---192.168.12.1---F0/0---VLAN12---&gt;L3SW F1/2<br>PC3---192.168.13.1---F0/0---VLAN13---&gt;L3SW F1/3<br><br>实验目的：<br>1、在Router上通过TFTP可以将其配置文件保存到DMZ中的VPC上<br>2，PC1,PC2,PC3可以分别访问VPC的TELNET,HTTP(80),RDP(3389)服务<br>3，PC1,PC2,PC3可以访问ISP，包括可以PING和TELNET ISP（JUST FOR LAB PURPOSE)<br><br>实验过程中用到的知识点：<br>1.默认路由的设置<br>2.在路由器上NAT的配置<br>3.三层交换机口的配置<br>4.防火墙的基本配置<br>5.VMWARE的虚拟机的使用及虚拟网卡的桥接<br><br>好了。到此我们的准备过程完成，接下来启动模拟器，进行一些必要的配置。<br><br>首先，我们看看L3SW上做任何配置：<br>L3SW#conf t <br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>L3SW(config)#no ip domain-lookup<br>L3SW(config)#enable secret cisco<br>L3SW(config)#exit<br>L3SW#vlan<br>*Mar&nbsp; 1 00:01:52.355: %SYS-5-CONFIG_I: Configured from console by console <br>% Incomplete command.
<p>&nbsp;</p>
<p>L3SW#vlan database<br>L3SW(vlan)#vlan 11<br>VLAN 11 added:<br>&nbsp;&nbsp;&nbsp; Name: VLAN0011<br>L3SW(vlan)#vlan 12<br>VLAN 12 added:<br>&nbsp;&nbsp;&nbsp; Name: VLAN0012<br>L3SW(vlan)#vlan 13<br>VLAN 13 added:<br>&nbsp;&nbsp;&nbsp; Name: VLAN0013<br>L3SW(vlan)#exit<br>APPLY completed.<br>Exiting....<br>L3SW#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>L3SW(config)#int f1/0<br>L3SW(config-if)#no switchport <br>L3SW(config-if)#ip add 192.168.1.1 255.255.255.0<br>L3SW(config-if)#duplex full<br>L3SW(config-if)#speed 100<br>L3SW(config-if)#no shut<br>L3SW(config-if)#int f1/1 <br>L3SW(config-if)#duplex full<br>L3SW(config-if)#speed 100<br>L3SW(config-if)#switchport acc vlan 11<br>L3SW(config-if)#int f1/2 <br>L3SW(config-if)#duplex full<br>L3SW(config-if)#speed 100<br>L3SW(config-if)#switchport acc vlan 12<br>L3SW(config-if)#int f1/3<br>L3SW(config-if)#duplex full<br>L3SW(config-if)#speed 100<br>L3SW(config-if)#switchport acc vlan 13</p>
<p>L3SW(config-if)#exit<br>L3SW(config)#int vlan 11<br>L3SW(config-if)#ip add 192.168.11.254 255.255.255.0<br>L3SW(config-if)#no shut<br>L3SW(config-if)#int vlan 12<br>L3SW(config-if)#ip add 192.168.12.254 255.255.255.0<br>L3SW(config-if)#no shut<br>L3SW(config-if)#int vlan 13<br>L3SW(config-if)#ip add 192.168.13.254 255.255.255.0<br>L3SW(config-if)#no shut<br>L3SW(config-if)#exit<br>L3SW(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.254<br>L3SW(config)#end<br>L3SW#wr<br>Building configuration...</p>
<p>*Mar&nbsp; 1 00:05:33.811: %SYS-5-CONFIG_I: Configured from console by console[OK]<br>L3SW#<br><br>PC1上的必要配置：<br>Router&gt;en<br>Router#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>Router(config)#hostname PC1<br>PC1(config)#no ip domain-lookup<br>PC1(config)#enable secret cisco <br>PC1(config)#line vty 0 4<br>PC1(config-line)#password cisco<br>PC1(config-line)#login<br>PC1(config-line)#exit<br>PC1(config)#service password-encryption<br>PC1(config)#ip default<br>PC1(config)#ip route 0.0.0.0 0.0.0.0 192.168.11.254<br>PC1(config)#int f0/0<br>PC1(config-if)#duplex full<br>PC1(config-if)#speed 100<br>PC1(config-if)#ip add 192.168.11.1 255.255.255.0<br>PC1(config-if)#no shut<br>PC1(config-if)#end<br>PC1#wr<br>Building configuration...</p>
<p>00:05:10: %SYS-5-CONFIG_I: Configured from console by console<br>00:05:11: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up<br>00:05:12: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up[OK]<br><br>PC1#ping 192.168.11.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.11.254, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 8/29/36 ms<br>PC1#wr<br>Building configuration...</p>
<p>00:07:10: %SYS-5-CONFIG_I: Configured from console by console[OK]<br><br>PC2上需要做的配置：<br>Router&gt;en<br>Router#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>Router(config)#hostname PC2<br>PC2(config)#enable secret cisco<br>PC2(config)#no ip domain-lookup<br>PC2(config)#service password-encryption<br>PC2(config)#line vty 0 4<br>PC2(config-line)#password cisoc<br>PC2(config-line)#password cisco<br>PC2(config-line)#login<br>PC2(config-line)#exit<br>PC2(config)#int f0/0<br>PC2(config-if)#duplex full<br>PC2(config-if)#speed 100<br>PC2(config-if)#ip add 192.168.12.1 255.255.255.0<br>PC2(config-if)#no shut<br>PC2(config-if)#exit<br>PC2(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.254<br>PC2(config)#end<br>PC2#wr<br>Building configuration...</p>
<p>00:02:48: %SYS-5-CONFIG_I: Configured from console by console[OK]<br>PC2#ping 192.168.12.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.12.254, timeout is 2 seconds:<br>.....<br>Success rate is 0 percent (0/5)<br>PC2#ping 192.168.12.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.12.254, timeout is 2 seconds:<br>.!!!!<br>Success rate is 80 percent (4/5), round-trip min/avg/max = 16/25/36 ms<br>PC2#ping 192.168.11.1&nbsp; </p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.11.1, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 12/47/80 ms<br>PC2#wr<br>Building configuration...<br>[OK]<br>PC2#<br><br>PC3上需要做的配置：<br>Router&gt;en<br>Router#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>Router(config)#hostname PC3<br>PC3(config)#enable secret cisco<br>PC3(config)#enable p<br>PC3(config)#enable password encry<br>PC3(config)#passwo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>PC3(config)#passwor<br>PC3(config)#service pass<br>PC3(config)#service password-encryption <br>PC3(config)#line vty 0 4<br>PC3(config-line)#password cisco<br>PC3(config-line)#login<br>PC3(config-line)#exit<br>PC3(config)#int f0/0<br>PC3(config-if)#duplex full<br>PC3(config-if)#speed 100<br>PC3(config-if)#ip add 192.168.13.1 255.255.255.0<br>PC3(config-if)#no shut<br>PC3(config-if)#exit<br>PC3(config)#ip route 0.0.0.0 0.0.0.0 192.168.13.254<br>PC3(config)#end<br>PC3#wr<br>Building configuration...</p>
<p>00:12:02: %SYS-5-CONFIG_I: Configured from console by console[OK]<br>PC3#ping 192.168.13.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.13.254, timeout is 2 seconds:<br>.!!!!<br>Success rate is 80 percent (4/5), round-trip min/avg/max = 4/14/28 ms<br>PC3#ping 192.168.12.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.12.254, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 16/28/44 ms<br>PC3#ping 192.168.11.254</p>
<p>Type escape sequence to abort.<br>Sending 5, 100-byte ICMP Echos to 192.168.11.254, timeout is 2 seconds:<br>!!!!!<br>Success rate is 100 percent (5/5), round-trip min/avg/max = 4/17/28 ms<br>PC3#<br><br><span style="COLOR: #ff0000">在OUTSIDE ROUTER上需要做的配置：<br></span>R3620#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>R3620(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.1<br>R3620(config)#ip route 192.168.0.0 255.255.0.0 10.1.10.254<br>R3620(config)#int f0/0<br>R3620(config-if)#ip nat inside <br>R3620(config-if)#int s1/1<br>R3620(config-if)#ip add 172.16.1.2 255.255.255.252<br>R3620(config-if)#encapsulation ppp<br>R3620(config-if)#ip nat outside<br>R3620(config-if)#exit<br>R3620(config)#exit<br>R3620#<br>00:19:02: %SYS-5-CONFIG_I: Configured from console by console<br>R3620(config)#access-list 1 permit 192.168.0.0 0.0.255.255 <br>R3620(config)#ip nat inside source list 1 interface s1/1 overload <br>R3620(config)#end<br>R3620#wr<br>Building configuration...</p>
<p>00:21:56: %SYS-5-CONFIG_I: Configured from console by console[OK]<br><br><span style="COLOR: #ff0000">模拟的ISP Router上需要做的配置:<br></span>Router&gt;en<br>Router#conf t<br>Enter configuration commands, one per line.&nbsp; End with CNTL/Z.<br>Router(config)#hostname ISP<br>ISP(config)#enable secret cisco<br>ISP(config)#no ip domain-loo<br>ISP(config)#no ip domain-lookup <br>ISP(config)#service passw<br>ISP(config)#service password-encryption <br>ISP(config)#line vty 0 4<br>ISP(config-line)#password cisco<br>ISP(config-line)#login<br>ISP(config-line)#exit<br>ISP(config)#int s1/0<br>ISP(config-if)#ip add 172.16.1.1 255.255.255.252<br>ISP(config-if)#encapsulation ppp<br>ISP(config-if)#no shut<br>ISP(config-if)#<br>00:14:11: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up<br>ISP(config-if)#int loopback 0<br>ISP(config-if)#ip add 172.16.2.1 255.255.255.0<br>ISP(config-if)#int loopback 1<br>ISP(config-if)#ip add 172.16.3.1 255.255.255.0<br>ISP(config-if)#no shut<br>ISP(config-if)#end<br>ISP#wr<br>Building configuration...</p>
<p>00:15:22: %SYS-5-CONFIG_I: Configured from console by console<br>00:15:25: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up[OK]<br>ISP#<br><br>DMZ中的VPC我采用的是用VMware虚拟的一台windows 2003 server standard english. 上面安装TFTP server（listen port 69),为了实验，我在服务中启用telnet service(port 23).vpc的网卡桥接到了tap3，如图所示.<br>
<div align=center src_cetemp="http://www.cnitblog.com/images/cnitblog_com/wildon/hostmap.jpg"><img height=438 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/hostmap.jpg" width=541 border=0></div>
<br>至于在windows 2003 server上如何去安装TFTP或者配置TFTP，还是如果去启用默认停用的telnet服务，请参考相关资料。因为后面要用到http服务,所以，此vpc上还需要安装IIS（具体安装请参考相关讯息）。VPC网卡设置如下<br>
<p>&nbsp;</p>
<div align=center src_cetemp="http://www.cnitblog.com/images/cnitblog_com/wildon/host.jpg"><img height=421 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/host.jpg" width=402 border=0><br></div>
<p><br>最后我们需要做的，就是如何配置防火墙，以达到我们的实验目的。我们采用已经安装的ASDM去配置PIX。<br>如何安装ASDM，这里不做介绍，请参看我前面的文章。启动ASDM，登入PIX，并配置接口参数如图所示：<br>
<div align=center src_cetemp="http://www.cnitblog.com/images/cnitblog_com/wildon/int.jpg"><img height=434 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/int.jpg" width=618 border=0></div>
<br>为了能够在全局方便的表示各设备，我讲各设备接口的IP地址与设备名称建立对应关系。如下<br>
<div align=center src_cetemp="http://www.cnitblog.com/images/cnitblog_com/wildon/des.jpg"><img height=194 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/des.jpg" width=465 border=0></div>
<br>要实现本实验的目的，需要在防火墙上做哪些策略？如图所示：<br>
<div align=center src_cetemp="/images/cnitblog_com/wildon/se.jpg"><img height=435 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/se.jpg" width=705 border=0></div>
在防火墙上需要指定的静态路由：<br>
<p>&nbsp;</p>
<div align=left src_cetemp="/images/cnitblog_com/wildon/rou.jpg">
<div align=center src_cetemp="/images/cnitblog_com/wildon/rou.jpg"><img height=168 alt="" src="http://www.cnitblog.com/images/cnitblog_com/wildon/rou.jpg" width=602 border=0></div>
<br><br>到现在为止，我们已经完成了所有的配置。可以验证一下是否达到我们的实验目的。<br>1.在router 上用copy run tftp 将配置文件上传到vpc上<br>2.PC1可以telnet ISP,PC1可以ping router<br>3.PC1上传文件到vpc上<br>4.PC2可以打开vpc的3389端口。需启用远程桌面，在命令提示符下用telnet 192.168.5.4 3389，看结果能否成功open<br>5.PC3可以打开vpc的80端口，即需要使用http服务，前提是需要在vpc上安装iis。同样用telnet 192.168.5.4 80 来测试<br><br></div>
<p><br></p>
<img src ="http://www.cnitblog.com/wildon/aggbug/54113.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/wildon/" target="_blank">Jerome</a> 2009-02-03 23:04 <a href="http://www.cnitblog.com/wildon/archive/2009/02/03/54113.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>