Download
1 / 59

進階網路系統作業 -3 - PowerPoint PPT Presentation


  • 133 Views
  • Uploaded on
  • Presentation posted in: General

進階網路系統作業 -3. 第三組 組員 : 郭淑貞 935609 林瑞棋 935611 林慶昌 935615 林宏霖 935628 姚明芳 935637 許添財 935659 指導教授 : 王井煦 教授. 1. 請說明 IP , Ethernet 封包格式 ?. IP 封包的組成部份 ﹐ 以及各部的長度 ﹕. 在上圖中 ﹐ 括號之內的數字就是各部的長度 (bit)﹐ 計算得出每一行的總長度都是 32bit 。事實上,真正的封包是有連續的位元依序排列在一起的,下面分別對各部名稱解釋一下 Version

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha

Download Presentation

進階網路系統作業 -3

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


3

-3

: 935609

935611

935615

935628

935637

935659

  • :


1 ip ethernet

1.IP , Ethernet ?

IP


3

  • (bit) 32bit

  • Version

    (VER) IP IP 4 (version 4) 0x4 ()

  • Internet Header Length

    (IHL) IP 6 header Options Padding5 32bit 4byt e 5 20byte 20 16 0x14 0x14


3

  • Type of Service

    (TOS) IP 8 bit bit


3

  • Total Length

    (TL) byte

  • Identification

    (ID)IP 16bit OSI TCP/IP ID

  • Flag

    (FL) 3 bit


3

  • Fragment Offset

    (FO)(MTU)(fragment) ()

    FO 0

  • Time To Live

    (TTL) TTL TTL ((hop)) IP TTL hop router ) TTL 0 traceroute TTL


3

  • Protocol

    (PROT)ICMP TCP/UDP (FTPHTTP ) Linux /etc/protocol

    ------------------------------------------------------

    ip 0 IP

    # internet protocol, pseudo protocol number

    icmp 1 ICMP

    # internet control message protocol

    igmp 2 IGMP

    # Internet Group Management

    ggp 3 GGP

    # gateway-gateway protocol

    pencap 4 IP-ENCAP

    # IP encapsulated in IP (officially ``IP'')


3

st 5 ST

# ST datagram mode

tcp 6 TCP

# transmission control protocol

egp 8 EGP

# exterior gateway protocol

pup 12 PUP

# PARC universal packet protocol

udp 17 UDP

# user datagram protocol

hmp 20 HMP

# host monitoring protocol

xns-idp 22 XNS-IDP

# Xerox NS IDP

rdp 27 RDP

# "reliable datagram" protocol


3

iso-tp4 29 ISO-TP4

# ISO Transport Protocol class 4

xtp 36 XTP

# Xpress Tranfer Protocol

ddp 37 DDP

# Datagram Delivery Protocol

idpr-cmtp 39 IDPR-CMTP

# IDPR Control Message Transport

rspf 73 RSPF

#Radio Shortest Path First.

vmtp 81 VMTP

# Versatile Message Transport

ospf 89 OSPFIGP

# Open Shortest Path First IGP

ipip 94 IPIP

# Yet Another IP encapsulation

encap 98 ENCAP

# Yet Another IP encapsulation


3

  • Header Checksum

    (HC)

  • Source IP Address

    (SA) IP 32 bit

  • Destination IP Address

    (SA) IP 32 bit

  • Options & Padding


3

  • Ethernet

    46 1500 byte ARP ARP ARP RARP


3

HARDWARE TYPE

1 ( Ethernet )

PROTOCOL TYPE

0x0800 IP

HLEN

( byte) 6


3

PLEN

( byte)IP 4

OPERATION

ARP Request ,ARP Reply,RARP Request ,RARP Reply

SENDER HA

6byte

SENDER IP

IP 4 byte IP

TARGET HA

6 yte

TARGET IP

IP 4 byte IP


3

  • ISO8802-3/IEEE802.3 ISO ISO8802-3 IEEEIEEE802.3

    Ethernet IEEE802.3Ethernet OSI()()Ethernet IEEE 2:MAC(Media Access Control)LLC(Logical Link Control)

  • Ethernet48bit AddressDIXEthernetEthernet AddressIEEEMAC Address


3

Ethernet(Frame)

