Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Network & Sharing

Vista - Default Gateway

Reply
 
Old 05-21-2009   #1 (permalink)


windows XP
 
 

Default Gateway

Hi All,

The Problem is that Iam Using two PC having different Default Gateway and I want to share Drives of both computer between both computers but when i used to ping second computer , it resulted request time out . So is there any way to share drives between both computers having different Default gateway and both PC's having same workgroup..


Looking for a solution ..........

Thanks

My System SpecsSystem Spec
Old 05-21-2009   #2 (permalink)


Win7x64
 
 

Re: Default Gateway

Sharing information between machines is app-layer functionality which is entirely dependent on network and transport-layer connectivity. In other words, don't bother troubleshooting sharing and workgroups until you've ensured the network is all hooked up.

There is very little info in your post and that makes it almost impossible to give you much info in return, but make sure that:

1) you've completely disabled all software firewalls on the machines in question while you're troubleshooting. You don't need a firewall skewing your ping results by potentially blocking ICMP.

2) ping works between any machine to any other machine. Once the firewalls have been disabled, pinging is your primary test of network connectivity.

If you describe your network - including IP address ranges and the reasons for disparate gateways - it may be possible to give you more specific routing advice.
My System SpecsSystem Spec
Old 05-22-2009   #3 (permalink)


windows XP
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by H2SO4 View Post
Sharing information between machines is app-layer functionality which is entirely dependent on network and transport-layer connectivity. In other words, don't bother troubleshooting sharing and workgroups until you've ensured the network is all hooked up.

There is very little info in your post and that makes it almost impossible to give you much info in return, but make sure that:

1) you've completely disabled all software firewalls on the machines in question while you're troubleshooting. You don't need a firewall skewing your ping results by potentially blocking ICMP.

2) ping works between any machine to any other machine. Once the firewalls have been disabled, pinging is your primary test of network connectivity.

If you describe your network - including IP address ranges and the reasons for disparate gateways - it may be possible to give you more specific routing advice.








Thanks For ur Reply....

I have 2 computers and one have default gateway 192.168.0.1 and second Computer have 192.168.1.1
What i want to do is to change 192.168.0.1 to 192.168.1.1. I want to put both PC’s on same default gateway.
Is there is any solution for the same?.
My System SpecsSystem Spec
Old 05-22-2009   #4 (permalink)


Win7x64
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by Ajju View Post
Thanks For ur Reply....

I have 2 computers and one have default gateway 192.168.0.1 and second Computer have 192.168.1.1
What i want to do is to change 192.168.0.1 to 192.168.1.1. I want to put both PC’s on same default gateway.
Is there is any solution for the same?.
Sure. Just pick one of the gateways and configure both PCs to use that one.

If you'd actually like some useful input, you should describe the network topology - that includes the reasons why there are two gateways to begin with.
My System SpecsSystem Spec
Old 05-22-2009   #5 (permalink)


windows XP
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by H2SO4 View Post
Quote  Quote: Originally Posted by Ajju View Post
Thanks For ur Reply....

I have 2 computers and one have default gateway 192.168.0.1 and second Computer have 192.168.1.1
What i want to do is to change 192.168.0.1 to 192.168.1.1. I want to put both PC’s on same default gateway.
Is there is any solution for the same?.
Sure. Just pick one of the gateways and configure both PCs to use that one.

If you'd actually like some useful input, you should describe the network topology - that includes the reasons why there are two gateways to begin with.


Hi,

