Well, strange or not I have a router with dhcp turned off, so it is
funcitioning like a switch. But I don't see the difference between your
diagrams, they are both Comp-->Router1-->Router2-->wall. Anyway the way I
have my setup is Comp--->switch--->Router--->Internet.
top posting is a bad idea.
where are you getting your definition of router and switch?
a "router with dhcp turned off " is not functioning like a switch.
A router does routing. Routing is a function.
A switch/bridge does bridging, or I suppose, switching, which is a
function.
a DHCP server, is another device/function.
A modem is another.
A typical thing marketted as a router , also contains a DHCP server.
Routers look at ip addresses, switches look at MAC addresses. It's a
different thing.
I should read up about VLANS, but I think the things marketted as
routers a.k.a. "home routers", (maybe "small business routers" too, I
don't know) contain a switch to give multiple ports (unlike more
expensive routers). And it's a VLAN and sort of has ip addresses, i'd
have to look into it.
The 2 different setups are to do with which "home router" has DHCP
turned on.
I just realised I did describe the same setup twice when I said the 2
were different way arounds.. My confusion lay in
the following..
I would also make
comp-router1-router2-wall
router2 the DHCP server.
router1 should have an ip on the subnetwork of router2.
But then I wouldn't give router1 a static ip on the subnetwork of
router2. I'd tell router1 to get the ip through DHCP, from router2.
When you "said" you got router1 a static ip, I wrongly thought it was
near the wall, so couldn't get it from the DHCP server router. So now
I only question why you gave it a static ip rather than getting it
from router2, but the question could go the other way to. I guess
doing it manually(rather than DHCP) as you have is slightly more fun/
technical.
I haven't ever tried configuring my computer with a static private ip
instead of getting it from the router.. I guess running a DHCP server
full stop can be turned off - for fun! Though it makes things more
automated and it works.