-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> That was very helpful... I had assumed that that was the case.
>
> Now, however, I'm trying to figure something out. I've set up one
> network to use 192.168.1.1-6, another to use 65-126
regardless of the actual addresses you plan on using, you should get
into the habbit of desribing your desired range by stating ALL usable
asable addresses in the range, or, by using a format similar to
192.168.1.0/29, or 192.168.1.64/26 respectively. otherwise it just
gets confusing. In other words, make sure you understand the ranges
defined by each mask.
>
> But I can't even ping between the two networks. (I can ping outside
> my network, and from my router to any machine, but not from one
> network to the other).
>
if i understand what you are saying correctly, you mean:
a) you are currently logged on to the router and pinging each subnet
that is locally connected to the router (i assume you are using a
linux box as a router).
b) if you log on to a machine in subnet 192.168.1.0/29, you can't
ping a machine in subnet 192.168.1.64/26, or vice versa.
c) if this is the case, I'm not exactly sure what you mean when you
say that you can ping "outside your network". are you connected to
another network (like the internet), or is this a closed network? I
assume you are talking about the internet.
> On my router:
> the networks is:
>
> iface eth1 inet static
> address 192.168.1.65
> netmask 255.255.255.192
>
ok, this looks fine. for the record, the network number here is
192.168.1.64/26
> iface eth2 inet static
> address 192.168.1.1
> netmask 255.255.255.248
>
this also looks ok. the network number here is 192.168.1.0/29.
the rest below is a little confusing. maybe i'm just really drunk,
which is entirely possible at this time of the night, but i'm missing
something. can you draw me a simple ASCII drawing of what your
network looks like. make sure you identify each computer, each
interface on the router, and their appropriate addresses and masks.
thanks...
> netstat -r yields:
> Destination Gateway Genmask Flags MSS Window
> irtt Iface
> external_ip * 255.255.255.255 UH 0 0
> 0 ppp0
> 192.168.1.0 * 255.255.255.248 U 0 0
> 0 eth2
> 192.168.1.64 * 255.255.255.192 U 0 0
> 0 eth1
> default ext_ip UG 0 0 0
> ppp0
>
>
however, just from what i can discern, it looks like you are not
trying to connect your machine .1.3 over ethernet. instead, it look
slike you are trying to dial in over a modem or something. can you
clarify?
> On my machine with ip 192.168.1.3:
> 192.168.1.0 * 255.255.255.248 U 0 0
> 0 eth0
> default 192.168.1.1 0.0.0.0 UG 0 0
> 0 eth0
>
> with eth0 defined at address 192.168.1.3, netmask 255.255.255.248
>
> So it looks to me like I have things set up correctly. Obviously,
> something is still wrong though.
>
> Do I need default gateways for eth1 and eth2? Doesn't seem like i
> should... there is a default in the routing table, and the
> situation that doesn't work is already defined by the routing
> table...
>
> Any ideas? Need any more info?
>
rather than going crazy over this (or trying to drink more alcohol at
this time), make sure that your ETHERNET network looks like this:
client(192.168.1.3/29)----->(192.168.1.1/29)router(192.168.1.65/26)<--
- ---(192.168.1.66?/26)client
if you are using ppp (as a dial in for example) it should still look
the same for the most part.
make sure that you router has routing enabled...
good luck. i'm going awa for a few days so i may not be able to
reply.
Oliver
> --
> Luke StClair
> (E-Mail Removed)
> PGP key: http://www.students.uiuc.edu/~clairst
-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
iQA/AwUBQBd1L7coUT0UavXJEQKWvwCffNhaqU6uUkP8c7ERdAFGwk XXdVMAn0iU
a6ZYKaRjQ5Qw/uDmGJxvUqjb
=j/Vj
-----END PGP SIGNATURE-----