Actually I am using two connections of different company because in future if one is not working second will be there, so that the work will not effect. And certainly both have different Default gateway and different DHCP server address (as I previously mentioned one is 192.168.0.1 and second is 192.168.0.1. I have more than one question regarding this issue, because I already tried to put one both PC on same default gateway manually. But it is not working, and both PC are not present on each other network (View Network Connections). So what steps I have to follow to change Default gateway of one of both PCs.

Thank you………
My System SpecsSystem Spec
Old 05-22-2009   #6 (permalink)


Win7x64
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by Ajju View Post
Hi,

Actually I am using two connections of different company because in future if one is not working second will be there, so that the work will not effect. And certainly both have different Default gateway and different DHCP server address (as I previously mentioned one is 192.168.0.1 and second is 192.168.0.1. I have more than one question regarding this issue, because I already tried to put one both PC on same default gateway manually. But it is not working, and both PC are not present on each other network (View Network Connections). So what steps I have to follow to change Default gateway of one of both PCs.

Thank you………
It sounds like this is an office situation - perhaps you're setting up this infrastructure for a client?

You really ought to have the "failover" between gateways happen at the edge router, instead of leaving it to each and every machine to detect a dead gateway and make its own failover decisions accordingly. Ideally, all of your PCs in this small office will be on the exact same IP segment, and the fact that their edge router may sometimes switch between different gateways will remain invisible to the PCs themselves.

I still don't have enough information about your network topology, and I'm disinclined to ask a third time, but remember that the subnet mask you're using plays a vital part. If it's a "/24" mask (255.255.255.0), two PCs whose IP addresses are 192.168.0.1 and 192.168.1.1 respectively will not think of each other as being on the same network, and you'll have to somehow organise routing between the 192.168.1.X and 192.168.0.Y segments. That seems like overkill for what you're trying to do, especially given you've got full control over those (private) IP address ranges.

It would be simpler to have the routers/gateways configured as say 192.168.0.1 and 192.168.0.2, and to have the PCs at 192.168.0.10, 11, 12, 13... and so on, everything with a /24 mask. The PCs will then talk to each other without the need for intricate routing (because they're on the same network), and since they'll all be configured with both the .1 and .2 gateways, they'll just swap between them when certain conditions are met. (Look up "dead gateway detection" at support.microsoft.com)
My System SpecsSystem Spec
Old 05-23-2009   #7 (permalink)


windows XP
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by H2SO4 View Post
Quote  Quote: Originally Posted by Ajju View Post
Hi,

Actually I am using two connections of different company because in future if one is not working second will be there, so that the work will not effect. And certainly both have different Default gateway and different DHCP server address (as I previously mentioned one is 192.168.0.1 and second is 192.168.0.1. I have more than one question regarding this issue, because I already tried to put one both PC on same default gateway manually. But it is not working, and both PC are not present on each other network (View Network Connections). So what steps I have to follow to change Default gateway of one of both PCs.

Thank you………
It sounds like this is an office situation - perhaps you're setting up this infrastructure for a client?

You really ought to have the "failover" between gateways happen at the edge router, instead of leaving it to each and every machine to detect a dead gateway and make its own failover decisions accordingly. Ideally, all of your PCs in this small office will be on the exact same IP segment, and the fact that their edge router may sometimes switch between different gateways will remain invisible to the PCs themselves.

I still don't have enough information about your network topology, and I'm disinclined to ask a third time, but remember that the subnet mask you're using plays a vital part. If it's a "/24" mask (255.255.255.0), two PCs whose IP addresses are 192.168.0.1 and 192.168.1.1 respectively will not think of each other as being on the same network, and you'll have to somehow organise routing between the 192.168.1.X and 192.168.0.Y segments. That seems like overkill for what you're trying to do, especially given you've got full control over those (private) IP address ranges.

It would be simpler to have the routers/gateways configured as say 192.168.0.1 and 192.168.0.2, and to have the PCs at 192.168.0.10, 11, 12, 13... and so on, everything with a /24 mask. The PCs will then talk to each other without the need for intricate routing (because they're on the same network), and since they'll all be configured with both the .1 and .2 gateways, they'll just swap between them when certain conditions are met. (Look up "dead gateway detection" at support.microsoft.com)



Hi H2SO4,

I have one problem regarding IP address, after starting the PCs there IP address are automatically changes, yesterday there was different IP address on computers in office and today is different and some of them has different default gateway.
Currently on my systems I am using below details in Internet Protocol (TCP/IP) Properties

1. Obtain an IP address automatically.

2. Use the following DNS server address

Preferred DNS server
Alternate DNS server

Here in DNS server I am using two different DNS address

So, I am not able to understand why everyday IP address of PCs changes automatically

And I am Using Star Topology

Could You Please Suggest me for the same..

Thank U……………………………


My System SpecsSystem Spec
Old 05-23-2009   #8 (permalink)


Win7x64
 
 

Re: Default Gateway

Quote  Quote: Originally Posted by Ajju View Post
I have one problem regarding IP address, after starting the PCs there IP address are automatically changes, yesterday there was different IP address on computers in office and today is different and some of them has different default gateway.
Currently on my systems I am using below details in Internet Protocol (TCP/IP) Properties

1. Obtain an IP address automatically.

2. Use the following DNS server address

Preferred DNS server
Alternate DNS server

Here in DNS server I am using two different DNS address

So, I am not able to understand why everyday IP address of PCs changes automatically

And I am Using Star Topology
Presumably, you've got two different DHCP servers (routers?) with two different scopes, both on the same physical network segment. As a result, client machines will sometimes obtain DHCP leases from one scope, and sometimes the other. Not a good situation.

Like I said, ideally you'd want all these client machines (assuming they're in the one office) to be on the same IP segment, and the edge router handling the failover between the gateways as necessary. That's challenging if not impossible with consumer kit, so if that's what you've got you may wish to think about investing in a "real" router.

Otherwise, disable the DHCP server functionality on one of the two DHCP servers, then use the IP addressing scheme I outlined earlier (everything on the same 192.168.0.Y/255 scope), and add both gateways to the "gateway" DHCP scope option (option '3' from memory).
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
0.0.0.0 default gateway problem Vista General
Default gateway problem Vista networking & sharing
Default Gateway Vista networking & sharing
DHCP providing bad Default Gateway Vista networking & sharing
Changing the default Gateway in PS PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46