Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Problem while Ping form one system to other


  • Please log in to reply
17 replies to this topic

#1 nsofts

nsofts

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 29 September 2015 - 05:37 AM

I Have two computers which are connected to two routers respectivly. The two routers are connected with a cable in WAN ports of two routers. I need to ping from machine 1 Local IP to machine 2 Local IP. Below are the diagram of my network setup.ping_A_B.jpg

To get connectivity between two computers i use Router 1's WAN gateway as Router 2's WAN IP and vice versa.

I dont have any connection to internet. I Just want ping from machine 1 to machine 2 local ips.

As i'm not fully proficient in networking please suggest me how to ping to each other machine.

Below are my configuration on machines and routers

Router 1: 
WAN IP : 10.0.0.2
MASK : 255.255.255.0
GW : 10.0.0.1

LAN IP : 192.168.0.1
MASK : 255.255.255.0
--------------------------------------------
Machine 1:

IP : 192.168.0.5
MASK : 255.255.255.0
GW : 192.168.0.1
===============================================

Router 2 : 
WAN IP : 10.0.0.1
MASK : 255.255.255.0
GW : 10.0.0.2

LAN IP : 192.168.1.1
MASK : 255.255.255.0
----------------------------------------
Machine 2:

IP : 192.168.1.9
MASK : 255.255.255.0
GW : 192.168.1.1
------------------------------------------------

Attached File  ping A-B.jpg   64.35KB   0 downloads



BC AdBot (Login to Remove)

 


#2 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 29 September 2015 - 06:51 AM

Hi,

 

If you are using home routers with WAN ports it will not work because they will block outside access from the WAN interface to the internal LAN

Just for testing purpose with one machine in each side you can add them to the DMZ, ip's 192.168.1.9 and 192.168.0.1

 

Home routers only accept expose one IP to the outside.


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#3 nsofts

nsofts
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 29 September 2015 - 11:00 AM

Hi Sleepy Dude..

 

Thanks for your reply..

 

Actually i need to use both the routers. While making some changes in routers i'm able to ping upto the routers WAN IP and Router LAN IP. But not the Machine IP.  So in order to get ping to the machine IP i wrote ROUTING. But no use.can you please tell me how to configure DMZ between two routers.

 

Thank you..



#4 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 29 September 2015 - 01:43 PM

Hi Sleepy Dude..

 

Thanks for your reply..

 

Actually i need to use both the routers. While making some changes in routers i'm able to ping upto the routers WAN IP and Router LAN IP. But not the Machine IP.  So in order to get ping to the machine IP i wrote ROUTING. But no use.can you please tell me how to configure DMZ between two routers.

 

Thank you..

 

Look for DMZ on the router configuration web page. Can you post the brand and model of the routers?


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#5 nsofts

nsofts
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 30 September 2015 - 01:09 AM

Hi..

 

Both are TP Link Routers.

 

Router 1 : TP-Link WR1043ND

 

Router 2 : TP-Link TL-R470T+

 

So i need to add two ips 192.168.1.9 and 192.168.0.1 in both the routers DMZ section.



#6 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 30 September 2015 - 04:06 AM

Hi,

 

Hi..

 

Both are TP Link Routers.

 

Router 1 : TP-Link WR1043ND

 

Router 2 : TP-Link TL-R470T+

 

So i need to add two ips 192.168.1.9 and 192.168.0.1 in both the routers DMZ section.

 

For the WR1043ND see page 65 of the manual http://www.tp-link.com/res/down/doc/TL-WR1043ND_V3_UG.pdf

 

You can only put only one IP on the DMZ 192.168.0.5 the PC1 connected to this router.

 

Do the equivalent on the second router with the IP for PC2


Edited by SleepyDude, 30 September 2015 - 04:07 AM.

• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#7 nsofts

nsofts
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 30 September 2015 - 04:54 AM

Hi 
 
I configured DMZ in Router 1 with the PC1 ip(192.168.0.5) and for the Router 2 i configured DMZ with PC2 ip(192.168.1.9). 
After setting DMZ on both the routers i got pings like the below
 
 
From PC 1 ----> Router 2(TL-R470T+)  WAN IP(10.0.0.1), Router 2 LAN IP(192.168.1.1), but not the PC2 IP address.(192.168.1.9)
 
From PC2  -----> Router 1(WNDR1043) WAN IP (10.0.0.2) ,PC1 IP address (192.168.0.5), but not the Router 2 LAN IP(192.168.0.1)



#8 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 30 September 2015 - 03:29 PM

Hi,

 

Try disabling the firewall on both routers.


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#9 nsofts

nsofts
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 01 October 2015 - 04:10 AM

Hi

 

From starting onwards i disabled firewall on both the routers and in computers also.



#10 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 01 October 2015 - 08:28 AM

Can you post the output of this command on PC1:

tracert 192.168.1.9

• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#11 nsofts

nsofts
  • Topic Starter

  • Members
  • 8 posts
  • OFFLINE
  •  
  • Local time:08:17 PM

Posted 05 October 2015 - 07:48 AM

Hi

 

Thanks for your reply

 

Got the pings from both the systems by putting one router in to bridge mode..

 

 

Thanks You.



#12 SleepyDude

SleepyDude

  • Malware Response Team
  • 3,084 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Portugal
  • Local time:03:47 PM

Posted 05 October 2015 - 08:30 AM

Hi

 

Thanks for your reply

 

Got the pings from both the systems by putting one router in to bridge mode..

 

 

Thanks You.

 

Can you ping the PC's in both directions?


• Please do not PM me asking for support. Post on the forums instead it will increases the chances of getting help for your problem by one of us.
• Posts in the Malware section that are not replied to within 4 days will be closed. PM me or a moderator to reactivate.
• Please post your final results, good or bad. We like to know! Thank you!

 
Proud graduate of GeekU and member of UNITE
___
Rui

 
 


#13 Wand3r3r

Wand3r3r

  • Members
  • 2,027 posts
  • OFFLINE
  •  
  • Local time:07:47 AM

Posted 05 October 2015 - 08:49 AM

Bridge mode defeats what you are trying to accomplish.  There is no NAT with bridge mode.



#14 dannyboy950

dannyboy950

  • Members
  • 1,338 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:port arthur tx
  • Local time:08:47 AM

Posted 05 October 2015 - 01:11 PM

Would NAT actualy come into play with nothing actually interfaceing with the internet?  or did I miss read something here.

 

Sound like he is trying to set up a network to study/practice his networking skills.

I once built a 10 computer network to study/practice on all computers wound up having to be bridged to get it to work.


HP 15-f009wm notebook AMD-E1-2100 APV 1Ghz Processor 8 GB memory 500 GB Hdd

Linux Mint 17.3 Rosa Cinamon


#15 Wand3r3r

Wand3r3r

  • Members
  • 2,027 posts
  • OFFLINE
  •  
  • Local time:07:47 AM

Posted 05 October 2015 - 03:22 PM

To go from a 10x wan subnet to a 192x lan subnet you must use NAT.  NAT is not exclusive to the internet.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users