네트워크

    [네트워크] 허브 / 브릿지 / 스위치 / 라우터

    허브 같은 허브에 연결된 PC끼리는 서로 통신이 가능하다. 허브는 서로 연결하게되면 마치 1대의 허브처럼 동작이 가능하다. 허브 역시 랜카드처럼 이더넷용과 토큰링용이 있다. 이더넷 허브도 속도에 따라 그냥 허브와 패스트 허브가 있다. 허브는 네트워크에서 없으면 안되는 가장 기본이 되는 장비 중 하나이다. (물론 요즘은 스위치가 싸서 네트워크 장비에서 허브를 찾아보기 어렵게됐디만 배우는 단계에서 무시하면 안된다.) 랜카드, 케이블, 허브만 있으면 내부에서 허브에 접속된 모든 PC가 서로 통신이 가능하다. (물론 외부 인터넷은 못나간다.) 허브는 '멀티포트 리피터'라고 말할 수 있다. 멀티포트는 말 그대로 포트가 많이 붙어있다는 뜻이고, 리피터는 들어온 데이터를 그대로 재전송한다는 의미를 가지고 있다. 즉,..

    [네트워크] 유니캐스트, 브로드캐스트, 멀티캐스트

    유니캐스트, 멀티캐스트, 브로드캐스트 등 캐스트 3형제는 한마디로 네트우크에서 통신을 하는 방식에 따른 구분이다. 즉, 1대1로 한느 통신 방식이냐, 어떤 그룹을 대상으로 하는 통신 방식이냐, 아니면 전부를 대상으로 하는 통신방식이냐 하는 것이다. 유니캐스트 현재 우리가 네트워크상에서 가장 많이 사용되는 트래픽이 무엇인가 하면 바로 유니캐스트이다. 유니캐스트란, 우리가 랜에서 통신을 한다고 할 때 데이터를 보내고자 하는 PC의 맥 어드레스 주소를 프레임 안에 써넣는데, 이때 PC가 하나여야 한다. 즉, 특정 목적지의 주소 하나만을 가지고 통신하는 방식이다. 편지를 보내는 방식과 비교했을때 봉투에 받는 사람 주소를 적고 보내는 사람 주소를 적은 다음에 우체통에 넣는 방식이다. 이런 방식으로 어떤 PC가 유..

    netfilter, iptables

    netfilter - The Packet Filtering Framework for Linux 리눅스 커널 모듈로서 네트워크 패킷을 처리하기 위한 프레임워크이다. netfilter는 패킷 필터링, 네트워크 주소 변환 및 포트 변환을 위한 다양한 기능 및 작업을 제공한다. 이러한 기능은 네트워크를 통해 패킷을 전달하고 패킷이 네트워크의 중요한 위치에 도달하는 것을 방지하는 데 필요한 기능을 제공한다. iptables - Packet Mangling Tool 패킷을 필터링하거나 변환할 수 있는 방화벽 규칙을 정의하기 위한 테이블 기반 시스템을 제공한다. NIC을 거쳐 유입되는 모든 네트워크 패킷을 netfilter에 등록된 룰을 거쳐 제어된다. iptables를 활용하면 특정 조건에 부합하는 패킷을 드랍하거..

    [CCNA] CCNA1 - Chapter5

    What happens to runt frames received by a Cisco Ethernet switch? In an attempt to conserve bandwidth and not forward useless frames, Ethernet devices drop frames that are considered to be runt (less than 64 bytes) or jumbo (greater than 1500 bytes) frames. Ethernet frame The minimum Ethernet frame is 64 bytes. The maximum Ethernet frame is 1518 bytes. A network technician must know the minimum a..

    [CCNA] CCNA1 - Chapter4

    reasons for physical layer protocols to use frame encoding techniques to distinguish data bits from control bits to identify where the frame starts and ends A network administrator notices that some newly installed Ethernet cabling is carrying corrupt and distorted data signals. The new cabling was installed in the ceiling close to fluorescent lights and electrical equipment. Which two factors m..

    [CCNA] CCNA1 - Chapter3

    flow control Flow control allows for this by ensuring that data is not sent too fast for it to be received properly. encapsulation Encapsulation is the process of placing one message format into another message format. An example is how a packet is placed in its entirety into the data field as it is encapsulated into a frame. network protocols Network protocols are implemented in hardware, or so..

    [CCAN] CCNA1 - Chapter2

    A network administrator needs to keep the user ID, password, and session contents private when establishing remote CLI connectivity with a switch to manage it. Which access method should be chosen? ssh Which command or key combination allows a user to return to the previous level in the command hierarchy? End and CTRL-Z : return the user to the privileged EXEC mode. Ctrl-C : ends a command in pr..

    [CCNA] CCNA1 - Chapter1

    Intermediary devices Intermediary devices direct path of the data Intermediary devices connect individual hosts to the network Intermediary devices interconnect end devices. Examples of intermediary network devices are: switches and wireless access points (network access) routers (internetworking) firewalls (security). Which two connection options provide an always-on, high-bandwidth Internet co..