Cannot Ping a PC in the Remote office

Hello.
I am in Office A(subnet: 172.22.11.0/24, VPN gateway: 172.22.11.92);  I want to connect to a PC in Office B(subnet:172.22.10.0/24, VPN gateway: 172.22.10.92). Office B has another Internet gateway(172.22.10.91), I found that, if this PC's gateway points to 172.22.10.91, I cannot Ping this PC from OfficeA. Why ?

Thanks for help.
AaronZHUAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SteveNetwork ManagerCommented:
because they are 2 x different networks on different subnet masks..

if you get on the router itself can you ping the machines in the other network ?

if so, then you need to do a static route on both routers pointing to each other..

eg..
router 1
ip route 172.22.10.0 255.255.255.0 172.22.11.92

and on router 2
ip route 172.22.11.0 255.255.255.0 172.22.10.91

0
AaronZHUAuthor Commented:
hello PsychoFelix,
Is it correct :  ip route 172.22.11.0 255.255.255.0 172.22.10.91 ?
or  ip route 172.22.11.0 255.255.255.0 172.22.10.92 ?
0
SteveNetwork ManagerCommented:
according to what you wrote..

Office A is 172.22.11.0/24 with gateway to internet of 172.22.11.92

and

Office B is 172.22.10.0/24 with gateway to internet of 172.22.10.92

so the ip route should be for office B 'ip route 172.22.11.0 255.255.255.0 172.22.11.92

that should go on the default router of the workstations so in this case onto the device 172.22.10.91 (whatever that is)..
0
What were the top attacks of Q1 2018?

The Threat Lab team analyzes data from WatchGuard’s Firebox Feed, internal and partner threat intelligence, and a research honeynet, to provide insightful analysis about the top threats on the Internet. Check out our Q1 2018 report for smart, practical security advice today!

AaronZHUAuthor Commented:
if I configure the ip route like you said, whether I can Ping any PC in Office B even the PC's gateway is empty ?
0
SteveNetwork ManagerCommented:
no.. the PC's gateway HAS to be the router that you put the routes on..  

0
AaronZHUAuthor Commented:
To be clear , 172.22.10.91 is just the Internet gateway, only this PC wants to connect to internet through 172.22.10.91, other PCs cannot. So this PC's gateway must be 172.22.10.91. The problem is that I cannot Ping this PC because its gateway is not 172.22.10.92  .
0
SteveNetwork ManagerCommented:
sorry.. you'll need to draw a layout map and list what the components are..
0
AaronZHUAuthor Commented:
Now, PC1 wants to ping Proxy Server. How to do ?
Drawing3.jpg
0
AaronZHUAuthor Commented:
anybody help?
0
SteveNetwork ManagerCommented:
ahh.. diagram makes it better.. ok

reason is.. when you contact office PC its default gateway is its internet gateway router.. meaning ALL traffic is routed out to the internet..

you need that machine to route your local range back to the the vpn router2.. eg.. on each of the machines in OfficeB that need to connect back to OfficeA..

(assume windows xp)
c:> route add 172.22.11.0 mask 255.255.255.0 172.22.10.92 metric 1

then do a
c:>route print

to make sure the routes are now correct.. and you should be good to go..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AaronZHUAuthor Commented:
Thanks .
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VPN

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.