cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
287
Views
0
Helpful
2
Replies

Communication over different network

gauravsahitya
Level 1
Level 1

I have a pc and a laptop. My pc is connected to router through ethernet port and my laptop is connected to my mobile hotspot. Now i want to ping to my pc from my laptop, how can i do that.

2 Replies 2

marce1000
VIP
VIP

 

  - Just  by trying , if this is all intranet home networking it will probably work, 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

pieterh
VIP
VIP

>>> my laptop is connected to my mobile hotspot. <<<
this means your laptop is connected via the moblie network to the internet, this network is outside your router

>>> My pc is connected to router through ethernet port <<<
this suggests your router is probably performing NAT between your internal network and the public internet
1) you need to determine the public IP-address used by your router 
    NB! this address can change from time to time, as mostly this is issued dynamically by your provider using DHCP
    You must use this ip addres as ping destination
2) on your router you need to enable port-forwarding  from internet to PC to enable incoming connections
    read the manual of your router how to do this for ping (ICMP)
    You must include this port in your ping command also
3) on your PC in the windows firewall you need to allow ping incoming from other subnets than the local subnet

Review Cisco Networking for a $25 gift card