ADSL MODEM is a bridge
#1 Router that *should* nat 192.168.0.something. I don't remember the DLink defaults, but it could be something like 192.168.0.227 as its addy. ( The dlink uses the IP you get from your ISP for its IP with another for the gateway at the ISP -> x.x.x.1 usually.
Is this setup as a BRIDGE?
#2 Router should get an IP, netmask, gateway, and dns from the #1 router. You can verify this in the menu setup.
Your computer should get a different network from #2 router. If it doesn't you won't get out. You may have to manually set the routers LOCAL IP to something different than the local network of #1 Router ( use 192.168.100.something. Your computer's gateway addy should point to the IP address of #2 Router with the proper netmask.
Why do you have #2 router by the way? If you are only connecting ONE computer, you don't need #2. If you have multiple computers attached to #2, disregard that unless the bridge is capable of dealing with multiple MAC on the local side. Then you would get the IP addy from #1 router.
Usually a DSL modem is a bridge. Are you sure that it isn't a Bridge/Router combo? In this neck of the woods, verizone ships Routers ( most of the time ), and usually they work out of the box with no user intervention.
If you can only bride ONE MAC, you do need the router portion; use DHCP as it works. In this case, you need to make sure that both routers are not NAT'n the same networks. This setup *should* work as long as everybody is pointing to the correct upsteam addys. I am not totally familiar with these specific DLinks, so grant me some leeway. For instance, lets assume that you ISP's gateway is 102.81.100.1/24 then:
dsl modem bridges #1 router dhcp wan address from ISP
#1 router wan ip -> 102.81.100.152 with 102.81.100.1 as the gw #1 router lan ip -> 192.168.0.227/24 #1 router dhcp could be 192.168.0.1 to 192.168.0.11 #1 router gets dns from ISP and could be 102.81.100.2
DLINK 2000AP bridges #2 dhcp wan address ( from #1 router.
#2 router wan ip is 192.168.0.11 with 192.168.0.227 as the gw #2 router lan ip is 192.168.100.227/24 #2 router dhcp could be 192.168.100.1 to 192.168.100.11 #2 router gets dns from #1 router -> 192.168.0.227
Computer gets dhcp addy from #2 -> say 192.168.100.11 along with
192.168.100.227 as the gateway and 192.168.100.227 as dns.You should be able to ping both sides of each router, along with the ISP gateway ( and the rest of the Internet ) with this setup. Confused? Using non-routable addys gives you lots of leeway as you don't have to break up a class C into subnets. Routing is pretty easy as long as you follow some simple rules.
- each network must be unique
- each network has a default gateway
- you can't reuse a network later down the line.
todh