1 |
This seems to be similar to the dlink adsl modem I am using (no routing |
2 |
function). |
3 |
|
4 |
Think of the 192.168.0.0 network as being the network between the modem |
5 |
and the gateway machine. In my case, the 10. (equiv) networks are on |
6 |
the internal side of the gateway. My gateway machine runs dhcp on eth0 |
7 |
(the 192.168.0.0/24 network). When the adsl modem is unlocked, I get a |
8 |
192.168.0.2 address from the adsl modem. When locked, the 192.168.0.2 |
9 |
is replaced by the ISP allocated address. The default gateway then |
10 |
becomes the *ISP end* (far) of the adsl connection, and is normally set |
11 |
by dhcp on your gateway machine. The modem web server is always |
12 |
reachable via 192.168.0.1, even after the ISP allocated |
13 |
addresses/gateway are set. |
14 |
|
15 |
In my case |
16 |
1) ISP -> unlocked -> adsl modem -> 192.168.0.1 -> 192.168.0.2 ->gateway |
17 |
-> 192.168.1.x |
18 |
|
19 |
2) ISP -> x.x.x.x -> adsl modem -> x.x.x.(x-1) -> gateway -> 192.168.1.x |
20 |
| | |
21 |
-> 192.168.0.1 -> |
22 |
Edited route -n for my gateway: |
23 |
Kernel IP routing table |
24 |
Destination Gateway Genmask Flags Metric Ref Use |
25 |
Iface |
26 |
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 |
27 |
eth1 |
28 |
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0 |
29 |
eth2 |
30 |
x.x.x.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 |
31 |
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 |
32 |
lo |
33 |
0.0.0.0 x.x.x.21 0.0.0.0 UG 0 0 0 eth0 |
34 |
|
35 |
|
36 |
the .43 is a wireless network |
37 |
the x.x.x.x is my ISP dhcp allocated IP as set by dhcp running on my |
38 |
gateway. |
39 |
|
40 |
I would steer clear of adding anything else to the 192.168.0.0/24 |
41 |
network as (in my case) things dont always work as expected (with an |
42 |
accidental misconfiguration, I ended up with "wild" packets present on |
43 |
my internal network). |
44 |
|
45 |
BillK |
46 |
|
47 |
On Fri, 2005-08-26 at 17:20 -0600, Joseph wrote: |
48 |
> On Fri, 2005-08-26 at 19:04 -0300, José Pablo Ezequiel Fernández wrote: |
49 |
> > > > Try this: |
50 |
> > > > |
51 |
> > |
52 |
|
53 |
... |
54 |
|
55 |
-- |
56 |
gentoo-user@g.o mailing list |