network layer : logical communication between hosts transport layer : logical communication between processes UDP : unreliable, unordered delivery (best-effort), connectionless (user-datagram-protocol) - no connection establishment (which can cause delay), simple, small segment header, no congestion control) - multimedia application streaming에 사용된다. (loss tolerant but rate sensitive) (DNS, SNMP,..
forwarding : 들어오는 패킷을 만들어진 routing table을 보고 해당 interface로 내보내는 것 routing : router에서 routing table을 만드는 것 router는 routing packet을 주고받으면서 path를 찾는데 이 routing packet 자체가 굉장히 오버헤드이다. routing의 challenge (1) routing은 distributed manner에서 진행되어야 한다. (2) Quality and availability of routes change with time. routing metric : cost ex) delay, number of hops, throughput 문제점 : 어떤 source, destination에서든 sum of..
protect from eavesdropping Encryption, Decryption with key public key cryptography protect from the imposters to alter the message Authentication Digital signature plaintext - ciphertext (encrypt, decrypt) 여기부터 protect from eavesdropping encryption은 amount of information이 바뀌지 않는다. 그리고 그냥 많은 수의 수학 연산을 수행하게 된다. 좋은 encryption algorithm : small change in the message or key should lead to big change ..
Internet Protocol Suite : package of protocol for communication on internet Application - Transport - Internet - Link IP : global, connection-less, best effort, scalable (hierarchical routing. hourglass model) problem : packet loss, duplicate packet, out of order packet, packet experience large delay Fragmentaion, Re-assembly (connecting networks with different MTU-Maximum transmission unit) Fra..
Transmitter가 receiver에게 collision을 알리기 위해서 jam signal을 사용한다. preamble : 8B 짜리의 bit로, receiver가 sender의 clock과 synchronize 할 수 있도록 한다. repeater : 좀 더 긴 거리를 통신할 수 있도록 bit를 amplify해준다. (beyond length limit) 그러나, one network with repeater 환경은 single collision domain이라서 network가 최소 packet length에 한정되어 있다. Slotted ALOHA는 ALOHA에 비해서 window of vulnerability의 사이즈가 반이다. 그래서 throughput이 G*exp(-G)로 줄어든 것. C..
client-server model client : actively initiates and requests service server : waits and passively accepts service request. socket APIs provide client and server functionalities socket enable different hosts exchanging different services in the Internet. computer 선택 : ADDRESS(대부분 ip) a host may have many services (distinguish service 능력이 필요.) -> port number로 구분. port number : 16 bit. HTTP(web) : ..
Multiple access problem : 2명 이상의 user가 message를 동시에 보내서 모든 메시지가 garble 되어 discard 되는 것. 그리고, transmission medium을 공유하기 때문에 transmission이 항상 broadcast이다. Simple solution : (1) Centralized solution : moderator를 두어 얘가 조정해준다. 누가 speak할지. 그런데 moderator의 system에 문제가 생기면 전체가 shut down 된다. 작은 system에 적합. (2) Distributed solution : 아무도 말하고 있지 않으면 speak 한다. 만약 두 명이 기다리는 중이면 collision이 발생할 수 있다. LAN (local..
protocol : a language interpreted by network software set of rules and formats for communicating. components - format of the message(syntax & semantic), order of message exchange, local actionlayer : abstractioni of different levels of related functionality. benefit - decomposition, modularity(개별 단위. 모듈성) encapsulationdecomposition : breaks down complex problems (simple service들이 결합됨.), abstract..