Traditional Culture Encyclopedia - Traditional festivals - The difference between router and switch
The difference between router and switch
Different functions: the router can assign an IP to many hosts, and these hosts only show one IP to the outside; Switches can connect many hosts, all of which have their own IP, and multiple IPS appear.
Different working levels: the switch works in the data link layer of OSI open system interconnection model, that is, the second layer; The router works in the network layer of the OSI model, namely the third layer. The principle of relative switch is simpler than that of router.
The forwarding basis is different: the object of switch forwarding is MAC address (physical address), which is mainly used to form local area network; The object of routing and forwarding is IP address (network address), which is responsible for connecting the host to the Internet.
A router is a hardware device that connects two or more networks. It acts as a gateway between networks. It is a dedicated intelligent network device that reads the address in each packet and then decides how to transmit it. It can understand different protocols, such as Ethernet protocol used in LAN and TCP/IP protocol used in Internet.
Switch, which means "switch", is a network device used for electric (optical) signal forwarding. It can provide a dedicated electrical signal path for any two network nodes accessing the switch. The most common switch is an Ethernet switch. Other common ones are telephone voice switch and optical fiber switch.
- Previous article:What are the common methods of spatial data processing?
- Next article:High school mathematics learning methods
- Related articles
- What is the Altman toy more than ten centimeters high?
- How to ask kindergarten parents to make books
- Traditional writing methods of calligraphy with brush in Qing Dynasty
- Describe the beauty of traditional villages
- What does harmony mean in China's core values?
- Seek ancient people live in the room construction diagram (floor plan)
- Which cashier system in beauty salons works well?
- How does the brokerage business at the bottom of the pyramid successfully counterattack?
- How to make handmade tea
- Small reservoir construction organization design preliminary discussion?