(Frame)EthernetIEEE802.3DIX(DEC-Intel-Xerox)EthernetIEEE802.3


3

Preamble

LANNICNICNIC3byte3byte6byte(48bit)6byteIEEE

6byte

(Data Field)

Type

EthernetType


3

46~1500byteIEEELLCLLC

FCS

CRC(Cyclic Redundancy Check)


3

2.?

  • Spanning Tree ProtocolOSPFOpen Shortest Path First

  • Spanning Tree Protocol

    Spanning Tree Protocol (STP)(Bridge)(Switch)

    Layer 2STPIEEE 802.1DSTPBridge Switch (Redundant Path)(Loop)STPBridgeSwitchSTP BridgeSwitchSTP

  • (Redundant Topology)STP


3

(Broadcast Storm)

(Filtering Database Instability)

  • Spanning Tree Protocol

    Spanning TreeSTPSwitch(Block)PortSpanning TreeSTP

    PortSpanning TreeBridgeSwitch

    BPDU (Bridge Protocol Data Unit)Hello MessageMulticastFrameBPDUSTP

    STP

  • 1. Root Bridge

    Bridge Switch Root BridgeRootBridgePortBlockPortForwardingRoot Bridge(Root)


3

  • 1) BPDUBridge IDBridgeBridge IDRoot BridgeSpanning TreeBridge IDBridgeSwitch

  • 2) Bridge IDBridge Priority (2 Bytes)Bridge MAC Address (6 Bytes)802.1D Bridge Priority32768SwitchBridge Priority32768 (8000)MAC Address0:A0:C5:12:34:56Bridge ID8000:00A0:C512:3456

  • 3) Root Bridge Port Designated PortDesignated Port ForwardingForwardingPort

  • 2. Non-Root BridgeRoot Port

    Root BridgeSwitchRoot PortRoot PortNon-Root BridgeRoot BridgeRoot Port(Leaf)


3

  • 1) Root PortNon-Root BridgeRoot BridgePortPathCost PortRoot PortForwarding

  • 2) Path CostPortFrameRoot BridgeCost Path Cost Cost IEEE 802.1D Path Cost 3) Port Path Cost Root BridgePort

    PriorityPortRoot Port

  • 3. (Segment)Designated Port

  • (Collision Domain)Designated PortDesignated PortCostRoot BridgeDesignated Port ForwardingSegmentSegmentPort Path CostBridge ID Port Designate Port


3

  • 4. Spanning Tree Protocol

    STPCostSpanning Tree EnableRoot PortDesignated PortPortDisableRoot PortDesignated Port STP BPDUSpanning TreeBridgeRoot BridgeHello BPDUBridge(Max Age)Hello BPDUBridgeRoot BridgeBridge Bridge


3

  • 1 + 1 ---

  • 1 : 1 ---

  • M : N --- MN1 : 1M : N1+1

  • ---

  • ---


3 igmp snooping proxy server

3.IGMP Snooping/Proxy/Server?

  • IGMPIGMPInternet Group Management ProtocolIPIGMPIGMPIP

  • IGMP23


3

  • IGMP IGMPIPIGMP23

  • ()IP3IP(MAC)2192.168.34.0IP192.168.34.255


3

  • IGMPD224.0.0.0239.255.255.2553DIP

  • D

  • D224.0.0.2


3

  • 3

  • IGMP

    IGMP


3

  • IGMP

    IPPCPCIGMP

  • IGMP()DIP(GDA)


3

  • 1. IP

  • 2. IGMP

  • 3. IGMP(MOSPF)(DVMRP)

  • 4.


3

  • IGMP2AIGMP2()

  • IGMP2IGMP121IGMP1212


3

  • IP --IGMP()IGMP SnoopingCGMP IGMPIGMP


3

  • IGMP Snooping ,IGMP Proxy

  • IGMP SnoopingIGMP IGMP ProxyIGMP SnoopingIGMP snoopingIGMPIGMP ProxyIGMP


4 vlan

4.VLAN?

  • VLANVirtualLocalAreaNetworkVLAN

  • VLAN

    VLANVLANVLANVLAN


3

  • VLANVirtual Local Area NetworkVLANVLANVLAN VLANVLAN

  • VLANVLANVLANVLAN


