240 likes | 256 Views
IEX8175 RF Electronics. Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst. avo.ots@ttu.ee. Network Engineering. The process concerned with optimally selecting topology and bandwidth in a layer network, based on
E N D
IEX8175 RF Electronics Avo Otstelekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.avo.ots@ttu.ee
Network Engineering • The process concerned with optimally selecting topology and bandwidth in a layer network, based on • (pro-active) traffic demands expected between any two locations in the network and • (re-active) the actual traffic demand • It is an inter layer network process • NwE process in each layer network • advertises the nodes and their ports within the layer network • monitors the layer network and determines if/when a new (topological) link should be added or an existing link should be modified or released, based on the network provider's policy • determines best set of connections between ports in the layer network • requests those connections to be set up by its server layer networks; i.e. generates outgoing calls for client connections • It is implemented by the (distributed) Network Engineering Controllers (NEC) within the layer network
Dedicated Bandwidth Circuits Shared Bandwidth Circuits Dedicated Transport & Transfer Rate In Network Actual Data Rate Usage vs. Time Sum of Aggregate Bandwidth Much Less Wasted Bandwidth Mbps Mbps Time Time Multiple Data Customers in Shared Trunk Bandwidth Wasted Bandwidth Shared & Dedicated B W
Internet protocol • Provides best effort, connectionless packet delivery • motivated by need to keep routers simple and by adaptibility to failure of network elements • packets may be lost, out of order, or even duplicated • higher layer protocols must deal with these, if necessary • RFCs 791, 950, 919, 922, and 2474. • Internet STD also includes: • Internet Control Message Protocol (ICMP), RFC 792 • Internet Group Management Protocol (IGMP), RFC 1112
IP address 128.140.5.40 128.135.40.1 H Interface Address is 128.135.10.2 Interface Address is 128.140.5.35 H Network 128.135.0.0 Network 128.140.0.0 R H H H 128.135.10.20 128.135.10.21 128.140.5.36 Address with host ID=all 0s refers to the network Address with host ID=all 1s refers to a broadcast packet R = router H = host
1 3 6 4 2 Node (switch or router) 5 Routing in Packet Networks • Three possible (loopfree) routes from 1 to 6: • 1-3-6, 1-4-5-6, 1-2-5-6 • Which is “best”? • Min delay? Min hop? Max bandwidth? Min cost? Max reliability?
• • • • • • • • • Packet Switch: Meet 1 1 2 2 N N • Inputs contain multiplexed flows from access muxs & other packet switches • Flows demultiplexed at input, routed and/or forwarded to output ports • Packets buffered, prioritized, and multiplexed on output lines
“Unfolded” View of Switch Ingress Line Cards Header processing Demultiplexing Routing in large switches Controller Routing in small switches Signalling & resource allocation Interconnection Fabric Transfer packets between line cards Egress Line Cards Scheduling & priority Multiplexing Line card Line card Line card Line card Generic Packet Switch Controller 1 Line card 1 2 2 Line card 3 3 Line card Interconnection fabric … … … … N N Line card Input ports Output ports Data path Control path (a)
Shared Memory Packet Switch Output Buffering Ingress Processing Connection Control 1 1 Queue Control 2 2 3 3 Shared Memory … … N N Small switches can be built by reading/writing into shared memory
Crossbar Switches (b) Output buffering (a) Input buffering Inputs Inputs 3 1 1 2 8 3 2 3 3 … … N N … … 1 2 3 N 1 2 3 N Outputs Outputs • Large switches built from crossbar & multistage space switches • Requires centralized controller/scheduler (who sends to whom when) • Can buffer at input, output, or both (performance vs complexity)
... ... ... 1 1 1 2 2 2 n n n IP IP IP UDP UDP UDP UDP Multiplexing • All UDP datagrams arriving to IP address B and destination port number n are delivered to the same process B C A
Congestion Control • Buffers at intermediate routers between source and destination may overflow Router Packet flows from many sources R bps • Congestion occurs when total arrival rate from all packet flows exceeds R over a sustained period of time
1. Light traffic Arrival Rate << R Low delay Can accommodate more Knee (congestion onset) Arrival rate approaches R Delay increases rapidly Throughput begins to saturate Congestion collapse Arrival rate > R Large delays, packet loss Useful application throughput drops Phases of Congestion Behavior R Throughput (bps) Arrival Rate Delay (sec) Arrival Rate R
Communications and computing Store Communicate Compute Communicate Communicate
Store Communicate Compute Communicate Communicate Act Sense Environment
Control Computation Communication Communication Devices Devices DynamicalSystems
From Software to/from human Human in the loop To Software to Software Full automation Integrated control, comms, computing Closer to physical substrate Store Communicate Compute Communicate Communicate Computation • New capabilities & robustness • New vulnerabilities Communication Communication Devices Devices Control Dynamical Systems
IPv4 >to>> IPv6 • Expanded addressing capabilities • Header format simplification • Improved support for extensions and options • Flow labelling capability • Authentication and privacy capabilities
Basic Headers • IPv6 Header • IPv4 Header
Basic Headers • Fields • Version (4 bits) – only field to keep same position and name • Class (8 bits) – new field • Flow Label (20 bits) – new field • Payload Length (16 bits) – length of data, slightly different from total length • Next Header (8 bits) – type of the next header, new idea • Hop Limit (8 bits) – was time-to-live, renamed • Source address (128 bits) • Destination address (128 bits)
Basic Headers • Simplifications • Fixed length of all fields, not like old options field – IHL, or header length irrelevant • Remove Header Checksum – rely on checksums at other layers • No hop-by-hop fragmentation – fragment offset irrelevant – MTU discovery • Add extension headers – next header type (sort of a protocol type, or replacement for options) • Basic Principle: Routers along the way should do minimal processing
Extension Headers • Extension Header Types • Routing Header • Fragmentation Header • Hop-by-Hop Options Header • Destinations Options Header • Authentication Header • Encrypted Security Payload Header
Lõpulingid http://www.ietf.org/rfc/rfc0791.txt?number=791 http://www.ietf.org/rfc/rfc2474.txt?number=2474 http://www.apple.com/airportextreme/specs.html http://tools.ietf.org/html/rfc1924
Links http://www.ietf.org/rfc/rfc0791.txt?number=791 http://www.ietf.org/rfc/rfc2474.txt?number=2474 http://www.apple.com/airportextreme/specs.html http://tools.ietf.org/html/rfc1924