• ch5 vlsms


    Variabel Length Subnet Mask vlsms

    较早的路由协议 ripv1 没有为子网准备的字段,子网信息会被丢失。 这意味着如果一个路由器运行着一个rip协议具有一个确定的子网掩码n,假定所有的经典地址具有相同的子网掩码,这是为经典路由。

    总之,在老的rip协议上 vlsms 是无效的

    classful : 经典的地址,没有子网掩码 ripv1

    classless: 携带子网掩码的形式 192.168.x.x/24
    ripv2 eigrp ospf

    the link between two routers

    在CISCO路由器上,缺省你可以使用全1网段,但不能使用全0网段.所以,当你在CISCO路由器上给端口定义IP地址时,该IP地址不能落在全0网段上.如果你配了,你会得到一条错误信息.使用IP SUBNET-ZERO命令之后,你才能使用全0网段.
    另外要强调的是,使用了IP SUBNET-ZERO命令之后,如果路由协议使用的是CLASSFUL的(比如RIP),虽然你的定义成功了,但那个子网掩码还是不会被RIP带到它的路由更新报文中.即,IP SUBNET-ZERO 命令不会左右路由协议的工作.
    总之,TCP/IP协议中,全0和全1网段因为具有二意性而不能被使用.
    CISCO缺省使全1网段可以被使用,但全0网段只有在配置了IP SUBNET-ZERO后方可被使用.

    Summarization

    TroubleShooting Ip Addressing

    1 ping 127.0.0.1

    ping 不同说明去要重装TCP|IP 协议

    2 ping 自己的ip

    ping通说明网卡正常工作。如果失败,网卡有问题,
    网卡的问题不仅仅是物理上的,更重要的是ip协议能否通过驱动和网卡联系

    3 ping 网关

    不通说明从主机到网管的地方出了问题

    4 ping server

    以上四步都不行 基本是DNS问题,

    ping
    tracerouter linux
    tracert windos
    arp -a IP-to-MAC-address
    show ip arp Cisco router 上的命令
    ipconfig /all 在windos上使用

    troubleshooting

    CIDR
    Classless Inter-Domain Routing

    # Exam Essetnials #
    benefits of subnet masks:
    more efficient use of the address space

    process of summarizariton or route aggregation

    Calculate the summary mask that will advertise a single network representing all subnets

    four diagnositc steps

    identify and mitigate an ip addressing problem

    understand the troubleshooting tools that you can use from your host and a Cisco router

    WL

    1
    (1) 192.168.0.0 /20
    (2) 192.168.0.0/21 192.168.8.0/22

    2
    172.144.0.0/12

    3
    192.168.32.0/19

  • 相关阅读:
    C语言中的复合类型
    C语言中的函数与指针
    C语言中的循环结构与选择结构
    C语言中的运算符
    C语言中的变量
    毕业论文查重网站
    Protocol and Delegate协议和代理
    NSArray与NSMutableArray 数组与可变数组
    UI复习
    NSString方法与NSMutableString方法
  • 原文地址:https://www.cnblogs.com/sfzyk/p/10150545.html
Copyright © 2020-2023  润新知