Computer Network70 [컴퓨터네트워크] 1201 (2) ICMP: Internet Control Message Protocol 이제 SDN에 대한 이야기를 마쳤다. Network management에 대해 이야기해보자. Network management: 네트워크를 모니터링하고 있다가, 네트워크에 문제가 생기면, 이를 해결하는 것! ICMP: Internet Control Message Protocol ▷ host와 router가 네트워크 상태정보를 교환하는 데에 사용된다. Error reporting: router에서 destination host로 데이터를 전송하다가 문제가 생겼을 때, 이를 source host에게 알린다. ping - ping 보낼 때: echo request - ping 받을 때: echo reply --> echo reply가 오면.. 2023. 12. 2. [컴퓨터네트워크] 1201 (1) SDN control plane Generalized, flow-based forwarding: flow table 목적지 기반 forwarding, forwarding table Control plane과 Data plane이 분리되어 있다. Control plane: Remote controller + Programmable control applications SDN logical structure ▶ Control plane: network-control applications northbound API SDN controller southbound API ▶ Data plane SDN-controlled switches 1) Data plane: switches : Generalized forw.. 2023. 12. 2. [컴퓨터네트워크] 1129 BGP Path - Example : 다른 AS로 path를 보낼 때, 자기 자신을 추가해서 보낸다. AS_PATH NEXT_HOP = gateway router BGP Path Attributes: Policy ▶ Import policy: iBGP : 하나의 AS 내에서 path를 다른 라우터에게 전송할 지 여부를 결정하는 policy. iBGP를 통해 path를 전달한다는 것은, 내 AS 내에서 이 path를 이용하겠다는 뜻이다. --> 내 AS 내에서 어떤 outgoing path를 쓸 지 통제한다. (controlling outgoing traffic!) -- 내가 어디로 갈까? ▶ Export policy: eBGP : 이웃 AS에게 path를 전달할 지 여부를 결정하는 policy. eBGP.. 2023. 12. 2. [컴퓨터네트워크] 1124 Routing Protocols in the Internet (1) Interior (Intra-AS routing) Intra-AS Routing : AS 내부에서 사용되는 routing protocol (= IGP: Interior Gateway Protocols) ▶ RIP: Distance Vector ▶ EIGRP ▶ OSPF ▶ IS-IS protocol RIP (Routing Information Protocol) ▷ Distance vector algorithm 방법: hop count - hop count > 15: "unreachable" --> 작은 규모의 네트워크만 가능하다. DV(Distance Vector) 정보가 이웃과 30초에 한 번 교환된다. (UDP 위에서 동작하기 때문에.. 2023. 11. 27. [컴퓨터네트워크] 1122 2) Distance vector algorithm: Bellman-Ford algorithm Distance vector (DV) algorithm : Bellman-Ford (BF) equation 베이스 알고리즘 Bellman-Ford equation: cost of least-cost path from x to y. ▷ x --> v --> y : (x~v) + (v~y)의 cost를 가장 낮게 만드는 v를 선택한다. Bellman-Ford: Example ▷ u --> (v | x | w) --> z : u --> x --> z의 cost가 가장 낮으므로, 중간 node로 x를 택한다. Bellman-Ford 방식: 각각의 이웃(v, x, w)이 목적지(z)로 얼마만에 갈 수 있는지를 알아야 한.. 2023. 11. 26. [네트워크] 4.5 미들박스 Middleboxes : Any intermediary box performing functions apart from normal, standard functions of an IP router on the data path between a source host and destination host. --> 새로운 기능을 추가하기 어려운 core에 새로운 기능을 추가하기 위한 것으로, 추가적인 기능을 총칭하는 말! Middleboxes Middlebox 이전에는 core에 새로운 기능을 추가하고자 할 때, 하드웨어적 해결법을 이용했다. (문제가 많음) --> "whitebox" hardware: 소프트웨어만 업데이트하면, middlebox 기능을 할 수 있다. SDN: remote central co.. 2023. 11. 26. [네트워크] 4.4 일반화된 포워딩 및 소프트웨어 기반 네트워크(SDN) 우리는 지금까지 전통적인 목적지 기반 forwarding에 대해 이야기했다. 이제부터 SDN에 대해 배워보자. SDN은 remote central controller를 가지고, router는 이 remote central controller에게 자신이 가진 정보를 전달한다. 따라서 이러한 remote controller가 모든 router의 목적지 이동 방법을 다 계산해서 router에게 알려준다. Forwarding: Traditional vs. SDN ▶ 전통적인 forwarding : Forwarding table을 기반으로, 목적지 기반 forwarding을 한다. 즉, IP 주소의 목적지 주소로 forwarding만 하는 것이다. 그리고 이때, 중간 router에서 어느 방향으로 향할 지는 각각.. 2023. 11. 26. [네트워크] 4.3 인터넷 프로토콜(IP): IPv4, 주소체계, NAT, IPv6 등 Network Layer: InternetApplication layerTransport layerNetwork layerLink layerPhysical layerNetwork layer에서는 여러 프로토콜이 동시에 동작한다. ▶ Path-selection algorithm : forwarding table을 만드는 프로토콜Routing protocols (OSPF, BGP): + routing algorithm --> routing table --> forwarding table (전통적인 방법)SDN controller: control server - router CA --> forwarding table ▶ IP protocol : Data와 관련된 프로토콜 ▶ ICMP protocol : Rou.. 2023. 11. 26. [네트워크] 4.2 라우터 내부에는 무엇이 있을까? Router 네트워크 계층에서 host와 router가 있다. 그 중 router에 대해 알아보자. ▶ Control plane: control message를 routing한다. (end-end-path through network) ▶ Data plane: user message를 forwarding한다. (local forwarding)' Cf) Host는 router와 달리, control plane을 필요로하지 않는다. : host --> gateway router로 바로 연결되기 때문이다. Control plane에서: routing protocol --> routing algorithm --> routing table Data plane에서: forwarding table --> input .. 2023. 11. 25. 이전 1 2 3 4 5 ··· 8 다음