2/18 My DSL modem's ip address is 192.168.0.1, my internal network
behind my router is 10.0.0.x. Is there a way I can configure
the router so I can access the DSL modem from my 10.0.0.x
network directly without re-wiring? Static routes? I tried it
but no much luck. I also tried changing my internal network to
192.168.0.x, but still does not work. Thanks.
\_ I assume this is the connectivity:
Wall -> DSL router -> Switch(es) -> Various PCs
If your DSL router is 192.168.0.1, and you configure your various
PCs to be 192.168.0.x, I don't see why you can't connect to
192.168.0.1, your DSL router. Can you ping it at least?
\_ Sorry, typo, it should say "DSL modem". It is
Wall -> DSL modem -> DSL Router -> PC.
How do I get to my DSL modem from my PC? If I
connect the modem directly to my PC, I can access
it's configuration URL, but if the router sits
in between, I can't.
\_ Huh. It ought to work either way. What happens if you run
"traceroute -n http://csua.berkeley.edu" from the PC? Do you see
a response from 192.168.0.1? What about "traceroute -n
192.168.0.1"? (On Windows, use "tracert -d" instead.)
\_ From your description it sounds like you have the
following setup:
Wall <-> DSL Modem <- 192.168.x net -> DSL Router <- 10.x net -> PCs
I'm assuming that eth0 on the DSL Router is connected
to the 192.168.0.0 net and eth1 on the DSL Router is
connected to the 10.0.0.0 net. I'm also assuming that
the PCs and the DSL Modem are on separate switches (or
hubs) or that you are using a cross over cable for the
connection btwn the DSL Modem and the DSL Router.
If so, you should probably have eth0 on the DSL Router
configured to something like 192.168.0.2. Make sure that
the DSL Router's default gateway is 192.168.0.1, the
IP of the DSL modem. Also make sure that IP forwarding
is enabled.
You probably need to set up eth1 on the DSL Router to
something like 10.0.0.1. Then configure your PCs to
use 10.0.0.1 as their default gateway. This should let
you talk to 192.168.0.1 from your PCs (assuming that
your DSL router's firewall/nat is configured to allow
this).
\_ My router has a WAN port, which is directly
connected to the DSL modem's LAN port via a
regular Ethernet cable. The PC is connected to the
router's LAN port. The DSL modem's ip address is
192.168.0.1. PPPoE is handled by the router but I
don't think it talks to the modem using its
192.168.0.1 address. On the LAN side, the router's
ip address is 10.0.0.1, and my PC is 10.0.0.100,
the router's WAN side is my external ip address
(which is connected to the modem that only answers
on 192.168.0.1). I guess it's not possible to get
to the modem from my PC directly through the
router. If I connect the modem directly to my PC,
and set my PC's ip address to 192.168.0.2, then I
can talk to the modem fine.
\_ plug everything into the "LAN" side, including the
connection to the DSL modem. configure your DHCP
pool to hand out IPS on the 192.168.0.x with default
gateway 192.168.0.1
\_ Won't I lose the firewall capability of my router?
\_ See if your router can support bridging the "WAN" side to the
"LAN" side. That would eliminate the entire 10.x network
\_ and eliminate the need for the router too.
\_ I don't want to lose the SPI firewall in my router.
If I connect the modem to the LAN side, then my
entire local network becomes a DMZ. To me, the
firewall capabilities of my router outweights the
inconvenience of reconnecting the cables when I need
to configure the modem. I am just wondering if
there's a trick that would allow me to access the
modem through the router. I guess it's not possible... |