how to get Global IP address? [closed] - networking

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When my PC is connected to Network, I will be getting couple of IP address.
1.) Modem Private IP address (will be like 192.168.1.3)
2.) ISP address (by searching "My ip address" in google it gives me my global IP address)
My roommate who is connected to same modem is able to ping my global IP address but not other person who is connected to different network, why??
Is there anyway that in ISP they block ICMP Packets?? So that no one be able to ping other machine ?? or do they use different routing instances for different sectors??
If we want a global IP address for my PC so that anyone can login/ping what should I enable??

Your router/modem gets a dynamic IP from ISP whenever you connect it to Internet. This address as name says is changing. If you want a constant public IP from ISP, you must request ISP for the same. This comes at a very high cost and not recommended unless you are serving a high revenue generating data on that machine.

Related

networking a virtual machine from another on the same host? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to connect 2 virtual machines on the same host. Basically trying to ping from one to another. How can it be done if both have same IP address?
edit:
I am currently using hping3 to learn about Denial of service Syn flood. So can the 2 VMs be used for this?
If they share the same IP address this isn't possible. Ping uses ICMP echo requests and replies and ICMP doesn't use ports that could be NATted to different machine.
You'll need to bridge the vNIC to the local network so each VM gets a different IP. Alternatively, you could connect both to an internal, entirely virtual network - depending on what the hypervisor can be configured to do.

Routing between 2 LAN [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have Mikrotik router with Wifi connected to:
WAN/internet on port ether1.
Other ports are for LAN 10.0.1.*.
Only port ether8 is connected to another simple POE switch. Four IP cameras with static IP are connected. This is LAN2 192.168.50.*. Port is not included in bridge or switch.
From main LAN I can access internet and other PC on same LAN, but can't access IP cameras on LAN2.
So, what is wrong/missing in my Mikrotik configuration:
/ip address
add address=10.0.1.1/24 comment="default configuration" interface= ether2-master-local network=10.0.1.0
add address=10.0.0.18/30 interface=ether1-gateway network=10.0.0.16
add address=192.168.50.253/24 interface=ether8-master-local-SUBNET network=
192.168.50.0
/ip route
add distance=2 gateway=10.0.0.17
No ping or trace route can reach LAN2 from main LAN.
If I connect to POE switch with my laptop and configure static IP in range 192.168.50.* than I can access all cameras OK.
If try ping IP camera directly from Mikrotik via ether8 than I get random mix of timeouts and success which is really strange.
Any help is appreciated.
did you set 192.168.50.253 as gateway in your IP cameras ? So they know how to reply to 10.0.1.0/24 when they receive a ping.
As for the random success ping problem, this is weird indeed, maybe an IP conflict (did you try with only 1 camera plugged?)

How IP resolves a hostname? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I understand that the job of IP in the TCP stack, when dealing with an outgoing message, is to resolve an IP address from a host name and add this address as a header.
Is this process that IP goes through equivalent to using a tool like nslookup for a given hostname?
Your understanding is incorrect. IP doesn't know anything about device names, it only deals with IP addresses.
An application can query a DNS server or a hosts file to resolve a name into an IP address. This must be done prior to using IP to forward a packet since IP can only use an IP address. Tools, like you mention, and other applications, such as browsers, query a DNS server (requires you have the IP address of a DNS server configured) or use a hosts file to resolve the name to an IP address.

Can I reach a device if I know its local IP address and the ip address of the router its connected to? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
On my home network there is printer I want to print from. I know the the local IP of my printer at home, and I know the IP address of my home router.
From a different location, is there any way I can access the printer with these pieces of information?
From inside the network (while you're connected to your router at home) that would be enough information. However from outside the network, the firewall on the router would have to be set up. The place you would want to set up would be the Port Forwarding feature of your router.
While at home:
1) Login to your router
2) Look for something like "Port Forwarding/Port Triggering", "WAN", "Firewall" or something like that. It will be different on different routers.
3) Most of the time the default port for network printers is 9100 so you can set up traffic coming into the router on port 9100 to be forwarded to the printer's IP address. This is why it's called "Port Forwarding" because you're forwarding traffic on that port.
4) Once that's set up you'll have to set up a printer on your computer and use the public IP address of your home router. For example, it will be something other than "192.168.x.x".
There you have it!

ip alias on the same nic with different subnets on Windows 2008R2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a Windows 2008R2.
On a NIC, I have 3 ip aliases :
- two have the same subnet and it works well
- the third is on a different subnet
I can ping the third ip.
I can see the packets who are coming on this ip with Wireshark.
I have a service who list on the 0.0.0.0 address.
When I try to connect to this service, it is like the packet are not going to the service.
I tried with netcat also in listen mode and I had the same problem (If I connect via the loopback ip, netcat receive my datas...)
Is the ip aliases have to be on the same subnet on the same nic ?
Thanks in advance
Best regards
This will never work. I tried with an additionnal nic and it worked

Resources