3

  • VLAN

    VLANVLANVLANVLAN

    VLANMACVLAN

    VLANVLANVLAN VLAN


3

  • VLAN

    VLAN

    MACVLAN

    MACMACVLANVLANVLANMACVLANMAC

    3VLAN

    3VLANIPIPX


3

  • VLANs . ()A . A . 1

  • 1 UCDNet 15

  • 145


3

1 -


3

  • ,

  • (VLANs) VLANs1 VLANs

2 -


3

  • 121 1 ()

  • VLANs 3VLANs

  • 1 Ethernet VLANs


3

3 - VLANs

4 - VLAN


5 broadcasting ip multicasting ip ip multicasting live tv nvod

5.Broadcasting , IP Multicasting? IP IP MulticastingLive TV , NVOD.


3

  • 1 11 multicasting 12 broadcasting broadcastaddress unicasting


3

  • 2IP 21 IPIPmulticastingIPIPIPmulticastgroup 22IP IP 0IP 1IP 2IP


3

  • 01203.2.10IP

  • 1IP01IPIP 2IP1IPinternetinternetgroupmanagementprotocolIGMPIP


3

  • 3.IP 3.1 3.1.1 internetNICIPIPA-E5A-CIPED11100~34~31224.0.0.0~239.255.255.25522827 IP 3.1.2 IPinternetNICwell-knowntransientmulticastgroup0


3

  • 3.1.3IP IP224.0.0.0~239.255.255.255IP224.0.0.0---224.2.255.255224.0.0.0 224.0.0.1allhostsgroupIP 224.0.0.2allroutersonaLAN 224.0.0.4DVMRP*DVMRPRouters 224.0.0.5OSPF*(allOSPFroutersonaLAN)224.0.0.6OSPF(alldesignatedOSPFroutersonaLAN)224.0.1.1NetworkTimeProtocolNTP 224.0.5.000-224.0.5.127CDPDGroups


3

  • 224.1.0.0-224.1.255.255StreamProtocolMulticastGroups 224.2.0.0-224.2.255.255MultimediaConferenceCalls *DVMRPDistancevectormulticastroutingprotocolOSPFopenshortestpathfirstIETF 3.2IP 3.2.1IP 3.2.1.1 48IP32IP28IP IP2301.00.5e.00.00.001623IP


3

  • 3.2.1.2IP IPIPIP225.118.100.100226.246.100.10001.00.94.118.100.100 IP28239~315IP4~8235

  • IP:1110gggggddddddddddddddddddddddd |----|----||--------------------------|ID523


3

  • 923! IP IP235235225 IP3.8 3.2.2IP IEEE802.2IP


3

store-andforwardnetworkARPANETX.25IPIP 4IP IPIPIP

5IP IPIP1VOD2SpecialinternetgroupSIGE-MAILACM


6 qos cos ieee802 1p ieee802 1q

6. QoS CoS (IEEE802.1P/IEEE802.1Q) .

  • QoS QoSCoS802.1pQoS802.1p802.1p1010010QoS


3

  • 802.1QVirtual Bridged Local Area NetworksVLAN VLANIEEE 802.1QVLAN:

  • VLAN VLANLANLANVLAN


3

  • 802.1DVLANVLANVLAN VLANVLANVLANVLANVLANVLANVLAN


3

  • 802.1QVLANVLAN802.1QTITNETX40908100M11G802.1Q4802.1Q


3

  • 802.1Q 4802.1Q2TPID--Tag Protocol Identifier8100TCI--Tag Control InformationTPIDIEEE802.1Q802.1Q


3

  • LAN Identified( VLAN ID ): 12VLANID4096802.1QVLANTNETX 327032VLAN

  • Canonical Format Indicator( cfi )FDDITNETX 3270

  • Priority3 8TNETX 3270TNETX 4090


3

  • IEEE 802.1P MAC OSI802.1P

  • 802.1P 3IEEE QoS CoS802.1P


3

  • 802.1P IEEE 802.1Q VLAN IEEE 802.1Q MAC VLAN VLAN ID123IEEE 802.1Q VLAN 802.1P

  • 802.1P 8 IEEE 7 RIP OSPF 6 5 delay-sensitive 1 4 controlled-load streaming multimedia business-critical traffic SAP loss eligible 0 best-effort


ad
  • Login