My Friends:




October 1, 2007

Tugas InterVLAN + OSPF dengan dynamips!?!

Filed under: linux, cisco

Sekarang saya mencoba konfigurasi VLAN dengan menggabungkan routing protocol OSPF. Postingan sebelumnya jg pernah saya bahas ttg VLAN, cmn saya menggunakan boson. Nah, kali ini kita menggunakan dynamips baik switching dan routingnya, dan pembagian IPnya kita menggunakan VLSM (Variable Length Subnet Mask). Ini penambahan2 yg saya lakukan dari postingan saya sebelumnya yg bertema Belajar Setting VLAN. Topology yg saya gunakan sangat sederhana sekali, topologi dan VLSMnya bisa dilihat dibawah ini:

Topologinya VLAN + OSPF

VLSM

Bila teman2 melihat disitu ada VLAN 10 dengan 20 user.. Nah, itu hanya perumpamaan aja koq. Disitu sengaja saya buat 1 komputer aja utk kegunaan verying nntinya. Terus, kan ada tuch yg "fa0/0.xx" itu maksudnya adalah sub-interface dari fa0/0, yg "xx" itu disamakan dengan nomor VLANnya. Jadi klo "fa0/0.10" berarti itu sub-interface utk si VLAN 10.
Sekarang kita buat pembagian2 IPnya di setiap devices:

1. Serial 1/1 di R1 = 192.168.1.105 ; SubnetMask (SM) = 255.255.255.252
2. Fastethernet 0/0.10 di R1 = 192.168.1.1 ; SM = 255.255.255.224
3. Fastethernet 0/0.20 di R1 = 192.168.1.33 ; SM = 255.255.255.224
4. Fastethernet 0/0.30 di R1 = 192.168.1.65 ; SM = 255.255.255.240
5. Serial 1/1 di R2 = 192.168.1.106 ; SM = 255.255.255.252
6. Fastethernet 0/0.40 di R1 = 192.168.1.81 ; SM = 255.255.255.240
7. Fastethernet 0/0.50 di R2 = 192.168.1.97 ; SM = 255.255.255.248
8. IP di PC1 di VLAN 10 = 192.168.1.5 ; SM = 255.255.255.224 ; Gateway (GW) = 192.168.1.1
9. IP di PC2 di VLAN 20 = 192.168.1.35 ; SM = 255.255.255.224 ; GW = 192.168.1.31
10. IP di PC3 di VLAN 30 = 192.168.1.70 ; SM = 255.255.255.240 ; GW = 192.168.1.65
11. IP di PC4 di VLAN 40 = 192.168.1.85 ; SM = 255.255.255.240 ; GW = 192.168.1.81
12. IP di PC5 di VLAN 50 = 192.168.1.100 ; SM =255.255.255.248 ; GW = 192.168.1.97

Nah, ini file vlan_ospf.net saya :

autostart = false

[localhost]

   [[3660]]
    image = /opt/images/c3660-is-mz.124-8.bin
    ram = 96

   [[3640]]
    image = /opt/images/c3640-is-mz.122-15.T8.bin
    ram = 64

   [[2610]]
    image = /opt/images/c2600-i-mz.113-4.t1.image
    ram = 16
    slot1 = NM-1E
    idlepc = 0×801ea000

   
   [[router R1]]
    s1/0 = R2 s1/1
    F0/0 = SW1 F1/0
    console = 5000
    model = 3640
    idlepc = 0x604d3af4

   [[router R2]]
    model = 3640
    F0/0 = SW2 F1/0
    console = 5001
    idlepc = 0x604d3b30

   [[router SW1]]
    model = 3660
    slot1 = NM-16ESW
    console = 5002
    idlepc = 0x6058c480
    F1/1 = PC1 e1/0
    F1/2 = PC2 e1/0
    F1/3 = PC3 e1/0

   [[router SW2]]
    model = 3660
    slot1 = NM-16ESW
    console = 5003
    idlepc = 0x6058c480

   [[router PC1]]
    model = 2610
    console = 5004

   [[router PC2]]
    model = 2610
    console = 5005

   [[router PC3]]
    model = 2610
    console = 5006

   [[router PC4]]
    model = 2610
    e1/0 = SW2 F1/1
    console = 5007

   [[router PC5]]
    model = 2610
    e1/0 = SW2 F1/2
    console = 5008

Akhirnya semua konfigurasi awal udah keliatan neh.. tinggal konfigurasi si router, switch dan PC toch.. Nah, klo konfigurasi si router, switch dan PC itu bagiannya teman2.. kekeke.. Tugas yah!! Klo teman2 ada yang nggak mengerti cara konfigurasinya bisa ditanya koq lewat YM ataupun lewat comment. Saya yakin teman2 pasti bisa..!!!
InsyaALLAH dalam jangka waktu 1 minggu kedepan akan saya postingkan konfigurasi2nya (semuanya), tp alangkah baiknya bila teman2 mencoba dulu sendiri, sekalian belajar toch.. :) .

Saya kasih contoh konfigurasi di PC1 yg VLAN 10 :

Router(config)#hostname PC1
PC1(config)#no ip routing
PC1(config)#ip default-gateway 192.168.1.1 255.255.255.224
PC1(config)#interface ethernet0/1
PC1(config-if)#ip address 192.168.1.5 255.255.255.224
PC1(config-if)#no shutdown

References :
- 7200emu.hacki.at
- cisco.com

Thx :
- iis yang telah sharing topologinya dan VLSMnya.

UPDATED :
- jawabannya sudah bs dilihat di Link ini

Best Regards,

Your friend

20 Comments »

