【计算机网络】网络层

关于路由发现、路由选择、拥挤控制、网络互连等

ps:网络层不是链接计算机的具体物理设备或负责信号传输的具体媒体

单位:分组

协议:IP、ICMP、RIP、OSFF、BCP、IGMP

协议

ICMP(Internet Control Message Protocol)

因特网控制报文协议

状态检测,差错报告

ARP(Address Resolution Protocol)

地址解析协议

作用:根据ip地址,查mac地址

DHCP动态主机配置协议

不需要人的参与,自动给计算机配置参数(前提:有dhcp服务器的存在)

IP(Internet Protocol)

因特网互联协议

RARP(Reverse Address Resolution Protocol)

逆地址解析协议

路由选择算法 routing algorithms

flooding:

distance vector routing:router has a table

problem:count-to-infinity problem 

link state routing:

拥塞控制congestion control

目的:为了一对一通信中保护接收方

traffic-aware routing

路由器要自己调节

会发生震荡

traffic throttling

load shedding

internetworking

各种网络的物理层和数据链路层不同

based on a common network layer——IP

internet protocol

特点:无连接,不可靠,最大努力

 ipv4 datagram

consist of a header and a body

header:20-byte fixed part and optional part

df:是否分组

mf:是否有下一个分组

fragment offset:距离头字节的距离,单位是8-byte(被分成8-byte的整数倍)

ip地址:主要是路由器的数据链路层用,在不同网络之间,基本不变

mac地址:在一个网络里用,不可跨越网络,主要在物理层中用

特殊的ip地址:

全是1:广播

全是0:表示自己

subnet子网

subnet mask子网掩码

aggregation聚合

把多个c类网络聚合,形成超网()

CIDR(classless inter-domain routing )

NAT(network address translation)

名词解释

路由(routing)

is the process of discovering network path

sits between (different) networks and forwards data packet between computer network

network layer

environment

a host with a packet to send transmits it to the nearest router

the packet is stored and forwarded to the next router along the path until it 

connectionless service(无连接服务)

no advance setup is needed.  

connection-oriented service(面向链接服务)

VC(virtual circuit) 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

岩塘

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值