26 2009

VMWare ASA AIO virtual Image

Posted by Yangybcy in 电脑网络

  

This all-in-one pack consist of vmware image that is produced on vmware 6.0.1, so this version or newer is probalby needed.

The pack is RAR, 82 MB long and has:
* Damn Small Linux (DSL) with X-Windows GUI
* GRUB Bootloader from which you can choose wheter you want to boot to ASA or Linux. ASA is chosen automatically within 3 seconds
*  HD image that consist of 2 partition: 1st partition is ASA’s HD (256MB) that is mapped in ASA to DISK0:. First partition is used to store the files (configuration and possibly ASMD), and the second is used to store ASA boot files and DSL Linux. Second partition is 60% full.
* Removed the need for CDROM – boot files straight off the HD.
* Predefined interface IPs – inside interface (e0) have ip 192.168.1.1/24 and it have enabled telnet and ssh, so you don’t need serial port to set basic settings.
* If you still want serial interface display you can use pipe – in serial port settings chose “used name pipe” “\\.\pipe\vmwaredebug”, “This end is client”, “The other end is an application”, start start_gw.bat file  that is included in ASA folder and telnet to localhost:567. Then start the virtual machine and watch the output in telnet client.

VMWare machine link:
http://rapidshare.com/files/146069496/ASA.rar.html


ShareThis

Posted under VMWare

 

This post was written by admin on September 17, 2008

Tags: , , , ,
 

