cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
913
Views
0
Helpful
3
Replies

Questions about MAC Address and IP Address

hiyalim
Level 1
Level 1

In general:

Can you know a machine’s location from its IP address in general? MAC address?

Can you identify a machine by its IP address? MAC address?

Can two identical IP addresses co-exit? MAC address?

Can you use the same IP address when you travel to another city? MAC address?

2 Accepted Solutions

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

@hiyalim wrote:

Can you know a machine’s location from its IP address in general? MAC address?


Yes and no.  Depends on how the IP addressing scheme has been implemented.  


@hiyalim wrote:

Can you identify a machine by its IP address? MAC address?


Of course, yes.


@hiyalim wrote:

Can two identical IP addresses co-exit? MAC address?


Yes and no. 


@hiyalim wrote:

Can you use the same IP address when you travel to another city? MAC address?


You kidding, right?  No, it won't work.

View solution in original post

Hello,

 

in addition to Leo's remarks, what do you mean by location ? The geographical location ? The location in a network ? The latter is usually done by tracking down the switchport where a specific MAC address (belonging to a specific IP address) is connected to; if there are multiple switches, you woud have to follow the trunks or interconnections until you reach a specific switchport.

 

If you are looking for a geographical location, you can use (usually paid) services such as those linked below:

 

https://www.ip2location.com/

 

https://ipregistry.co/

 

With regard to using an IP address in a different location, there used to be a feature called 'Mobile IP' which was designed for exactly that purpose. In essence, it installled a host route in the routing table of the connected layer 3 device...

View solution in original post

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

@hiyalim wrote:

Can you know a machine’s location from its IP address in general? MAC address?


Yes and no.  Depends on how the IP addressing scheme has been implemented.  


@hiyalim wrote:

Can you identify a machine by its IP address? MAC address?


Of course, yes.


@hiyalim wrote:

Can two identical IP addresses co-exit? MAC address?


Yes and no. 


@hiyalim wrote:

Can you use the same IP address when you travel to another city? MAC address?


You kidding, right?  No, it won't work.

Hello,

 

in addition to Leo's remarks, what do you mean by location ? The geographical location ? The location in a network ? The latter is usually done by tracking down the switchport where a specific MAC address (belonging to a specific IP address) is connected to; if there are multiple switches, you woud have to follow the trunks or interconnections until you reach a specific switchport.

 

If you are looking for a geographical location, you can use (usually paid) services such as those linked below:

 

https://www.ip2location.com/

 

https://ipregistry.co/

 

With regard to using an IP address in a different location, there used to be a feature called 'Mobile IP' which was designed for exactly that purpose. In essence, it installled a host route in the routing table of the connected layer 3 device...

Joseph W. Doherty
Hall of Fame
Hall of Fame
NB: regarding addresses, I assume you're asking about unicast addresses.

"Can you know a machine’s location from its IP address in general? MAC address?"

In general, no, but sometimes yes.

Public IPs are assigned to entities, and you can sometimes identify some geographic region where an entity's network is, but how they assign specific IPs is up to them.

By default, MACs are globally unique, but sometimes the burnt-in MAC is overridden with a locally assigned one. When that's done, sometimes the MAC in encoded to indicate some geo location, but again, that's usually only known to the entity that did the (local override) assignment. Plus, MACs are lost at the first L3 hop.

"Can you identify a machine by its IP address? MAC address?"

Unsure what you mean by "identify". By default, global MACs are assigned to NIC vendors, but that doesn't indicate the host it may be installed in, or whether it's really the original burnt-in MAC.

"Can two identical IP addresses co-exit? MAC address?"

Sure, also more than two, but usually not so assigned where the same IP or MAC is "visible" to the domain it's being used within. If such is the case, then the network wouldn't know where to direct traffic to a specific IP or MAC.

"Can you use the same IP address when you travel to another city? MAC address?"

IPs, usually not, but there are exceptions. MACs, often by default, yes.
Review Cisco Networking products for a $25 gift card