This seems to be similar to the dlink adsl modem I am using (no routing
function).

Think of the 192.168.0.0 network as being the network between the modem
and the gateway machine.  In my case, the 10. (equiv) networks are on
the internal side of the gateway.  My gateway machine runs dhcp on eth0
(the 192.168.0.0/24 network).  When the adsl modem is unlocked, I get a
192.168.0.2 address from the adsl modem.  When locked, the 192.168.0.2
is replaced by the ISP allocated address.  The default gateway then
becomes the *ISP end* (far) of the adsl connection, and is normally set
by dhcp on your gateway machine.  The modem web server is always
reachable via 192.168.0.1, even after the ISP allocated
addresses/gateway are set.

In my case
1) ISP -> unlocked -> adsl modem -> 192.168.0.1 -> 192.168.0.2 ->gateway
-> 192.168.1.x

2) ISP -> x.x.x.x -> adsl modem -> x.x.x.(x-1) -> gateway -> 192.168.1.x
                                |                |
                                -> 192.168.0.1 ->
Edited route -n for my gateway:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
eth1
192.168.43.0    0.0.0.0         255.255.255.0   U     0      0        0
eth2
x.x.x.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0
lo
0.0.0.0         x.x.x.21   0.0.0.0         UG    0      0        0 eth0


the .43 is a wireless network
the x.x.x.x is my ISP dhcp allocated IP as set by dhcp running on my
gateway.

I would steer clear of adding anything else to the 192.168.0.0/24
network as (in my case) things dont always work as expected (with an
accidental misconfiguration, I ended up with "wild" packets present on
my internal network).

BillK

On Fri, 2005-08-26 at 17:20 -0600, Joseph wrote:
> On Fri, 2005-08-26 at 19:04 -0300, José Pablo Ezequiel Fernández wrote:
> > > > Try this:
> > > >
> > 

...

-- 
gentoo-user@gentoo.org mailing list

Reply via email to