Ip from Mac address without being connected to internet

Status
Not open for further replies.

jimmysmitty

Distinguished
Moderator
Oct 5, 2007
551
0
19,010
42
I am not sure you understand how a MAC address and IP address work.

A MAC address is a unique identifier for a piece of hardware assigned to network based devices such as a NIC card, router or wireless adapter. This has nothing to do with what IP address you will be getting.

An IP address is a unique address, depending on if you are using IPv4 or IPv6 they will differ. IPv4 is currently the most used and has numbers in this configuration 'xxx.xxx.xxx.xxx'. This is assigned to your network card by your router or modem. If you have a direct connection to your modem then you normally pull the IP address of your modem which is considered your public IP address. If you have a WiFi or ethernet router then your network card will be given a private IP address, most commonly it is something like 192.168.xxx.xxx or 172.16.xxx.xxx depending on how yours is setup.

Again the MAC address has no bearing on your IP address.

In order for your network card to receive a IP address you need to be connected to your router/switch/modem. If you are not connected to it then you will have a IP address of 169.254.45.21 that is assigned by Windows when you do not have a connection to an internet service or network.
 

jimmysmitty

Distinguished
Moderator
Oct 5, 2007
551
0
19,010
42
I am not sure you understand how a MAC address and IP address work.

A MAC address is a unique identifier for a piece of hardware assigned to network based devices such as a NIC card, router or wireless adapter. This has nothing to do with what IP address you will be getting.

An IP address is a unique address, depending on if you are using IPv4 or IPv6 they will differ. IPv4 is currently the most used and has numbers in this configuration 'xxx.xxx.xxx.xxx'. This is assigned to your network card by your router or modem. If you have a direct connection to your modem then you normally pull the IP address of your modem which is considered your public IP address. If you have a WiFi or ethernet router then your network card will be given a private IP address, most commonly it is something like 192.168.xxx.xxx or 172.16.xxx.xxx depending on how yours is setup.

Again the MAC address has no bearing on your IP address.

In order for your network card to receive a IP address you need to be connected to your router/switch/modem. If you are not connected to it then you will have a IP address of 169.254.45.21 that is assigned by Windows when you do not have a connection to an internet service or network.
 

jimmysmitty

Distinguished
Moderator
Oct 5, 2007
551
0
19,010
42


No. IP addresses are only assigned when a device is connected to it.
 

jimmysmitty

Distinguished
Moderator
Oct 5, 2007
551
0
19,010
42
Only if there is an active device that has an IP assigned. Otherwise the only IP a hotspot will have is the IP for the WiFi router.

If a device is not connected there is no IP handed out and you cannot "sniff" out a IP address that might be assigned to a device because a device wont have one unless it is connected.

Now if you have DHCP reservations and the device was originally connected to the hotspot then the router will keep a record of the IP address that was assigned to it and reserve that IP for that device.
 

genrldisaray

Honorable
Jun 24, 2012
10
0
10,570
3


Starting? This thread was dodgy the second it was posted.
 

Nikolashiks

Honorable
Aug 26, 2013
9
0
10,510
0
lets say i want to read the ip addresses of all available wifi in the area, there is no way to do it and it bo ggles me. is there a way of reading the routers ip address.... i have read a lot about this. cant find anything. hasnt this issue come up at all?

 

Nikolashiks

Honorable
Aug 26, 2013
9
0
10,510
0
why the hell would i possible care about the fbi. learning this how to is vital for networking beginners such as myself. is finding an ip address from a wifi possible,,, yes.... has anybody done it in the main stream? no. thought i would ask this site based on its reputation and found this site very appealing on learning how to do stuff, i guess i was wrong. i will take this manhunt somewhere else.
 

rgd1101

Titan
Moderator


The site yes, you not so much. getting an ip address with just the wifi signal? what are you try to do?
 

Nikolashiks

Honorable
Aug 26, 2013
9
0
10,510
0


 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
R Social Networking 1
H Social Networking 3
H Social Networking 1
J Social Networking 1
C Social Networking 3
T Social Networking 8
C Social Networking 1
B Social Networking 2
J Social Networking 1
L Social Networking 1
L Social Networking 3
H Social Networking 1
P Social Networking 1
W Social Networking 10
canadianvice Social Networking 2
I Social Networking 2
Z Social Networking 9
M Social Networking 2
B Social Networking 2
R Social Networking 2

ASK THE COMMUNITY