@UoP.lecture note

[NETFUN] Network Routing Basics

킬로그램y 2018. 1. 16. 23:51

IP Address


Part of layer 3 of the OSI model

private, public 두 개로 구분됨.


IPv4 : 32비트로 이루어진 IP 주소

ex) 148.197.44.15

IPv6 : 128비트로 이루어진 IP 주소

ex) 2001:0db8:86a4:0000:0000:8a2e:0370:7334




What is Routing?


네트워크 패킷을 소스 네트워크로부터 목표 네트워크까지 전달하는 동작.


What if....

  • When should you route a packet?
  • What is the best route to take?
    • - How do you know?
  • Does the topology change?
    • - If it does change what then?
  • What if there is a fault in the network?
  • What happens if the destination does not exist?
  • If a packet has a different network destination network to the host then it is determined that it needs to be forwarded to another network via the IP Address.
  • It is the router that holds the internetwork logic to decide how to forward the packet.

워크스테이션 A에서 워크스테이션 B로 메일을 보냄.
A에서 로컬 라우팅 테이블을 통해 B가 같은 네트워크에 존재하는지 확인함.
B가 다른 네트워크에 존재하는 것이 확인됨.
패킷을 default 게이트웨이로 보냄.


Routing Table



첫번째 행 - default Gateway Row 

두번째 행 - 패킷을 어디로 보낼까

세번째 행 - 로컬 서브넷 주소

네번째 행 - IP 주소 Host

다섯번째 행 - Broadcast 정보

여섯번째 행 - Broadcast 셋업

일곱번째 행 - 모든 네트워크에 Broadcast