Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: Starting to hate networks and routers!
David Jenkins

posted on 16/3/08 at 01:08 PM Reply With Quote
Starting to hate networks and routers!

OK, here's the situation - up until last week I had a Netgear ADSL modem/router with 4 Ethernet outlets. This worked just fine, but I wanted an extra Ethernet port or two, and wireless access. To do this I bought a Linksys router, which has the wireless + 4 more ports. I connected it up as shown in the manual, with the Linksys router connected to the rest of my network via an ethernet port on the Netgear.

After a lot of faffing about I managed to get the wireless connection working to the laptop, together with the wired connection when the laptop is on its docking module.

The problem is that I can't communicate with the 'old' network, i.e. the other computers and my networked printer. The old network can see the new router, but there's no link between the two parts.

I'm obviously missing some setting(s), or I've got something wrong, but the documentation is rubbish so now I'm stuck.

Can any networking experts give me some clues?

David






View User's Profile Visit User's Homepage View All Posts By User U2U Member
ReMan

posted on 16/3/08 at 01:11 PM Reply With Quote
You have got the two connected together using the correct socket have you?. There is often one marked "link" and sometimes a switch to do this
View User's Profile Visit User's Homepage View All Posts By User U2U Member
mookaloid

posted on 16/3/08 at 01:12 PM Reply With Quote
You might need a crossover cable to connect the new router to the old router. [edit just realised you say that you can see one router from the other so can ignore this]

Also you will need to make sure you only have one dhcp server runing - both your routers will probably be offering IP addresses which might not be the in the same range or might be offering duplicates.

HTH

Cheers

Mark



[Edited on 16/3/08 by mookaloid]





"That thing you're thinking - it wont be that."


View User's Profile E-Mail User View All Posts By User U2U Member
ravingfool

posted on 16/3/08 at 02:18 PM Reply With Quote
yeah the trouble is that the second router is creating a sub-network below the main network group created by the main router.

I have this problem occasionally but because it's not my standard set up I haven't bothered trying to resolve it, mark might have a point about turning off the dhcp on the secondary router, but I can't really help. I'll be interested to know what the actual answer is, I just don't have the time to faff around with umpteen possibilities myself for what is only a minor complication for me at the moment!

Good luck!






View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 03:31 PM Reply With Quote
I love networking and routers - I work for an ISP so it's just as well !

OK, start at the beginning