The URI to TrackBack this entry is: http://ghozali.blogsome.com/2007/10/01/tugas-intervlan-ospf-dengan-dynamips/trackback/

  1. Halo Ghozali,

    Mantab nian kofigurasi Dynagennya. Gw sendiri sih baru sekarang2 ini aja pake dynagen. Belom cadas….. Kalau saja lebih banyak orang2 Indonesia yang seperti ini, gw yakin Indonesia akan cepet maju (bukan hanya di bidang IT saja loh).

    Oh iya, skaligus ngejawab yg dari milis Indocisco. Iya, kompie gw yg di rumah masih pake 512 MB, dan gw lom manfaatin dynagen, masih murni pake dynamips dan belum di optimasi (idle-pc dan lain2).

    Klo di kantor, gw pake dynagen, kompie 1 GB, dan dah gw optimasi. Hm…. terasa enteng jg, paling klo pas ruternya booting ajah yg nyampe 100%. Abis itu… dingin lagi.

    OK d, oh ya, ada YM??? Kklo ada, kontak lwt japri yak…

    Kita tuker2 ngelmu (bukan ilmu pelet)…..

    Comment by Ervan — November 2, 2007 @ 9:38 am

  2. Mas ghozali…
    mw tanya om…
    klo di dynamips kan ngrubah pc jd pc router cisco…
    nah klo pc kan interfacenya cm fast ethernet..
    mohon perncerahan om…
    makash bnyk…
    klo seandainya saya mw bwt lab jaringan WAN ttg frame relay itu kan harus ada interface serial..
    nah itu bagaimana kofigurasinya?
    apakah fast ethernet yang ada dalm pc diumpamakan sebagai serial?
    dalam contoh ini saya memakai 1 pc untuk 1 router dengan dynampis..
    saya menggunakan 3 pc router dynamips yang salin terhbung

    Comment by Didit — May 29, 2009 @ 6:37 pm

  3. bos gw belajar banyak dari catetan elu…. thx ya

    Comment by Jaka — June 28, 2009 @ 2:56 am

  4. Usually, university teachers are willing to testify the academic essay writing technique of their students, however not all students can to write correctly because of lack of time or other things. Therefore, a classification essay writing service can aid to compose the argumentative term paper very fast.

    Comment by Linda24 — January 29, 2010 @ 1:16 am

  5. The business loans suppose to be useful for people, which want to ground their own career. As a fact, it’s not very hard to get a college loan.

    Comment by loans — August 17, 2010 @ 7:46 am

  6. your post is really informative,and i like your post alot.Thanks a lot for sharing such a useful information.

    Comment by Marketing Dissertation Proposal — July 2, 2011 @ 11:46 pm

  7. Thanks a lot for sharing such a useful information.

    Comment by Burberry Outlet — September 2, 2011 @ 1:10 pm

  8. Ok that’s a good reason for not blogging. I am frreakiiiiing! michael and michael = heaven. Has the show been picked up? or are you guys doing the pilot? Shet we need more info about your show!!

    Comment by moncler outlet — September 22, 2011 @ 1:53 pm

  9. amirul a.k.a aMi
    Asri a.k.a Ashree
    banowati
    candrabayu
    Hari a.k.a tile
    irfani
    Iswarti a.k.a iis
    Oki a.k.a Oq
    Rio Ariestia a.k.a Motor1ouz
    Sayyid Qutub a.k.a esqie
    wawan

    Comment by Tory Burch Outlet — October 8, 2011 @ 5:27 pm

  10. You had some nice points here. I done a research on the topic and got most peoples will agree with you

    Comment by pandora jewellery — October 28, 2011 @ 2:33 pm

  11. them regarding their care. If you take proper care of

    them, these shoes will last for many years. One way to

    prolong their life and keep them looking great

    Comment by Adizero Rose 2.0 Shoes — November 1, 2011 @ 10:48 am

  12. and is also of huge pressure, “Tube Air” that is

    noticeable in numerous small groups concerning the midsole

    concerning the shoe, “Total Air” that is essentially just

    Comment by Nike Ken Griffey Jr — November 1, 2011 @ 2:34 pm

  13. Thanks for your sharing us the useful information I want to make friends with you.I think you have a unique wiew on fashion ,now I also want to touch fashion this area.so I hope I can learn experience from you.would you look at my website (www.thebestfashionbags.com) and give me some suggestions, thank you very much !.

    Comment by fashion handbags — November 1, 2011 @ 8:39 pm

  14. I like all your spectacular writings ! Now let me give you a good website(www.cheap-monclershop.com) for you . It can show you very good information for you.

    Comment by moncler jackets — November 1, 2011 @ 8:41 pm

  15. the product seems to literally fly off the shelf, Bailey Button Bomber Boot discount ugg

    Comment by Bottes Uggs — November 3, 2011 @ 9:51 am

  16. Many people like the warmth of UGG boots when in cold winter, and the soft and comfortable feeling when wear them. Besides, the uggs boots are unique and beautiful. If you are a fashioner, you should come to the uggs outlet and see the cheap uggs boots, high imitations as authentic ones. You will never regret to get the big Discount uggs here.

    Comment by Discount uggs — November 3, 2011 @ 2:16 pm

  17. Thank you for this article.
    wlfangqingqiang20111105

    Comment by christian louboutin — November 5, 2011 @ 10:35 am

  18. Oakley Sunglasses are easily available in the online stores.

    Comment by cheap oakley sunglasses — November 28, 2011 @ 1:21 pm

  19. Very valuable information, I am very grateful,I agree with your Blog and I will be back to check it more in the future so please keep up your work.

    Comment by Christian Louboutin Discount — November 29, 2011 @ 1:29 pm

  20. I’ve recently started a web site, the information you offer on this website has helped me greatly. Thank you for all of your time & work.

    Comment by Christian Louboutin Clearance — November 29, 2011 @ 1:31 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.