how do i setup a browser with one network connection?
how do i setup a browser with one network connection?
Author
Discussion

_deano

Original Poster:

7,414 posts

284 months

Tuesday 20th March 2007
quotequote all
Is there a way that i can get IE7 to only use my wireless connection to my ADSL router to access the internet, rather that IE7 looking at the LAN connection and trying to connect with that?

I currently have my computer (192.168.10.4) setup with a wireless connection to a Netgear DG834G wireless ADSL modem router (192.168.10.1) and this used to work fine and i'd not have a problem access email and the net. I've recently started to use the LAN connection (192.168.9.3) to connection to another Netgear router with an ADSL modem built in, but the modem is not setup (192.168.9.1). I use this router as i have a connection to a file and print server on 192.168.9.1. Now the LAN connection works great and i've not had a problem with this. I can connect to the server and do i what i need, but again my problem seem to be with the internet connection to the main ADSL router with the wireless connection.
Could any one point me in the right directions?

thanks
dj

forgot to add that the wireless signal is good to very good as i am using the hawking mini satilite dish. And that when i disconnect the LAN the WiFi connection works as it should.

Edited by _deano on Tuesday 20th March 14:37

sneakyneil

9,292 posts

268 months

Tuesday 20th March 2007
quotequote all
Apart from an IP address conflict between the second router and the file server, you just need to fiddle with the routing table a bit.

If you type 'route print' and post the results I'm sure someone will oblige with the required incancations..


*or* set a static IP on the .9 adapter and don't specify any DNS or gateway on that connection - that might work too.

*or* just simplify the setup and just have one subnet and one network connection!

Choices choices..

_deano

Original Poster:

7,414 posts

284 months

Tuesday 20th March 2007
quotequote all
this is the result from Route Print

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:Documents and SettingsDean>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0b cd f5 42 2b ...... Broadcom NetXtreme Gigabit Ethernet for hp - Pac
ket Scheduler Miniport
0x50004 ...00 0e 3b 07 ac 61 ...... Hawking Hi-Gain Wireless-G USB Dish Adapter
#2 - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.6 25
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.10.0 255.255.255.0 192.168.10.6 192.168.10.6 25
192.168.10.6 255.255.255.255 127.0.0.1 127.0.0.1 25
192.168.10.255 255.255.255.255 192.168.10.6 192.168.10.6 25
224.0.0.0 240.0.0.0 192.168.10.6 192.168.10.6 25
255.255.255.255 255.255.255.255 192.168.10.6 192.168.10.6 1
255.255.255.255 255.255.255.255 192.168.10.6 2 1
Default Gateway: 192.168.10.1
===========================================================================
Persistent Routes:
None

C:Documents and SettingsDean>


This makes no sense to me as i've never used it before.
Just tried something.

Internet connection to the ADSL modem/router 192.168.10.1 work flawless when the LAN cable to 192.168.9.1 is unplugged. As soon as the LAN is plugged in my internet connection if flaky as hell.

sneakyneil

9,292 posts

268 months

Tuesday 20th March 2007
quotequote all
Was the wireless connection up when you did the route print?

_deano

Original Poster:

7,414 posts

284 months

Tuesday 20th March 2007
quotequote all
sneakyneil said:
Was the wireless connection up when you did the route print?


no, it only works every now and again. What i did was plugged the LAN in and then did the route print. Unplugged the LAN and then posted the results as the wireless connection works as soon as the LAN is disconnected.

I've now tried a crossover CAT5 straight into the LAN port on the server and this now works, i've assigned the ipaddress to the server LAN as 192.168.1.1 and the LAN on my computer to 192.168.1.2, i am now able to access the server and the net at the same time, so there is something setting/harware wrong with the router.

sneakyneil

9,292 posts

268 months

Tuesday 20th March 2007
quotequote all
What was happening was that both the live router on 10. and the offline router on 9. were both assigning default gateways to each interface. This means that the tcp/ip stack then thought it had two ways to get out onto the internet.

The way tcp/ip chooses which interface to use in this situation is to look at the 'metric' which is assigned to each interface - since the wired connection is a much faster connection than the wireless it has a better metric so packets are routed that way rather than wirelessley if both connections are up. If the wire is unplugged the faster route disappears, leaving only the wireless route so the internet starts working again.

The situation now is that the wired interface has no default gateway set, as I mentioned to try earlier, so theres only one route out to the internet so everything works all the time.

Glad you sorted it!

_deano

Original Poster:

7,414 posts

284 months

Tuesday 20th March 2007
quotequote all
sneakyneil said:
What was happening was that both the live router on 10. and the offline router on 9. were both assigning default gateways to each interface. This means that the tcp/ip stack then thought it had two ways to get out onto the internet.

The way tcp/ip chooses which interface to use in this situation is to look at the 'metric' which is assigned to each interface - since the wired connection is a much faster connection than the wireless it has a better metric so packets are routed that way rather than wirelessley if both connections are up. If the wire is unplugged the faster route disappears, leaving only the wireless route so the internet starts working again.

The situation now is that the wired interface has no default gateway set, as I mentioned to try earlier, so theres only one route out to the internet so everything works all the time.

Glad you sorted it!


thanks for your help with this, still a bit unsure on how to rectify it with the router other router plugged in, would probably have been easier to have bought a hub or switch instead of using the spare router, but at least i know now what was causing the problem and why.
When i have some more time i will try and play around with the other router and see how i get on, would you mind if i dropped you an email in the future about this?

thanks again
dean

sneakyneil

9,292 posts

268 months

Wednesday 21st March 2007
quotequote all
Hi,

I assume before the IP was on 'auto assigned' whereas now it's set manualy? You can leave it set as is and plug the router back in, if I'm right about the cause it should continue to work. Using a hub/switch as you said instead should work too.

Windows is smart enough to know that its connected to two routers, and that ones a faster connection than the other - but not smart enough to realise that the faster connection doesn't actually work

Putting the IP in manually without specifying a gateway means that XP doesnt think theres a router there any more, hence it doesnt try to use it.

Hope this helps, I'l answer any emails though I cant say when
Neil