NAT Prefix Length
CLI Guru - Cisco Eğitim ve Danışmanlık Merkezi |

2007 yılından bu yana aktif olan ciscotr.com, artık " www.bilisim.pro " olarak devam edecektir.  
Mevcut mesajlarınız ve kullanıcı bilgilerinizle sitemizde katılıma devam edebilirsiniz.

+ Reply to Thread
Results 1 to 6 of 6
Like Tree2Likes
  • 1 Post By cobanoglu
  • 1 Post By cobanoglu
NAT Prefix Length

ip nat pool ozgur 1.1.128.1 1.1.135.254 prefix-length 19 arkadaslar burdaki "prefix-length 19" ne anlama geliyor? Tesekkurler...

  1. #1
    ozgurshahin is offline Junior Member
    Join Date
    Feb 2012
    Posts
    26

    Default NAT Prefix Length

    ip nat pool ozgur 1.1.128.1 1.1.135.254 prefix-length 19

    arkadaslar burdaki "prefix-length 19" ne anlama geliyor?
    Tesekkurler...

  2. #2
    cobanoglu is offline Senior Member
    Join Date
    Sep 2011
    Location
    ABD, New York
    Posts
    105

    Default

    prefix-length ve netmask ayni sey, prefix-length direk bit sayisini verir, netmask ise mask'i gosterir.

    senin verdigin ornek'te

    ip nat pool ozgur 1.1.128.1 1.1.135.254 prefix-length 19
    ip nat pool ozgur 1.1.128.1 1.1.135.254 netmask 255.255.224.0

    her iki komut ayni isi yapar. pool'da gosterilen adreslerin netmask'lerini belirtir, yani kac bit network'a ait, kac bit host'a ait.
    ozgurshahin likes this.

  3. #3
    ozgurshahin is offline Junior Member
    Join Date
    Feb 2012
    Posts
    26

    Default

    Tesekkurler...




    Zahmet olmazsa bu soruyu yorumlarmisiniz?

  4. #4
    cobanoglu is offline Senior Member
    Join Date
    Sep 2011
    Location
    ABD, New York
    Posts
    105

    Default

    A da dogru C de dogru, aslinda prefix-length 1 den prefix-length 21 e kadar butun hepsi burdaki output'u saglar. the most specific (longest) olan 19 oldugu icin cevaplarda, onu dogru gostermisler. yani the most correct cevap A demek daha dogru olur heralde
    MCyagli likes this.

  5. #5
    ozgurshahin is offline Junior Member
    Join Date
    Feb 2012
    Posts
    26

    Default

    Benimde kafami o karsitirdi hocam bilmedigim birseyler var ama ne oldugunu bilmiyorum

    18 icinde 19 icinde tablolar assagidaki gibi
    yani 128.1 ve 135.254 icin her 2 mask uyum sagliyor ancak cevabi A diyor
    baska bir ufak nokta var ama ne?

    Subnet Network Min IP Max IP Broadcast
    0 1.1.0.0 1.1.0.1 1.1.63.254 1.1.63.255
    1 1.1.64.0 1.1.64.1 1.1.127.254 1.1.127.255
    2 1.1.128.0 1.1.128.1 1.1.191.254 1.1.191.255
    3 1.1.192.0 1.1.192.1 1.1.255.254 1.1.255.255


    Subnet Network Min IP Max IP Broadcast
    0 1.1.0.0 1.1.0.1 1.1.31.254 1.1.31.255
    1 1.1.32.0 1.1.32.1 1.1.63.254 1.1.63.255
    2 1.1.64.0 1.1.64.1 1.1.95.254 1.1.95.255
    3 1.1.96.0 1.1.96.1 1.1.127.254 1.1.127.255
    4 1.1.128.0 1.1.128.1 1.1.159.254 1.1.159.255
    5 1.1.160.0 1.1.160.1 1.1.191.254 1.1.191.255
    6 1.1.192.0 1.1.192.1 1.1.223.254 1.1.223.255
    7 1.1.224.0 1.1.224.1 1.1.255.254 1.1.255.255

  6. #6
    cobanoglu is offline Senior Member
    Join Date
    Sep 2011
    Location
    ABD, New York
    Posts
    105

    Default

    baska bir nokta yok, 18'de 19'da dogru. her ikiside saglar, 19 daha yakin oldugu icin ( longest match) o yuzden 19 dogru cevap olarak verilmis.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts