Traditional Culture Encyclopedia - Traditional stories - Why can routers connect to heterogeneous networks?
Why can routers connect to heterogeneous networks?
The difference between a router and a bridge is: different functions, different locations and different connections.
First, the roles are different
1. Router: As a gateway between networks, the router is a dedicated intelligent network device, which reads the address in each packet and then decides how to transmit it.
2. Bridge: A bridge is a storage/forwarding device that connects two LANs. It can divide a large LAN into multiple network segments, or connect more than two LANs into a logical LAN, so that all users on the LAN can access the server.
Second, it is located in different
1. Router: The router is located at the network layer.
2. Bridge: The bridge is located at the data link layer.
Third, the connection is different.
1. Router: Routers can connect homogeneous and heterogeneous networks.
2. Bridge: A bridge can only be connected to the same network segment, but not to different network segments.
Asking this question is like asking why people eat!
The reason why there is a router is because it is connected to such a network, so it is designed and manufactured!
Want to know its principle, you can directly call the router on Baidu and read the instructions!
One of the reasons why routers can connect heterogeneous networks is that they have the function of protocol conversion? Protocol conversion is a function of OSI.
A router is a device that connects a local area network and a wide area network in the Internet. It will automatically select and set the route according to the channel conditions, and send signals in turn by the best path.
The main difference between routing and switch is that switching takes place at the second layer (data link layer) of OSI reference model, while routing takes place at the third layer, namely network layer. This difference determines that routers and switches need to use different control information when moving information, so they realize their respective functions in different ways.
Routers, also known as gateway devices, are used to connect multiple logically separated networks. The so-called logical network represents a single network or subnet. When data is transmitted from one subnet to another, it can be done through the routing function of the router. Therefore, the router has the function of judging the network address and selecting the IP path. It can establish flexible connection in multi-network interconnection environment, and can connect all kinds of subnets with completely different data grouping and media access methods. The router only accepts information from the source station or other routers, and belongs to an interconnected device in the network layer.
Router is the main node equipment of Internet. Routers decide the forwarding of data through routing. The forwarding policy is called routing, which is also the origin of the router name. As the interconnection hub between different networks, the router system constitutes the main thread of the Internet based on TCP/IP, which can also be said that the router constitutes the backbone of the Internet. Its processing speed is one of the main bottlenecks of network communication, and its reliability directly affects the quality of network interconnection. Therefore, router technology has always been in the core position in the research field of campus network, regional network and even the whole internet, and its development history and direction.
Why can a bridge connect to a heterogeneous network while a router can't?
The bridge is a layer 2 device, with mac forwarding and ip not forwarding. To access something that is not in the unified network segment, it must be routed. The router is a three-layer device and forwarded by ip address. Forget about Mike.
- Related articles
- Ice crown fortress mage talent
- What's the point of praying?
- Zhang Ruimin's Management Journal
- Brewing method
- What traditional handicrafts are there in China?
- What experienced new Chinese villa decoration have you seen?
- Classic practice of shredded leek and bean curd?
- Three departments: the construction of agricultural housing to realize the separation of sleeping, living and eating, and promote flush toilets into the room
- The future of a large number of businessmen or will disappear?
- Summary of the work of raw material inspectors