Articles

linking two routers together

March 9, 2005 at 12:56:09
Specs: Win xp, athlonxp1700+ / 256mb

I was just wondering, can you link two routers together? What I mean is can you send a cable for the output from one router strait to the input of the other router, and if so, would you need this cable linking the two routers to be a crosover cable?


See More: linking two routers together

Report •


#1
March 9, 2005 at 12:58:38

Yes you can link 2 routers together, depending on what you want to do, you have to plug the cables into the proper port. No crossovers needed. Regular cables work just fine.

Report •

#2
March 9, 2005 at 13:04:56

well what i want to do is i want to have a wireless router plugged directly into my internet line. Then I want my wired router plugged into one of the ports on my wireless router. I then plan to plug some computers into the wired router. I also want to access the wireless router with another computer with a wireless lan card.

Will this setup all work? If so will the computers pluged into the wired router be able to also have access to the shared files on the computer with the wireless lan?


Report •

#3
March 9, 2005 at 13:19:48

Sure seems like a lot of work when you could just connect the wireless router to the internet line. Do you have more than 4 wired pcs?

Otherwise what you will end up doing is turning your router into a glorified switch. You could connect from router A lan port to router B lan port. You would turn off dhcp on router B.

I have yet to read of anyone being successful going from lan port to router wan port though in theory it should be possible.

If going from lan to lan you will need a crossover cable since I don't believe these Soho routers lan ports are auto mdx [senses if it needs cross or not and configures itself to work with whatever is provided]


Report •

Related Solutions

#4
March 9, 2005 at 13:26:38

that was not auto above in case I confused anyone [like myself!]

Report •

#5
March 9, 2005 at 13:27:44

Could you explain that a little more clearly? I dont get what you mean by dhpc. I dont know the diffrence between a lan port and wan port.

Report •

#6
March 9, 2005 at 15:26:20

DHCP is Dynamic Host Configuration Protocol that assigns IP addresses to client machines, including configuration options such as default gateway, subnet mask, DNS servers, etc.

SOHO routers include DHCP servers in them to make configuration easy for PC's using the router to get to the internet.

If you don't disable the DHCP in the router that's not plugged into the internet, there would be two DHCP servers, and only one of them would actually configure the computers correctly -- the one that's plugged into the internet. So to ensure your clients get their configuration from that router, you disable the DHCP server in the router not plugged into the internet.

Make sense?

"...but in my defense, it was dark, I was drunk, and it was delicious!"


Report •

#7
March 9, 2005 at 15:27:42

Gort,

If you are not familiar with DHCP (and the other networking processes involved) then you will probably have a difficult time getting these to work properly. I'll try to explain as best I can.

In a network each device needs an IP address so that they can communicate. Routers typically use DHCP (Dynamic Host Configuration Protocol) to assign IPs to the devices automatically.

You router has two IPs, a public IP and a private IP. The public IP is the IP that is assigned by your ISP. The private IP is the IP used by your router to communicate to the computers on your internal LAN. It assignes private IPs to these devices. Devices need to be on the same network (determined by part of the IP address) in order to communicate with each other. To communicate with PCs on a network a router is needed in order to bridge the two.

Your private IPs probably start 192.168.0.xxx or 192.168.1.xxx. If youchange that third number then they are different networks.

When you click a link for a web page on your PC, the request is sent with your PC's private IP address to the router. The router then converts the request to have it's public IP address and sends it on to the web server. The web server then sends the response back to your router, which then redirects the response to your PC's IP address.

If you connect a 2nd router to the first, the 2nd router will get an IP from the 1st router and consider this it's public IP. It will then create a new internal network for itself and the connected devices.

Now, I don't know if a router can have public and private IPs that are on the same network. Actually I would be surprised if they could. But, if so, you would then have to make sure that the IP's assigned by the second router do not duplicate the IPs assigned by the 1st.

If you are only connecting one computer to the second router you can put that computer in the DMZ (too long to explain). But that won't work if you have 2 or more connecting to that router.

Michael J


Report •

#8
March 9, 2005 at 17:12:52

"Now, I don't know if a router can have public and private IPs that are on the same network."

It can't because it couldn't determine when to route to send the traffic through the WAN port, or to broadcast the traffic to its lan ports, since it won't find the IP address in question in the switch's tables built into the router.

LAN ports are within your network. WAN ports are outside your network, i.e. the internet.

"...but in my defense, it was dark, I was drunk, and it was delicious!"


Report •


Ask Question