6-2

6-2 User Datagram Protocol

Used by applications that dont want reliability or bytestreams

such as Voice-over-IP, DNS, RPC(message oriented), DHCP(bootstraping)

ports and message cues from network to transport(buffering and mess ques) to application

6-3 Connection Establishment

ISN Initial Sequence Number

6-4 Connection Release

“hangup”

FIN(x) ACK(x)

 

 

Posted in Uncategorized | Leave a comment

6-1 Transport layer overview

TCP

Sockets

Socket

Bind

Listen

Accept

Connect

Send

Receive

Close

(for streams listen, accept, connect)

 

Application process often identified by

tuple IP adress, protocol, and port

Servers often bind to well known ports

such as 1024 require administrative privileges

Clients often assigned “ephemeral “ ports chosen by OS used temporarily

Ports

20,21 FTP file transfer

22  SSH Remote login, replacement for Telnet

25 SMTP  EMAIL

80  HTTP

110  POP-3  remote email access

143 IMAP  Remote email access

443  HTTPS Secure Web (HTTP over SSL/TLS

543 RTSP Media player control

631 IPP Printer sharing

 

Later we will get into Congestion control

 

Posted in Uncategorized | Leave a comment

Switch Spanning Tree(deals with loops)

Reasons for loops in the topology?

Redundancy in case of failures

Or simple mistakes, Something that Just Works components added all the time, wouldn’t want someone to plug Ethernet cord into the wrong port and inadvertently make a loop.

Continue reading →

Posted in Uncategorized | Leave a comment

Computer Networks, LAN Switches

Ubiquitessly used in modern ethernet.

Hosts connected by twisted cables to a box called a switch in a closet.

—–Hub repeater is physical layer, all ports are wired together.

—–link layer is a switch. Switch look at sources and destination addresses. host on port 1 to output port 4, at same time port 2 sends to port 3. Two messages at same time, hub does only one message to all ports.

## so what if two hosts send message through switch fabric to same port?! Need buffer to temporarily store frames until they can be sent on inport to outport. Thank you Moorse law

##Also buffers can only hold so many packets so that is how loss occurs.

## full duplex means wire goes out and has input at same time.

Switches need to find the right output port for the destination address in the Ethernet frame. How?

Algorithm Backward Learning. Maps addresses and ports. Ethernet frames contain source address and destination address.

1)Algorithm look at source address.

2)Algorithm Forward to all ports

example A port 1 sends packets to D port 4, D sees a is sourced from port 1 so D now knows A is on port 1. in a situation where there are Multiple Switches B on port 2 and C on port 3 knows A is sending to port 4. So if switch knows source address will send directly to, otherwise switch station will broadcast to all ports. So loops in this topology will get to in next post.

 

 

—-link layer/ Network 

Posted in Uncategorized | 1 Comment

Networks Contention-Free Multiplexing

Used in wireless networks unlike CSMA which is for small packet or frame amounts, can handle a bigger load but cost more overhead.

##denotes comments

##not sure what overhead is yet, but we will get into that later.

## these are all from University of Washington on Coursera, ##Introduction to Networks.

Passes a token ring to each computer in the network

Token makes computers take turns

If error occurs at bit level and token ring is lost or corrupted then token ring is resent

and the duplicates are deleted.

Has higher overhead than CSMA, Carrier Sense Multiple Access.

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin dashboard) to start a fresh post.

Here are some suggestions for your first post.

  1. You can find new ideas for what to blog about by reading the Daily Post.
  2. Add PressThis to your browser. It creates a new blog post for you about any interesting  page you read on the web.
  3. Make some changes to this page, and then hit preview on the right. You can always preview any post or edit it before you share it to the world.
Posted in Uncategorized | 1 Comment