86 Comments so far

  1. wayne September 18, 2008 1:55 am

    I tested it on my VMware 6. There is a problem. When I telnet from my SecurCRT and the simulator didn’t respond correctly with my TAB key and Arrow Key, and some other keys. So what problem it could be?

  2. wg4ne September 18, 2008 2:23 am

    use telnet to asa directly,but not to the pipe gateway.Tab key unuseable is because the pipe problem.

  3. wg4ne September 18, 2008 2:25 am

    http://chengongjun.spaces.live.com/blog/cns!E6C64B63F46EE49A!165.entry

    Test result of the asa vmware version.

    Tcp throughout only.

    NAT ,web vpn

    Ipsec test result will be added later.

  4. wg4ne September 18, 2008 2:32 am

    Did you manage to make it work on a real pc?
    Would you please share the creating processs of DSL version ASA ?

  5. wayne September 18, 2008 3:14 am

    Thanks. I just tryed to make it work in my VMware system and then connect to virtual routers and switches. I just downloaded your VMWare ASA AIO virtual Image and then open existing system on VMware. I didn’t make a new system.

  6. wayne September 18, 2008 4:05 am

    Does the ASDM 6.02 work here? Cas I tryed and seems the ASDM does not work now. It always says that ” Your current ASA image version 8.0(2) doesn’t support ASDM 6.0(2). But I try to put different versions of ASDM, they don’t work all.

  7. admin September 18, 2008 8:20 am

    I will get to the ASDM later on, it will probalby need hacking the ASA code and patching it so it will read false chasis id which should be one of the publiziced keys instead of “default” 1234567890.
    I didn’t tried to use image to connect to virtual routers and switches. It should work, but i didn’t tried.
    Next thing is to make it work on the real PC that i already have prepared. The real PC machine is Compaq Deskpro EN (900 MHz Intel with integrated Intel i82557 and one more PCI card in the riser’s slot). I am wondering how fast it will go as the cisco published that 5505 series can do 100mbps with 500mhz cpu. I guess that vmware’s overhead do a quite slowdowns here.
    Nice graph, wg4ne. I only tested nat troughout but you did it all. In qemu i got MUCH worser troughput with max about 1mbit/sec (with KQEMU accelerator).
    To make it installable on the real system i will prepare the install ISO which will do it all automatically. You will need 500MB HD minimum (real small, you may say).
    And for the first post, yes, there is a problem with gateway not passing the commands correctly, but, you don’t really need serial to access to asa. Simply, temporary put the ip in 192.168.1.0/24 range and access the asa via telnet or ssh and configure the whatever ip you want.

  8. wg4ne September 19, 2008 3:36 am

    I have finished the ipsec vpn one session throughput test
    http://chengongjun.spaces.live.com/blog/cns/

  9. admin September 19, 2008 11:52 am

    wg4ne, if you wish to help me with ASA i would make you the mod of the site and you can post the bandwidth tests (and other tests)

  10. wg4ne September 19, 2008 1:51 pm

    ok

  11. admin September 19, 2008 9:04 pm

    wg4ne, you must make an account first

  12. markus September 26, 2008 11:06 am

    very nice thing! I only have a problem with ASDM. I have tested 6.0(3) and 6.1(2) and all of them said: “Your ASA image has a version number 8.0(2) which is not supported by ASDM 6.0(3)” (or 6.1.(2) respectivly). Is there a known problem or do I use the wrong versions…?

  13. tess September 29, 2008 3:14 pm

    When i configure ss and telnet access the first time it works. After i turn off the asa then it doesnt work anymore. I saved the config. Does anyone have the same problem? thanks in advance

  14. Pb October 3, 2008 12:04 am

    Amazing work. I’m ready to donate money for this project, just give paypal acc. If you could fix ASDM it would be really nice.

  15. admin October 5, 2008 9:25 pm

    @markus, i’m still not come to the asdm part, i was trying to add all linux drivers – unsucessfully (which is one of the requirements for install cd 2.0) – so far i managed to make clean asa on same partition where the data is (so no need for extra boot partition, and requiremens have been reduced to 256MB HD).
    @tess, be sure NOT to save with “wr mem” but with “copy running-config disk0:/.private/startup-config” – i hope i get the path rights, wrote this from memory.
    @Pb, maybe one day :)

  16. Adam October 17, 2008 12:44 am

    Hey all. I downloaded this and am running it in vmware no worries.

    I am trying to telnet in and am prompted for a password!

    Anyone know what the password is to telnet in for the first time? Its killing me!

  17. admin October 17, 2008 8:23 am

    Try “ciscoasa”.

  18. aleks October 18, 2008 6:56 pm

    Hey all,

    I´ve downloaded (I think all packages, that are published here). But I don´t get any of them to run in my VMWare Server 2.
    Does any one of you have the same issue and perhaps a solution?

    Thanks,
    Aleks

  19. admin October 21, 2008 7:58 pm

    aleks, can you post a little more details?
    “Don’t work” doesn’t mean much.

  20. aleks October 21, 2008 9:24 pm

    Sure, as I read your comment I realized it my self.
    But this doesn´t matter now, because it works.
    I just didn´t read one special comment.
    The content was that it is normal, that after “Loading kernel …” (or something like that) nothing happens in the vm console.
    So, every thing is okay with the image.

    But there is one other thing, that some other users already mentioned.
    The asdm tool. This would be a very useful tool. Of course, it is possible to do the config via console, but it would be much easier if it would be possible to use it.

    Thanks,
    Aleks

  21. admin October 23, 2008 5:26 pm

    ASDM is possible but hard to provide as i need to crack the cisco’s code.
    I’m still stucked at the drivers…

  22. DaveM October 26, 2008 11:05 pm

    Excellent work! I just installed on my Linux box with VMware server. Had a challenge figuring out to connect to the Unix named pipe in Linux. Found this link and thought it might be helpful for others:

    http://communities.vmware.com/thread/28508

    Keep up the good work!

  23. Mike October 27, 2008 4:25 pm

    So far it just hangs at Uncompressing Linux… OK, booting the kernel.

    Admittedly, I’m trying this in VMware player. Has anybody gotten this to work in Vmware Fusion 2.0?

  24. Mike October 27, 2008 5:01 pm

    Nevermind, it works well so far (can telnet into it) in Vmware fusion in OS X. Of course, fusion doesn’t support named pipes, but I can output the serial port to a text file. Thanks for pre-configuring Telnet, otherwise I’d never get in!!

  25. admin October 28, 2008 4:37 pm

    DaveM, thnx for info.
    Mike, i’m glad you made it work… i tought that someone could have a problems with pipe so i preconfigured the telnet to ease the access.
    Many ppl get confused by that message “Uncompressing linux…” and expect console but there is no console on video card becouse real asa also need serial port to be configured and that startup output you can’t really see on real asa becouse there’s no video card, just serial port.

  26. Mike October 28, 2008 5:59 pm

    The performance is surprisingly good in vmware. Running on a 2.3Ghz Macbook Pro, I managed to get an SFTP transfer up to 52Mbit/sec with only PAT running. The packet/sec rate maxed out at 4Kpps… not bad. My vmware cpu usage topped around 80%.

    Running a plain-text FTP transfer, I was able to get just around 70Mbps w/ a pps peak of 7Kpps.

    I’m going to test VPN connectivity next.

    In case you’re interested, my logical topology is as follows:

    Macbook Pro —->Inside[ASA]Outside—-> Mac Pro

    Out of curiosity, is there a reason why the ASA only reports 128Mb RAM, even though its assigned 256Mb?

  27. admin October 29, 2008 9:32 am

    You can see the benchmark from the other guy on the native platform.
    500Mhz machine can do nearly 100mbit with just NAT and i guess it performs even better in transparent mode.
    As far as i saw from my tests qemu/pemu is very bad in producing high troughput – i have never been able to make more than 1mbit/sec even on very fast machine.

  28. lewis.hui October 31, 2008 1:17 pm

    Firstly, thanks for your good job.
    Now I find a problem. I have installed it in vmware6, but it seem that it doesn’t accept multicast packet such as ospf hello packet.Could you help me?

    Thanks,
    lewis.hui

  29. Mike October 31, 2008 3:35 pm

    The problem is with vmware, not the ASA image. I finally loaded the image on an 866Mhz PIII box w/ a bunch of e1000 NICs for testing. After modifying the initramfs images to load e1000 instead of e100 and duplicating it to an instance that would dump me in a shell, I was up and running.

    I then hooked it up to a gigabit LAN with a box running dynamips and a single router. The router and the ASA were able to exchange OSPF routes just fine and traffic was able to pass.

  30. admin October 31, 2008 10:16 pm

    Mike, can you post some of the bandwidth benchmarks using e1000 and P3/866 in native mode (especially when asa is in transparent mode becouse i assume the bw test would be best in that case)?
    There is a e1000 driver in initrd but it probalby need insmod which can be done from shell before the lina is started.
    It is quite possible that vmware doesn’t pass multicast packets out of the virtual network.

  31. lewis.hui November 18, 2008 8:43 am

    I find the network interface doesn’t work in promiscuous mode, so it doesn’t work in transparent mode.Could you help to solve it? Thanks.

  32. admin November 19, 2008 7:15 pm

    lewis.hui, can you post your running-config?

  33. trebla November 25, 2008 7:47 am

    Is there a way to add more than 2 interface? Under Qemu suppose to add upto 6 interfaces.

  34. pchelovod November 25, 2008 4:39 pm

    Really very good system.
    One problem I have found:
    user generated crypto rsa mypublic key
    cannot be saved. Command sa save all
    depricated in ASA version about 7 or 8,
    and we cannot use command write mem
    instead that because it erases startup-config. Me be somebody can tell something
    about it.

  35. admin November 25, 2008 10:24 pm

    @trebla, add the ethernet interface in the vmware config and they will show. Besides, i dunno why you need more interfaces – this is virtual machine.
    @pchelovod, the config is not saved with “write mem” becouse it doesn’t work here for some reason (media format?) instead you must copy running-config directly on flash://…..startup-config file (it’s already explained somewhere).

  36. trebla November 26, 2008 3:34 am

    I will need extra interface to perform and test a lab senario. Actually I have tried to add the interface in vmware before, but after added extra interface following error shown and the system keep rebooting.

    Total NICs found: 6
    setup_irq: irq handler mismatch

    Unable to open /proc/irq/15/irq error: Device or resource busy
    Panic: kernel – intr_establish: open interupt descriptor irq 15

    ———————————————–
    Traceback output aborted.
    Flushing first exception frame:
    Abort: Assert failure
    vector 0×00000000
    edi 0×0000000f
    esi 0xd524b7b0
    ebp 0xd4bf7658
    esp 0xd4bf764c
    ebx 0×000000cd
    edx 0xd4bf7690
    ecx 0×00000006
    eax 0×00000000
    error code n/a
    eip 0xdd6a72a1
    cs 0×00000073
    eflags 0×00000246
    CR2 0×00000000
    Nested traceback attempted via signal, from:
    Page fault: Address not mapped
    vector 0×0000000e
    edi 0xd4bf70db
    esi 0xd4bf70bf
    ebp 0xd4bf6fe8
    esp 0xd4bf6fa0
    ebx 0xd4bf70bf
    edx 0×08acd5d8
    ecx 0×00000000
    eax 0×00000000
    error code 0×00000004
    eip 0×0805ee77
    cs 0×00000073
    eflags 0×00010286
    CR2 0×00000084

    An internal error occurred. Specifically, a programming assertion was
    violated. Copy the error message exactly as it appears, and get the
    output of the show version command and the contents of the configuration
    file. Then call your technical support representative.

    assertion “_vf_mode_init” failed: file “vf_api.c”, line 99

    Rebooting….

  37. tron November 28, 2008 5:57 pm

    The issue of not being able to write to flash the configuration also makes it difficult to
    change the mode.
    Anybody knows a work arround ?

  38. admin November 28, 2008 9:01 pm

    @trebla, for lab tests better use pemu – it works much slower but more accurate
    @tron, instead of doing wr mem copy the running config over the startup config. It’s already explained.

  39. tron November 30, 2008 6:27 pm

    I know how to write mem using copy… (I read it in this forum :)
    The problem is that when you change modes from single to multiple, the writing is done automatically, not by your command.
    And as the write fails, the mode change
    is aborted.
    Has anybody successfully changed the ASA to multiple context mode ?

  40. RYErnest December 1, 2008 9:54 am

    Nice post u have here :D Added to my RSS reader

  41. Alade Adeyemi December 3, 2008 9:30 am

    Good work. I installed ASA_install_V1 on a PC and it was successful. Everything as far as i have tested worked fine expect save command. However, I want to install VMWARE ASA version so that i can run it on my PC without the need to have separate machine dedicated for it but i dont know how to go about it. Is there anyone with a clue of how to do this?

  42. admin December 3, 2008 11:47 pm

    Easiest way for you is to download this virtual image and vmware player. In vmware player just add the asa vmware image you download earlier and start. It’s as simple as that.

  43. Bastien December 5, 2008 1:10 am

    Hi, I’ve tried the vm under VMWare workstation 6, under Win XP and Ubuntu 8.04, and I’m always stuck at the booting the kernel.

    Any idea ?

  44. Alade Adeyemi December 5, 2008 1:06 pm

    I have a windows Xp installed on my PC as host and Cisco Asa as guest running on virtualbox 2.1.0.6. The installation was successful. How can i get the two communicating together because as it is now I can only ping the inside address of the ASA from the host OS. I couldn’t telnet to the device using either host terminal or PUTTY. I tried using Tera Term but no luck.Please, advice on what to do.

  45. admin December 5, 2008 5:41 pm

    @Bastien: That is normal and expected. Your ASA is probalby working. Read other posts please.
    @Alade: Download this -> http://l4ka.org/tools/vmwaregateway.php and start it with vmwaregateway.exe /t. In virtual machine config check if there’s serial port emulation and “named pipe” to \\.\pipe\vmwaredebug, direction client – application. Then telnet to port 4444 and start ASA. This will help you communicate with ASA serial ports trough telnet.

  46. Anon December 5, 2008 5:44 pm

    It is possible to use the ASA in multiple context mode, however you must execute lina directly with the m (for multiple context mode) flag as follows:

    lina -m

    In order to change back to single mode, you’ll have to restart the process, obviously, without the m flag or execute lina_monitor.

  47. bastien December 8, 2008 3:29 pm

    Thanks, i’ll try it :)

  48. bastien December 8, 2008 3:37 pm

    Hi, do you know how to use console port under vmware in linux ?
    I’ll found this:
    http://www.virtualization.info/2006/03/tech-accessing-serial-console-on.html and this:
    http://communities.vmware.com/thread/28508
    but before I’ll take a look on that maybe someone did already :)

  49. admin December 8, 2008 7:59 pm

    As i already explained in previous posts, for console which is on serial port you need vmwaregateway. When you start vmware your serial port settings must point to shared vmwaregateway pipe. Then you connect with telnet to pipe on localhost (127.0.0.1:4444) and that’s it.
    You can find around here detailed explanation.

  50. Olechka-persik December 9, 2008 7:01 pm

    Огромное спасибо за потрясающие идеи!!! Буду следить за блогом, много всего интересного. А мой блог о науке, надеюсь, тоже понравится ;)

  51. bastien December 9, 2008 11:25 pm

    Hi, when using vmwaregateway every key strike is sent two times to the asa. I’d rather use it under linux, you just have to create a named pipe, telling you’re server, and the other end is application, then it’ll create the file in your virtual machine dir, then just type it (in the vm dir):
    sudo socat unix-connect:serialasa stdio,echo=0,raw

    if you named the pipe serialasa, and it works well under ubuntu (just install socat :) )

  52. Pavel December 13, 2008 12:25 am

    óäèâèëî, ÷òî ïðî÷èòàë îá ýòîì èìåííî ñåé÷àñ

  53. блогик December 13, 2008 3:28 pm

    кто хочет меняться ссылками, пишите

  54. Lena December 14, 2008 4:11 pm

    я люблю все ваши слова..

  55. Rano December 16, 2008 5:51 pm

    èíòåðåñíî)) ÿ êàê ðàç ïîñìîòðåë ñåé÷àñ 3+2, òàê íàñìåÿëñÿ)) âñåì ðåêîìåíäóþ âñïîìíèòü

  56. Liya December 16, 2008 6:37 pm

    ÷òî æå òàì ñìåøíîãî?

  57. Opel December 16, 2008 7:47 pm

    нам что-то похожее препод вчера в универе рассказывал, на самом деле тема интересная

  58. Чудо December 17, 2008 9:00 pm

    вот спамеров то развелось

  59. Чудо December 19, 2008 12:50 pm

    зато правда все написано

  60. BypeBrert December 27, 2008 10:53 pm

    Незадолго до налета ВВС из в направлении Израиля было выпущено 60 и минометных снарядов, упала в районе израильских и Нетивот Военная операция в секторе Газа, конец обстрелам со стороны палестинских ни простой, ни быстрой,
    Боевики ракетами территорию Израиля армии на cektop Газа, сообщает.

  61. BypeBrert December 30, 2008 1:50 am

    Незадолго до налета ВВС из Газа Израиля было выпущено ракет и минометных снарядов, упала в районе израильских и Нетивот Военная операция в секторе Газа, должна обстрелам со стороны боевиков, ни простой, ни сказал министр
    Боевики движения территорию Израиля на авианалет на cektop AFP.

  62. agopAssupes December 30, 2008 2:01 am

    госкомитета rpynna Украины труда и расследовавшая причины в причиной не ctatb неисправность

  63. johnny December 30, 2008 8:45 pm

    lx2VDi Thanks for good post

  64. stapy January 2, 2009 11:16 pm

    the DSL is working but the ASA is nt … it gives me “uncompressing linux ….ok , booting the kernal” and nothing happened , please help me with this cause i m studying the CCSP and i need this simulation alot
    thanks in advance

  65. stapy January 3, 2009 12:02 am

    the enable password pleaseeeee

  66. manjalisg61 January 4, 2009 2:53 am

    Nice post.

  67. dunstankarynet87 January 4, 2009 2:14 pm

    Nice post.

  68. lauratbloomingrose January 4, 2009 2:43 pm

    Keep on blogging! :)

  69. Gemeseete January 6, 2009 1:49 am

    экспертная rpynna промышленной охране и горному причины в причиной не ctatb оборудования

  70. stapy January 7, 2009 1:13 pm

    i need the enable password please, any1 can help me ?

  71. admin January 7, 2009 7:58 pm

    password is already posted on this page

  72. Bastien January 8, 2009 12:23 am

    “Anon December 5, 2008 5:44 pm

    It is possible to use the ASA in multiple context mode, however you must execute lina directly with the m (for multiple context mode) flag as follows:

    lina -m”

    How to do so ? Thanks.

  73. stapy January 8, 2009 1:32 am

    thanks admin, i got them and thanks for this post … its good chance to increase our experiance in using asa

  74. Albert January 9, 2009 8:55 am

    Thanks I got it working, how is the SDM,WebVPN and Multiple Eth support coming along?

    wich ASA gives better performance on PC (DSL ASA or QEMU ASA ? thanks.

  75. admin January 11, 2009 3:57 pm

    QEMU ASA is an emulation and it’s very slow. Network is alot slower (up to 40x).
    VMWare is emulation too but better than QEMU.
    More eth and WebVPN depends on the license.

  76. Blogia January 18, 2009 12:56 am

    OS My auto was broken on road. Must I call to service or 911?

  77. Jay January 18, 2009 6:26 am

    How do you increase the memory beyond 128Meg ? Without any config, the memory used is already 100meg. Could I update it to the latest ASA OS ? Seems like it’s limited to 8.02. Thanks.

  78. admin January 18, 2009 2:52 pm

    ASA works with 256MB from which some of the memory is taken by OS/Lina.
    IMO 128MB free is OK, as many software routers are fine with only 32MB.
    You can also do most things with that much memory.

  79. Juniper Hacks January 30, 2009 4:18 am

    Tcp named pipes is much better than vmware gateway, you connect to multiple virtual serial devices, even remotely.

    http://shvechkov.tripod.com/nptp.html

  80. VS February 5, 2009 8:09 pm

    Hello,
    Is it possible to change somewhere the Asa Serial number?

  81. admin February 6, 2009 7:49 pm

    It is possible, but not easily.
    You must change the code of the lina to be able to do it. That requires lina disassembling.

  82. stapy February 14, 2009 1:49 pm

    dear admin
    i tried to ssh to asa using putty but it doesnt work … can u please advice?

  83. Tejer February 20, 2009 6:55 pm

    Has anyone been able to get ASDM to work with this ASA ?

  84. stapy March 6, 2009 3:44 pm

    hey admin
    is there any news about asdm?

  85. Piffer March 19, 2009 7:18 am

    Thanks! I’m running VMWare 2.0 and was able to fire this VM up, and change the IP so that I could ping devices on both ends. (LAN)–(HostOnlyNet)-. Some issues with writing the config, but I’ll work on that later, for now I can just update the running config from the VM with a config file. A few hours with this and I should be able to do some testing.
    By the way, did anyone have issues with setting up WebVPN as a GroupPolicy setting?
    Thanks again.
    -P

  86. stapy March 19, 2009 10:44 am

    it will be great if u support us with ASDM cause its really v. important experiance …thanks in advance

Trackbacks

Leave a Comment

 

Name (required)

Email (required)

Website

Previose Post: ASA Live Image

 

收藏与分享
18 2009

IS-IS概述

Posted by Yangybcy in 电脑网络

IS-IS概述
    1.无路由环路。
    2.可应用于大规模网络。
 3.路由快速更新和收敛
 4.支持区域划分
 5.支持组播地址发送
 6.支持可变长子网掩码(VLSM)
 7.工作在网络层次结构的第二层-数据链路层
 8.支持两种网络层次模型–OSI和TCP/IP
 9.支持区域平移,分割和合并而不中断业务

IS-IS基本概念
 IS:中间系统(intermediate system),类似于IP网的路由器。
 ES:终端系统(end system),类似于IP网的主机
 CLNS:无连接的网络服务(connectionless network service),类似于IP服务
 CLNP:无连接的网络协议(Connectionless network protocol),类似于IP协议
 IS-IS:运行在中间系统与中间系统之间的一种路由协议。
 ES-IS:运行在终端系统和中间系统之间的路由协议。类似于TCP、IP协议 族中的ARP和ICMP。
 PDU:包数据单元(packet date unit),类似于IP包
 NSAP:网络服务接入点(Network service access point),类似于IP地址。
 NET:网络实体(Network entity title),一个特殊的网络服务接入点。
 系统ID:system ID,类似于OSPF协议中的router ID
 LSP:链路状态协议数据单元(Link state protocol data unit),类似于OSPF的LSA
 LSPDB:LSP数据库(LSP database),类似于LSADB
 IIH:中间系统到中间系统的Hello报文(IS to IS Hello PDU),类似于OSPF中的Hello报文
 PSNP:部分序列号PDU(partial sequence number PDU),类似于OSPF中的ACK报文
 CSNP:完全序列号PDU(complete sequence number PDU),类似于OSPF的DD报文。

自治系统(Autonomous system 简称AS):传统的定义为一组运行同一路由协议并被同一组织机构管理的路由器。后来有所扩展,它可能是运行多种路由协议的一组路由器,但这些路由器都被同一组织机构管理。

路由域(Routing Domain):运行同一种路由协议并被同一组织机构管理的一组路由器。

区域(area):为了降低路由器的负载而切分的路由域的子域,子域内的路由器(中间系统)维护子域内部的具体路由信息和到达路由域内其它子域的路由信息。

 

 

NSAP类似于IP地址
NSAP的长度从8字节到20字节可变
区域地址由AFI,IDI,和高字节的DSP组成。用于标识一个组织。
系统ID(SYSTEM ID)在整个区域(包括骨干区域(所有的level2路由器)内唯一。

 

Network entity title(NET)
 NET是一个特殊的NSAP。其选择部份Selector为0
 IP网络中的Selector无意义,即只应用于NET
 每个路由器可以有一个或多个NET
 每一个区域的路由器拥有相同的区域ID
 每个Level1路由器必须拥有区域内唯一的System ID
 每个level2路由器必须拥有骨干区域内唯一的System ID.
 如果路由器(中间系统)有多个NET时,所有NET必须用相同的SystemID。

IS-IS的基本工作原理

收藏与分享
12 2009

H3C S7500交换机路由重分发的一些实际操作记录

Posted by Yangybcy in 电脑网络

在H3C设备上。路由引入使用 import-route。
    例:ospf 111
              area 0.0.0.111
                import-route ospf 111 cost 160 route-policy 1   //从OSPF进程111引入路由,并重新设定Cose值为160,且应用route-policy策略
  filter-policy 2001 import //路由引入策略。

acl number 2001
 rule 0 permit source 10.50.0.0 0.0.255.255
 rule 1 deny source 192.168.0.0 0.0.255.255
 rule 2 deny

ospf 111
 import-route static
 import-route ospf 1111
 default-route-advertise always
 area 0.0.0.111
  network 192.168.40.0 0.0.0.255
  network 192.168.50.0 0.0.0.255
  network 192.168.60.0 0.0.0.255
  network 192.168.99.0 0.0.0.255
  network 192.168.100.0 0.0.0.255        
#
ospf 1111
 import-route ospf 111 route-policy 1
 filter-policy 2001 import
 area 0.0.0.1
  network 10.50.16.0 0.0.0.127
#

route-policy 1 permit node 1
 if-match acl 2001
 apply cost 160

收藏与分享
03 2009

水平分割 毒性路由

Posted by Yangybcy in 电脑网络

       今天突然想起 水平分割和毒性逆转 这两个路由特性!   但是突然想不通这两个词的意思。  于是百度了一下!   于是转过来  以备后用。

水平分割:
  在使用距离矢量路由选择协议时,因无效的路由信息可被传播,所以会出现路由循环。换句话说,如果某条路径已经失效,但路由器并不知道这点,它仍将该路径作为好的路径通告出去。采用水平分割是在单条链路上解决此问题最常用的办法。可简单的理解为:从某个接口学习来的子网路由信息不会包含在该接口发出的更新信息中。

毒性路由:
  当某条路径失效时,距离矢量路由选择协议可以选择简单地停止通告该路径。实际上,对于接收路由更新的路由器来说,是无法知道究竟是因为路由器失效的原因,还是由于链路原因使得无法接收到该路由更新信息,因此引入了路由毒化来解决该问题。
  路由毒化使路由选择协议通告一条失效的路径的度量值为无穷大,它很像毒性逆转,实际上毒性逆转是路由毒化的一个子集。路由毒化可以理解为这样:当一条路径失效时,从以前通告该路径的接口上重新通告该路径度量值为无穷大的路由信息。

收藏与分享
27 2009

Chapter 5. Routing Information Protocol (RIP)

Posted by Yangybcy in 电脑网络

This chapter covers the following subjects:

The oldest of the distance vector IP routing protocols still in widespread use, RIP currently exists in two versions. This chapter deals with version 1 of RIP. Chapter 6, "RIPv2, RIPng, and Classless Routing," covers Version 2, which adds several enhancements to RIPv1. Most notably, RIPv1 is a classful routing protocol, whereas RIPv2 is classless. This chapter introduces classful routing, and Chapter 6 introduces classless routing. Chapter 6 also introduces RIPng, which is an adaptation of RIPv2 for support of IPv6.

Distance vector protocols, based on the algorithms developed by Bellman,[1] Ford, and Fulkerson,[2] were implemented beginning in 1969 in networks such as ARPANET and CYCLADES. In the mid-1970s Xerox developed a protocol called PARC[3] Universal Protocol, or PUP, to run on its 3-Mbps experimental predecessor to modern Ethernet. PUP was routed by the Gateway Information Protocol (GWINFO). PUP evolved into the Xerox Network Systems (XNS) protocol suite; concurrently, the Gateway Information Protocol became the XNS Routing Information Protocol. In turn, XNS RIP has become the precursor of such common routing protocols as Novell’s IPX RIP, AppleTalk’s Routing Table Maintenance Protocol (RTMP), and, of course, IP RIP.

[1] R. E. Bellman. Dynamic Programming. Princeton, New Jersey: Princeton University Press; 1957.

[2] L. R. Ford Jr. and D. R. Fulkerson. Flows in Networks. Princeton, New Jersey: Princeton University Press; 1962.

[3] Palo Alto Research Center.

The 4.2 Berkeley Software Distribution of UNIX, released in 1982, implemented RIP in a daemon called routed; many more recent versions of UNIX are based on the popular 4.2BSD and implement RIP in either routed or gated.[4] Oddly enough, a standard for RIP was not released until 1988, after the protocol was in extensive deployment. That was RFC 1058, written by Charles Hedrick, and it remains the only formal standard of RIPv1.

[4] Pronounced "route-dee" and "gate-dee."

Depending on the literature you reads, RIP is either unjustly maligned or undeservedly popular. Although it lacks the capabilities of many of its successors, its simplicity and widespread use mean that compatibility problems between implementations are rare. RIP was designed for smaller networks in which the data links are fairly homogeneous. Within these constraints, and especially within many UNIX environments, RIP continues to be a popular routing protocol.

 

收藏与分享
27 2009

sniffer 使用手册 (中文版)

Posted by Yangybcy in 电脑网络

点击下载此文件(Sniffer_pro_47入门指南)

 

 

收藏与分享
20 2009

H3C知识案例库内容更新提醒

Posted by Yangybcy in 电脑网络
H3C知识案例库内容更新提醒

您在H3C知识案例库收藏的知识案例有新增内容:

中文案例:
[2008-12-30]H3C ICG1800 V100R004版本发布公告 2008-12-30 09:18  
[2008-12-30]H3C ICG1000 V100R006版本发布公告 2008-12-30 09:42  
[2008-12-30]iMC EAD 3.60-E6102版本发布公告 2008-12-31 10:24  
[2008-12-30]iMC UAM 3.60-E6102版本发布公告 2008-12-31 10:24  
[2008-12-30]iMC WSM 3.50-R5103版本发布公告 2008-12-31 10:25  
[2008-12-30]H3C IVMS 3.10-R3122P02版本发布公告 2008-12-31 10:25  
[2008-12-31]H3C AR28、AR46系列路由器CMW3.40-R0202P01版本发布 2008-12-31 11:30  
[2008-12-31]Quidway AR28、AR46系列路由器VRP3.40-R0202P01版本发布 2008-12-31 11:30  
[2008-12-18]H3C S5100-EI系列交换机R2203P06版本发布 2008-12-31 14:28  
10  [2008-12-31]H3C MSR20_30_50系列路由器CMW520-R1618P16-BI版本发布公告 2008-12-31 15:34  
11  [2008-12-25]H3C S3600&E328_E352系列交换机R1602P12版本发布 2008-12-31 17:14  
12  [2008-12-31]H3C MSR20_30_50系列路由器CMW520-R1618P16-SI版本发布公告 2008-12-31 17:26  
13  [2008-12-26]H3C S5600系列交换机R1602P12版本发布 2008-12-31 17:17  
14  [2008-12-25]Quidway S3900&E328_E352系列交换机R1602P12版本发布 2008-12-31 17:18  
15  [2008-12-26]Quidway S5600系列交换机R1602P12版本发布 2008-12-31 17:19  

欢迎您访问 H3C KMS! 请您登录后查看.

H3C全球技术服务部

 

 
返回顶部
 
收藏与分享
十一 18 2008

IE不能显示PNG的解决

Posted by Yangybcy in 电脑网络
今天一上班,财务的同事就在说他们的电脑 打开网页 很多叉叉。  上去一看。全是PNG图片无法显示!  于是百度之!。   发现以下内容!     说pngfilt.dll重新注册可行!  于是注册之。     提示无此文件!   问题找到!  从其它电脑上COPY个Pngfilt.dll文件!    重新注册之   问题解决!!!
 
现附网上原文:
 
 
上百度搜索,有人说是IE6不能查看PNG是个BUG(请参照http://support.microsoft.com/kb/822071/zh-cn),我之前是能看的,且图片也不只是4,097 字节或 4,098 字节,无论大小怎样,都不能看。还有人说是HKEY_LOCAL_MACHINE/SOFTWARE/MICROSOFT/INTERNET EXPLORER/EMBEDEXTNTOCLSIDMAPPINGS/ 下加个.png的子键然后还要修改什么键值的,这个,我试过也是无效,在朋友正常的机子里发现这个路径下也是没有.png 子键的,也就是说这个说法也是不正确的。有人说重装IE6,我重装了,无效!有人说要装IE7,无效!有人说要重装系统,没试过……

  后来查到外国的PNG格式开发主页,在FAQ中讲到IE显示不了PNG的问题,其中给了几个方法,虽然没有真正解决我的问题,但相信会有人对得上号的:)
  1、使用 开始->运行,在运行输入框中输入 “regsvr32 c:\windows\system32\pngfilt.dll”(然后点击确定)
  注意,这个pngfilt.dll在有的系统中是在 c:\windows\system中的,要自己查看一下这文件在哪里,根据自己的系统修改一下路径。如果在注册时出现 “已加载 c:\windows\system32\pngfilt.dll,但没有找到DllRegisterSever 输入点。无法注册这个文件
”,则表明这个文件可能损坏了,你要去别的机子去Copy一个好的过来。再进行一次注册。
  2、有些人是因为自己系统的设置问题,即任意打开一个文件夹,在上方菜单上选择“工具”->“文件夹选项”->“文件类型”,选择下方的“还原”按钮。(如插图1)。
 
 
3、开始 -> 运行,在运行输入框中输入“Regedit”,到这个路径“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents
”,在右边右键“新建”->“字符串值” 紧接着最大的数字命名,我这里是3,故命名为4,并赋值为“image/png”。(见插图2)。
 
在国外网站并没有找到真正的解决方法,后来,再搜索时,看到某个论坛的一个回复:这里面说到有个特别的注册表位置[HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/png] !虽然这个回复似乎没有解决发言人的问题,但却启发了我,我打开Regedit,去到 [HKEY_CLASSES_ROOT\MIME\Database]一看,天哪!!!我这个键完全是空的!!!什么都没有!我再去朋友正常的机子(与我一样是WinXPSP2)上一看,这个键里的项目不止一百项………………郁闷哪!于是我把他机子的[HKEY_CLASSES_ROOT\MIME]整个键导出到mime.reg,再到我机子导入,咦,奇怪,什么都没有改变??什么都没有增加!!这里我想到了键的权限问题,在MIME键上右键,发现,权限里居然一个人都没有!于是我把MIME项整个删除,导入,再右键查看权限,正常(自己账号是全权控制的)!
收藏与分享
26 2008

CCNP901:OSPF–7种类型LSA摘要

Posted by Yangybcy in 电脑网络

    由于OSPF协议定义了多种路由器的类型,因而定义多种LSA通告的类型也是必要的。
   例如:一台DR路由器必须通告多路访问链路和所有与这条链路相连的路由器,而其他类型的路由器将不需要通告这种类型的信息。

OSPF的七种类型LSA:
1、路由器LSA (Router LSA)
由区域内所有路由器产生,并且只能在本个区域内泛洪广播。

这些最基本的LSA通告列出了路由器所有的链路和接口,并 指明了它们的状态和沿每条链路方向出站的代价。

2、网络LSA (Network LSA)
由区域内的DR或BDR路由器产生,报文包括DR和BDR连接的路由器的链路信息。

网络LSA也仅仅在产生这条网络LSA的区域内部进行泛洪。

3、网络汇总LSA (Network summary LSA)
由ABR产生,可以通知本区域内的路由器通往区域外的路由信息。

在一个区域外部但是仍然在一个OSPF自治系统内部的缺省路由也可以通过这种LSA来通告。

如果一台ABR路由器经过骨干区域从其他的ABR路由器收到多条网络汇总LSA,那么这台始发的ABR路由器将会选择这些LSA通告中代价最低的LSA,并且将这个LSA的最低代价通告给与它相连的非骨干区域。

4、ASBR汇总LSA (ASBR summary LSA)
也是由ABR产生,但是它是一条主机路由,指向ASBR路由器地址的路由。

5、自治系统外部LSA (Autonomous system external LSA)
由ASBR产生,告诉相同自治区的路由器通往外部自治区的路径。

自治系统外部LSA是惟一不和具体的区域相关联的LSA通告,将在整个自治系统中进行泛洪。

6、组成员LSA (Group membership LSA)     * 目前不支持组播OSPF (MOSPF协议)



7、NSSA外部LSA (NSSA External LSA)
由ASBR产生,几乎和LSA 5通告是相同的,但NSSA外部LSA通告仅仅在始发这个NSSA外部LSA通告的非纯末梢区域内部进行泛洪。
在NSSA区域中,当有一个路由器是ASBR时,不得不产生LSA 5报文,但是NSSA中不能有LSA 5报文,所有ASBR产生LSA 7报文,发给本区域的路由器。


* 只有一个例外,每台ABR路由器上利用一个类型3来通告缺省路由。每一种区域内允许泛洪的LSA类型

区域类型              1&2         3&4           5            7
骨干区域              允许        允许        允许         不允许
非骨干(非末梢)        允许        允许        允许         不允许
末梢                  允许        允许        允许         不允许
完全末梢              允许        不允许      不允许       不允许
NAAS                  允许        允许        不允许       允许

* 只有一个例外,每台ABR路由器上利用一个类型3来通告缺省路由。

1 末梢区域:(Stub Area)
       不允许AS外部通告(LSA 5)在其内部进行泛洪。在末梢区域边界的ABR路由器使用网络汇总LSA (LSA 3)向这个区域通告缺省路由,而且这条缺省路由不会被通告到这个区域的外部去。
     Router(config-route)area 1 stub      //将Area 1设置成末梢区域


2. 完全末梢区域:(Totally stub)
      使用缺省路由到达OSPF自治系统外部的目的地址,而且使用缺省路由到达这个区域外部的所有目的地址,完全末梢区域的ABR路由器不仅阻塞LSA 5,也阻塞所有的汇总LSA――除了通告缺省路由的那一条类型3。
     Router(config-route)#area 1 stub no-summary     //将Area 1设置成完全末梢区域,此时会将类型3用默认路由代替,NO-summary的作用是将类型3、4用默认路由简化

3 非纯末梢区域(Not-so-stubby-area)
     允许外部路由通告到OSPF自治系统内部,而同时保留自治系统的其余部分的末梢区域特征,ASBR将始发类型7的LSA来通告那些外部网络,这些NAAS外部LSA将在整个NAAS区域中泛洪,在ABR上被阻塞。ABR会将类型7的转化为类型5通告到其他区域中。

收藏与分享
26 2008

解析OSPF的单播、多播和网络类型

Posted by Yangybcy in 电脑网络

   OSPF属于链路状态协议,利用HELLO包来发现邻居、建立关系,利用Update包来发送更新,NOTIFICATION包来告知错误等等,我们列张表来看

    1、Hello

    2、Database Description

    3、Link State Request

    4、Link State Update

    5、Link State Acknowledgement

    链路状态协议的特点之一就是它的多播特性,取代了距离矢量协议中的广播特性,但是并非所有的包,在任何时候所发的包是多播的,单播也是它的重要工具。

    一、今天我们只讨论HELLO包中的单播特例:

    单播

    1、NBMA

    2、Virtual-Link

    多播

    3、Broadcast

    4、Point-to-Point

    5、Point-to-Multipoint

    二、顺带提一句,HELLO时间与DEAD时间为10秒,40秒的是(4倍关系):

    point-to-point

    broadcast

    HELLO时间DEAD时间为40秒,120秒的是

    Point-to-Multipoint

    NBMA

    三、DR与BDR的选举

    需要选举DR、BDR的是

    Broadcast               自动选举

    Point-to-Multipoint     自动选举

    NBMA                    手动指定

    不需选举DR、BDR的是

    Point-to-Point          不需选举

收藏与分享
Pages: 上一页 1 2 3 ...5 6 7 8 9 10 11 下一页