你的位置:首页 > 信息动态 > 新闻中心
信息动态
联系我们

【IP关键词 3】北邮 互联网协议 Internet Protocol 4.Network Layer

2021/12/25 11:42:23

序号为课件内每章节序号

4.

缩写EnMore
Forwardingmove pkt from router’s input to appropriate router output
Routingdetermine route taken by pkt from source to destination
IPv4 address32-bit = 4 bytes
Data Planelocal, per-router function; forwarding function
Control Planenetwork-wide logic; routing function; two ways: traditional routing algorithm, SDN
Input Interfacedecentralized switching: using header value to find forwarding output link in memory
longest prefix matching
switching fabricsMemory; Bus; Crossbar
Input Interface Queueingqueueing delay and loss; Header-of-the-Line Block (HOL)
Output InterfaceBuffering and scheduling discipline
Output Interface QueueingQueueing delay and loss
IP Datagram(IPv4)20 bytes; flags, fragment offset(= datagram’ payload / 8), header checksum, TTL, src IP addr, dest IP addr, len, head len, type of service, 16-bit indentifier, option
Subnet平均分
VLSMvariable length subnet mask从大的子网入手
DHCPDynamic Host Configuration ProtocolClient: (Broadcast) DHCP discover; DHCP Server: (Broadcast) DHCP offer; Client: (Broadcast) DHCP request; DHCP Server: (Broadcast) DHCP ACK(with IP)
NATNetwork Address translationlocal network look be one by outter network; 四个地址都要(IP, Port, src, dest)
IPv6 headerFixed 40 bytes; priority, flow label, next header, payload len, src addr, dest addr; 与IPv4的区别:移除了checksum,不能segment;添加了option
IPv6 address128-bit
TunningIPv6 datagram carried as payload in IPv4 datagram among IPv4 routers
SDNSoftware Defined NetworkingProgrammable, use any field of pkt header to forwarding
OpenFlowmatch-action; 对于Router, Switch, Firewall, NAT有不同的
Control Plane
Link-State routing algorithmDijkstra’s algorithm
Distance vector routing algorithmchanges DV table when local link cost change or DV update message from neighbor; notifies neighbors only when its DV changes
ASautonomous system (domain)一小块一小块的网络
IGPInterior Gateway ProtocolIntra-AS routing, AS内部的。
OSPFOpen Shortest Path First使用link-state algorithm,向AS内全部router发送OSPF的链路状态
IS-IS routingalmost same as OSPF
BGPBorder Gateway ProtocolAS与AS之间的,包含eBGP与iBGP,AS之间走eBGP,AS内部走iBGP
eBGPexternal BGP连接不同AS之间的router
iBGPinternal BGPAS之间的Router的
SDN control plane
OpenFlow Protocol
OpenFlow vs. Traditional routing
ICMPInternet Control Message ProtocolTraceroute。发送端使用UDP发送一个不能到达的接口数字,超时后会被router丢弃然后返回一个包含有router名字以及IP地址的ICMP超时信息。当ICMP返回时,计算并记录RTT。UDP到达终点host时,会返回带有port unreachable的ICMP信息,代表结束。