Computing.Net > Forums > Networking > 2 networks from one PC

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

2 networks from one PC

Reply to Message Icon

Name: winkles
Date: October 26, 2006 at 02:10:00 Pacific
OS: Windows XP Pro SP2
CPU/Ram: Athlon 3200 XP / 1GB RAM
Comment:

My dad's just bought a new PC which came without a parallel port. He uses a laser printer with no USB, though it does have a network socket. Easy thinks I, I'll use a crossover cable to connect the PC to the printer and set up a second small network to allow the printing (his connection to the internet is via a wireless connection to a router downstairs).

When the second network connection is enabled he is unable to connect to the internet (though he can still connect to the router). Clearly I'm missing something, hopefully something simple. Any advice gratefully received.

The configuration of the various kit is as follows.

Wireless router is 192.168.1.1

Wireless NIC on the PC is 192.168.1.10, default gateway of 192.168.1.1

Wired NIC on the PC is 192.168.2.1, default gateway of 192.168.2.1

Wired NIC on the printer is 192.168.2.2, default gateway of 192.168.2.1

It's not an option to connect the printer directly to the router by the way, he needs it by the PC upstairs.



Sponsored Link
Ads by Google

Response Number 1
Name: lofty
Date: October 26, 2006 at 03:28:23 Pacific
Reply:

Hi there,

I'm assuming that your two networks both have a /24 prefix ( i.e. subnet mask of 255.255.255.0 ) ?

The default gateway applies to the whole TCP/IP stack, not just a single network interface. The default gateway function basically means "if I don't have a any route to the destination ip address requested, send it to this IP address for routing onwards".

Your routing table ( open up command prompt and do a "route print" command ) should show you have a directly connected route to the 192.168.2.0 network via your wired interface IP address and therefore you don't need to set a default gateway IP address for that interface.

So, your problem is most likely because you are setting a default gateway address on the Wired interface IP settings and it is overriding the correct default gateway IP address which presumably should be the IP address of the wireless router ( 192.168.1.1 ).

Change the default gateway IP address to point to your router and leave everything else as it is.

Give that a go and let us know how you get on.

Cheers, Lofty.


0

Response Number 2
Name: winkles
Date: October 26, 2006 at 05:29:51 Pacific
Reply:

Hi Lofty, thanks for the reply.

Subnet mask is indeed 255.255.255.0. I'll remove the gateway address from the wired interface tonight and will report back as soon as I've changed it.


0

Response Number 3
Name: jefro
Date: October 26, 2006 at 10:26:29 Pacific
Reply:

Make that lan a 10.x.x.x number.


0

Response Number 4
Name: winkles
Date: November 3, 2006 at 01:42:33 Pacific
Reply:

I never did let you know how things worked out did I? Very rude of me!

I removed the gateway address from the wired network and all worked well. Thanks for your help.


0

Response Number 5
Name: lofty
Date: November 3, 2006 at 07:32:19 Pacific
Reply:

Hey Winkles - good to hear all is well!

Cheers, Lofty.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: 2 networks from one PC

Using 2 networks on a PC www.computing.net/answers/networking/using-2-networks-on-a-pc/29804.html

Networking from one city to another www.computing.net/answers/networking/networking-from-one-city-to-another/4751.html

2 Networks with one DSL connection www.computing.net/answers/networking/2-networks-with-one-dsl-connection/22283.html