1. Check the cables - have you got link lights at both ends?
2. Work out what IP addressing scheme you are on - ipconfig /all on Windows will give you your ip / subnet mask, default gateway and if using dhcp the server that has given you your ip address + gateway etc (ifconfig will give you simlar info on LInux.)
3. With the IP information from each side of the link (old and new networks) you should now be getting a picture of what is going on. Can each side ping the gateway you saw in the pc's information? Is the addressing scheme different for each side of the network.
4. Can each side of the network ping the internet (we know they can't ping each other).

What I think may be happening is the fact that you have two ROUTERS (L3) they're, both designed to do effectively the same job. The ethernet interfaces on each may not be designed to be connected to each other as you would connect a router to a switch (L2). The routers may even be firewalling each other.

You may end up having to have two separate subnets configured (one for each network) and an IP route to allow them to talk to each other.

Without actually seeing the set up this may all be completely wrong, but may give you some pointers.

If you are still stuck drop me a U2U and I'll give you a call.

Black art networking - BGP anyone ??






[Edited on 16/3/08 by givemethebighammer]

View User's Profile View All Posts By User U2U Member
joneh

posted on 16/3/08 at 03:33 PM Reply With Quote
You need to turn off the dhcp server on the new one and configure the new router to act as a wirelss access point (not a router).

hth






View User's Profile View All Posts By User U2U Member
David Jenkins

posted on 16/3/08 at 03:36 PM Reply With Quote
I'm making some progress - the laptop connected to the new router via wire or wireless can now see the internet and also my networked printer on the old network.

Also, I can ping the devices on the old network from the new, although they don't show up when I bring up Vista's network view.

I can't successfully ping the devices on the new network from the old.

There's too much 'magic' involved with networks for my liking!






View User's Profile Visit User's Homepage View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 03:39 PM Reply With Quote
quote:
Originally posted by joneh
You need to turn off the dhcp server on the new one and configure the new router to act as a wirelss access point (not a router).

hth


If those options are there. That would be a big step in the right direction. However some routers don't have the option to act as just an access point.

View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 03:42 PM Reply With Quote
quote:
Originally posted by David Jenkins
I'm making some progress - the laptop connected to the new router via wire or wireless can now see the internet and also my networked printer on the old network.

Also, I can ping the devices on the old network from the new, although they don't show up when I bring up Vista's network view.

I can't successfully ping the devices on the new network from the old.

There's too much 'magic' involved with networks for my liking!


Can the old network see the internet ?
How far can you trace from the old network to the new ?

tracert <ip address>

cut and paste the trace up here for me to look at

[Edited on 16/3/08 by givemethebighammer]

View User's Profile View All Posts By User U2U Member
David Jenkins

posted on 16/3/08 at 03:55 PM Reply With Quote
The old network can see the internet (that router has the ADSL model built-in).

The traceroute command just looks to the gateway address for the old router, and no further.

I have to leave DHCP running on the laptop, in case I take it to work, so therefore I should leave it switched on on that router - shouldn't I? It is set by default to allocate numbers from 100 up, so I don't think there'll be a clash. I could turn the DHCP off on the old network, as those devices are literally static and there'd be no repercussions in setting their IP addresses to static values.

I can't set the new router to be just a wireless access point, unfortunately.

One thing - the old network uses the numbering range 192.168.0.nnn, with a subnet mask of 255.255.255.0. The new one uses a range of 192.168.1.nnn, with the same subnet mask. Should they be in the same numbering range for the 3rd field?






View User's Profile Visit User's Homepage View All Posts By User U2U Member
mookaloid

posted on 16/3/08 at 04:02 PM Reply With Quote
quote:
Originally posted by David Jenkins
One thing - the old network uses the numbering range 192.168.0.nnn, with a subnet mask of 255.255.255.0. The new one uses a range of 192.168.1.nnn, with the same subnet mask. Should they be in the same numbering range for the 3rd field?


They should both be the same - is there an option to urn off the dhcp server in the new router- this would really help.

Cheers

Mark





"That thing you're thinking - it wont be that."


View User's Profile E-Mail User View All Posts By User U2U Member
tks

posted on 16/3/08 at 04:03 PM Reply With Quote
yupsz....

or you should change the subnets to 255.255.0.0 then both networks can see each other... its your best bet...

because if your new linksys cant be setup for an accespoint then it never can connect you to the DHCP running on your modem/gateway...

if you turn of the DHCP on the modem, your internet settings, (gateway ip etc.) won't be given to the clients (if not static)

sow best bet is to change the subnet mask to 255.255.0.0

in that way both networks can see each other and the wireless devices will be given a numer by the linksys and i suspect the others from the modem but who cares??

try it, i think it will work..





The above comments are always meant to be from the above persons perspective.

View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 04:07 PM Reply With Quote
OK,

1. you can only have 1 DHCP server on each LAN segment.

2. You ARE using two different subnets so some sort of routing will nee to be in place for the networks to communicate. As the trace suggests when the old network tries to ping the new one, it only gets as far as the old router. It needs a route to the new subnet pointing to the new router.

192.168.1.0 255.255.255.0 via <IP of new router on old network

It sounds like the LAN side of the new router already has an IP address on the old network (assigned by dhcp on old side maybe?). Hence the reason you can ping from the new to the old.

A route in the old router should have everything working ok

Not the most elegant solution but it will work.

[Edited on 16/3/08 by givemethebighammer]

View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 04:09 PM Reply With Quote
quote:
Originally posted by tks
yupsz....

or you should change the subnets to 255.255.0.0 then both networks can see each other... its your best bet...




That will probably just cause and addressing conflict if both devices are routing.

View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 04:21 PM Reply With Quote
OK here is what I think is going on (ip addresses guessed) Rescued attachment network.jpg
Rescued attachment network.jpg

View User's Profile View All Posts By User U2U Member
givemethebighammer

posted on 16/3/08 at 04:22 PM Reply With Quote
I think the LAN side on the new router is obtaining an ip address and route to the internet from the old router (via DHCP). Hence the new network can reach the old network and also the internet.

Adding a route back to the new network from the old one (static route in the old router will sort everything out).

We then just have to make everything permanent, by statically addressing the lan interface of the one router and giving a route to the internet via the old router. The dhcp can stay the same as it was (neither dhcp server will be able to see the other).

The only thing we can't fix is the fact that Vista cannot see the new network machines in it's browse list (the netBIOS broadcasts won't cross the router). To fix this we would need to implement a WINS server (uuughh) or just access resources across the routers by manually mapping paths

i.e. \\192.168.0.1\fileshare

etc

you could even map the addresses on the machines in the hosts / lmhosts files on machines on either side of the link to allow you to map by hostname

i.e. \\davespc\fileshare



If your brain hurts Dave, I'll gladly explain all this on the phone for you.


[Edited on 16/3/08 by givemethebighammer]

View User's Profile View All Posts By User U2U Member
MikeRJ

posted on 16/3/08 at 05:23 PM Reply With Quote
You should have bought an access point rather than another router, would have made your life 100x easier.

I did get this configuration working some time ago for someone, but it's a bit of a pain to set up as you have noted.

What worked for me was:

Connect a PC to the second router, with no other connections (ie.e not connected to your primary router/modem). Configure the secondary router's IP address to fall within the same subnet as the main routers, go for a high address to minimise any potential DHCP conflicts when you frst connect them together.

Disable DHCP on the secondary router.

Connect the routers together, using a crossover cable if one of the routers does not have an uplink port. Do not use the WAN port on the secondary modem to link to the main one, just use one of the regular switch ports.

The primary router should now be issuing IP addresses to anything connected to the secondary router (since you are now using it as a simple access point). Configure the DHCP range of the primary router to ensure it never tries to allocate the secondary routers IP address.

View User's Profile View All Posts By User U2U Member
David Jenkins

posted on 16/3/08 at 08:47 PM Reply With Quote
OK chaps - that's given me much to think about...

I'll have a go (probably tomorrow) and see how I get on.

cheers,
David






View User's Profile Visit User's Homepage View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.