Flexible use of broadband router LAN ports

Source: Internet
Author: User
Tags reserved switches

Routers are our common network devices, for how we use the Broadband router LAN port, how we should be set up, here we have a detailed explanation.





Broadband routers (including wireless routers) are typically built with a four-port switch that provides 4 10/100m and even Gigabit Adaptive Ethernet (LAN) interfaces, which are connected to the internal LAN. And most of these ports also support automatic port rollover (auto Mdi/mdix). How can you use these LAN ports flexibly when making a LAN cable or even a wireless connection?





one, common usage




The common usage of
broadband routers is to use the NAT function to route it, at which point the four-port switch is equivalent to four-port hubs. NAT is the network address translation, it can convert public network (internet) IP to private network IP (such as 10.0.x.x, 192.168.x.x, 172.x.x.x), so that multiple PCs on the home or enterprise local network can share a single public network IP address online. Many of the Internet gateway devices, such as Internet Connection Sharing (ICS) in Windows and the broadband router, are shared goals that are achieved using NAT features.





in the LAN port settings of the broadband router, the LAN interface IP address (10.0.x.x, 192.168.x.x, 172.x.x.x segment) can be changed to meet the needs of the actual network environment. Of course, the DHCP server is the best partner for NAT to assign the IP addresses of these network segments to each computer.




The full name of
DHCP is "Dynamic host Configuration Protocol", which is the dynamically hosted configuration protocol. In a network that uses DHCP, a user's computer can get the parameters of the Internet from a DHCP server, with little or no manual configuration to go online. In general, the DHCP server will try to keep every computer using the same IP address on the Internet. If the computer is not online for a long time or is configured to use a static address for the Internet, the DHCP server assigns the address to another computer.





In the DHCP server settings for broadband routers, enabling DHCP server functionality can greatly simplify the difficulty of configuring IP addresses, subnet masks, gateways, and DNS servers for each computer one by one. And in its address pool start address and address pool end address, can flexibly control the DHCP server automatically assign IP address when the start address and end address, let intranet host IP address will be between these two addresses.





also, a DHCP server built into a broadband router has a static address assignment feature that allows static IP addresses to be reserved for computers that specify MAC addresses. When the computer requests a DHCP server to assign an IP address, the DHCP server assigns the IP address reserved in the table to it. And once adopted, the IP address of the host will no longer change. This for the use of the DMZ host (if the DMZ host, in the "DMZ host IP Address" column to fill in the computer's fixed IP address), virtual server, UPnP (Universal Plug and play, in the operating system, broadband routers, It is especially useful for LAN users who have the ability to turn on this feature in all three applications.





and through the application and settings of these functions, it is convenient to let more than one computer in the LAN to share a public network IP address surfing the Internet, and to achieve the corresponding function.





second, make switch with





Broadband routers (including wireless routers) are generally built with a four-port switch, so you can directly make it a real switch to use. Perhaps a lot of readers will ask, is not there a uplink on the switch? And the four-port switch built into the broadband router is not. In fact, the role of the uplink port is to solve the network equipment interconnection when the cable (crossover and straight line) of the use of the problem is set (MDI interface does not cross transfer and receive lines, crossover by connecting to the terminal workstation of the regular interface Mdix interface to complete). Now many switches or routers support the port rollover function, all ports can be used as a uplink port, but also used as a common port, and both the crossover line or straight line can be used. So now many mainstream switches do not have a dedicated uplink port.





To make a broadband router switch, you can no longer use its WAN port to connect LAN (such as Adsl+lan, Fttx+lan, etc.) broadband access line, the twisted pair should be plugged into the four-port switch in any one by one LAN interface. Connect a LAN of a router to the LAN port of a router or switch using a direct line or crossover, and connect the computers that need to connect to the rest of the LAN port on the rear router using the direct connection.





of course, the necessary configuration is also essential. First, locate the DHCP server in the Broadband Router configuration page and set it to not enabled. Then, locate the LAN settings option and set it as any address in the top-level routing device address pool to ensure that it is inconsistent with other computer IP in the LAN. Assuming that the IP address of the upper route is 192.168.10.1 (the default gateway), the subnet mask 255.255.255.0, where the DHCP server address pool start address and address pool end address is 192.168.10.100-192.168.10.199, the LAN of this broadband router for the switch will be made The IP address is set to 192.168.10.199 (any address between 192.168.10.100-192.168.10.199), and the subnet mask is 255.255.255.0. After the above configuration, this broadband router can be used as a "switch".





of course, if the connected network is already a routed network, the wireless router can be set up as an AP to use, in addition to the same method that the wireless router can use for the switch. In a sense, the AP is equivalent to the wireless hub, but with the hub is not connected to the media is not a network cable, but the air as the medium of work in a specific frequency range of wireless electromagnetic waves, workstations must be equipped with AP client, that is, wireless network card.





is also easy to set up. First, to set up a wireless router to use as a wireless AP, the Internet port or WAN port of the wireless router will no longer be used in any application environment. Simply connect the router's four LAN ports to a network device such as a switch or router.





Then, log on to the wireless router's management page, the wireless router's factory defaults turn on the DHCP server function, and now the wireless router is connected to the network already has a router to turn on this feature, so at this time should turn off the wireless router's DHCP server function. The IP address of the wireless router and the upper-level router are set to the same network segment. For example, the router connected to the upper layer has a gateway IP address of 192.168.100.1, a mask of 255.255.255.0, and a DHCP server on. The IP address of this wireless router can be set to any address in this segment, that is, 192.168.100.*, where the * is the value between 2~254, as long as not with the LAN other devices IP address conflict. The last point "Apply" button, set up the updated wireless router will work as an AP.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.