Router / switch / gateway

Non-technical education, the difference between routing gateway switch is consistent not understand, to learn to understand a bit today, doing their notes.

Switch: Traditional layer 2 switch in the second layer 7 i.e. a link layer network architecture that connects the network device (router / switch / protective wall) and terminal equipment (computer / server / printer sharing), for the switch is the shared work mode () weakness and launched. Switch has an internal bus, and back high-bandwidth switching matrix operation (the shared printers, file servers) to provide a high speed LAN connected to the shunt switch control port (not as routing forwarding, but to develop port). You can not isolate broadcast packets. Internal ARP table (MAC to IP mapping table is not to be broadcast)

Router: Network layer 7 in the layer architecture for connecting network (private IP + port mapping to public unified IP) and the Internet, the main function is routing addressing and forwarding (exchange), connected to a different network layer address of the router it is the gateway address (so also known as an IP gateway (a gateway), for use in the home or small office applications) can be ARP / dynamic IP / complex operating speed / dial-up Internet access. You can isolate broadcast packets.

Gateway: conversion processing different protocols but can not be transmitted transparently transmitted. Router, protective walls, the server can act as a gateway to control internal network and external networks.

Repeater: each network device 2 is connected and signal amplification, such as routing repeater, the repeater signal acquisition (protocol data variety of wired and wireless data transfer protocols, such as unified MODBUS-TCP).

IPCONFIG / ALL private IP with a browser enter the IP public IP for different reasons: IPV4 is 32, the initial design did not expect so fast is not enough, so have carried out a total and private IP via WAN / LAN gateway IP + port, so that more devices can access the Internet, say from the internal network to the external network, but the return data outside the network from if not established correspondence between private IP and port in the gateway side can not find the specified private network the device.

Wired and wireless network outside the network issue debug network notebook:

Guess you like

Origin www.cnblogs.com/jieruishu/p/12174987.html