Typical modem-router configurations recommend setting the modem in bridge mode and using the router to talk PPPoE language. However, in my case, when I remove the router and connect directly to the modem, I will have to change the modem from bridge mode to PPPoE mode. This is a surely extra work and is not nice. So I needed a setup in which I could either connect to the modem or to the router without making any change to settings anywhere (except of course restarting networking on my laptop).
Now I have got a setup that does exactly this. This is how I have done it:
As you can see here, I have my modem in the default PPPoE configuration. Modem's IP is 192.168.1.1, which is the default. I have enabled DHCP server on it, giving out IPs between 192.168.1.2 and 192.168.1.33.


Moving on to the Linksys router, I have configured it to be in "Automatic configuration - DHCP" mode. I have set it's IP to be 192.168.1.36. This can be any IP outside the DHCP IPs provided by the modem. I have disabled the DHCP server on the router, because I don't want to have 2 DHCP servers in my network.

I have connected the ethernet cable from the modem to the one of the router's 4 regular ports, not the "Internet" port.
I have enabled DHCP on my laptop. It gets it's IP from the modem. The router acts just as a router, forwarding all packets to the modem. When I disconnect the router and connect directly to the modem, it still works perfectly fine without needing any configuration changes anywhere.
No comments:
Post a Comment