Different IP addresses from an external website and from ipconfig - ip

I checked my ip address from http://whatismyipaddress.com/ip-lookup
and I also used 'ipconfig' to check my ip address.
The result are different.
I don't understand why.
Please teach me the reason, thank you!

The IP you see in ipconfig is most likely the IP address your router has assigned to your PC.
The IP address you get from a website is your external IP address, or the IP address that your ISP has assigned to your modem.

Related

How to block specific set of Ip addresses from an ISP

When I type ipconfig in my windows pc I am able to see my Ethernet adapters local area connection IP address for eg : 193.168.1.13 . Now my problem is when I browse the internet I see that My ISP provides different IP addresses for different sessions when I check for my IP. I am not happy with some ip addresses which my ISP provides to me . Is there a way to block my ISP from assigning those IP addresses . Can I write such a rule in firewall so that I can block that range of ip addresses ?
If possible then please tell me how to do that ?
Thanks in advance .

How to know Router's IP what connect to Modem

I have a network like that:
Internet <-> Modem <-> Router (broadcast wifi)
I'm using Windows. If I use command: ipconfig, I only know Modem's IP through info of Default Gateway.
So, how to know the Router's IP in this network.
Thanks.
If you want to know the external (from the Internet IP) you can browse to http://www.whatismyip.com/ and check it there.
Or
You can check it inside the router's configuration page. Unfortunately you can't simply know it by being a member of its network since this is a limitation of the NAT and the IP protocol.
If you wish to know the router's IP inside the internal network of the router .
when running ipconfig it should be the Default Gateway entry.
If you know your IP and you know your Netmask, then you can easy find out the subnet. The Router's IP is "always" the first avaible IP in the subnet. Thats the case for your private IP.
For the public IP you can try a service like this one.

Cisco VPN IP address

I've some doubts about a VPN.
I've been given a Cisco VPN client to connect to the LAN of my society. I use this to connect to a local server. I don't understand how the VPN is working.
I'm at home now. In the VPN Client I see an IP. If I go to http://www.whatismyip.com/ I see another IP, which is the IP I've when I'm also without the VPN Client, while I expected to see the IP of the VPN Client. If I use $_SERVER['REMOTE_ADDR'] I see another (third!) IP, while I expected the IP I see in the VPN Client.
Can you clarify please?
I need this to know if I'm identifies always from the same IP from the local server.
If I'm not mistaken, this should be correct. Please correct me if I'm wrong.
By default you have 2 IP addresses.
Local IP: IP address used to identify yourself within your LAN.
Global IP: A public IP used to gain access to the internet. At home it will most likley be a public IP NATTED* by your ISP.
Because you're also using a VPN connection, you'll receive a third IP.
Local IP for VPN: IP address used to identify yourself on the other end of the VPN.
*NAT = Network Address Translation

Different IP address error?

I had connect my laptop and phone under a same router/modem.
But the IP addresses that shown on my laptop and phone are different, why???
I'm quite newbie for it, please help me
IP addresses are different inside your network. When you send data outside the network your router uses NAT (Network Address Translation) to assign your Internal(LAN) address your External(WAN) address for the duration of that communication. If they had the same Internal IP address then you would have an error like this http://compnetworking.about.com/od/workingwithipaddresses/f/ip_conflict.htm

Can I configure network broadcast address on Cisco ASA device

Working on Cisco ASA 5510 device I tried to use the broadcast IP address of a Public Network for NAT Static configuration and IOS allowed me to do it, but from outside it didn't work. After a while I changed the broadcast IP to an usable IP and it started to work.
I understand that on a physical interface we can't configured a broadcast IP address, but for NAT we have to do it, otherwise we loose many Public IP addresses from networks with /29 prefix.
I understand you need to squeeze one more IP address for you to use, however most routers don't support forwarding broadcast traffic, for a simple fact, if that is allowed, anyone can send a ping to someone's broadcast address and every host in that subnet has to reply, that is not acceptable.
Other Internet routers may not tell that IP address is broadcast or not, but think about your ISP router for your access circuit, it has to know that IP address is a broadcast, it has to know your ip range in order to set it up. And when someone send you a ping, the router will say: hey, that is a broadcast address on my client's interface, first thing I know as a router, I must not forward a broadcast, thus drop it.
Hope it helps.

Resources