Avatar of UAT
UAT

asked on 

Assigning IP Addresses to a Physical Location

Is there any way to assign an IP address to a computer connected a specific port on a level 3 Cisco switch? I would like to make a network map that can identify where computers are physically located in our building based on their IP address. If a computer moves locations, it gets a new IP address. That way an IP address is assigned to a physical location, and not a MAC address or computer.

Other ideas for being able to identify where computers are physically located would help, if my IP address idea is absurd.
Switches / HubsNetwork ManagementNetworking

Avatar of undefined
Last Comment
MSCruz
Avatar of MSCruz
MSCruz
Flag of Brazil image

Which switch models do you use?

For now, I cannot see a way of doing that without an extra hardware. It is an interesting idea.
Avatar of UAT
UAT

ASKER

The client computers are connected to a Catalyst 3750 Series switch. The switches are connected to a Catalyst 6513.
Avatar of Mexile
Mexile
Flag of Australia image

possibly set each room up on a seperate vlan, then have seperate dhcp serving each vlan? then you would know that an ip within a specific range would be in a particular room / on a certain vlan. Configure intervlan routing to allow the vlans to communicate. May be something to think about.
SOLUTION
Avatar of MSCruz
MSCruz
Flag of Brazil image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of pergr
pergr

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
ASKER CERTIFIED SOLUTION
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of UAT
UAT

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of UAT
UAT

ASKER

I've requested that this question be closed as follows:

Accepted answer: 0 points for UAT's comment #38191090

for the following reason:

This answer, I got from an external website, directly answered the question I posed. The answers given were not answering my question.
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

It does look as if it will do pretty much what you're after :-)  

To ensure that the same address is not provided to to devices on the same port name, I think that you might need to run DHCP on each access switch or switch stack, and not have any DHCP serving VLANS across switches or switch stacks.

http://www.cisco.com/en/US/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-2sx/dhcp-prt-bsd-aa.html
Avatar of MSCruz
MSCruz
Flag of Brazil image

I do not really care about who the points are going to. As I see, all of the comments led to the solution. If you read carefully all the comments, you will find the same direction: use the switch features along with the DNS server to provide an IP based on the switch port used by a host.
Cisco call it: Interface Tracker, Option 82 or DHCP Server Port Based Address Allocation.

Pointing a direction it is half the way to a solution.
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

@MSCruz  I would agree that the the questions lead in that direction, but apart from the obvious DHCP link, option 82 is not related to Port Based Address Allocation, which does solve the original question and had not been brought up by anyone. I'm actually rather happy that I've learnt something new from this question, I can't see myself ever using it as I have a basic disagreement with the original requirement, but that's a different kettle of fish.

I would agree that the question should be closed as per post 38191481
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

I would go with 3) taking 38191090 as the answer.

None of the other posts could be said to lead directly to the answer.
Avatar of MSCruz
MSCruz
Flag of Brazil image

As the original question was
Is there any way to assign an IP address to a computer connected a specific port on a level 3 Cisco switch?
then he asked for directions, not for a configuration.

Also, after so many comments, the author did not stated that he wanted a configuration sample.

The comments show that a switch and a DHCP server that support Port Base Address Allocation could solve his problem.

As ArnieLovius said, I would go with the #3 option taking 38191090 as the answer.
Networking
Networking

Networking is the process of connecting computing devices, peripherals and terminals together through a system that uses wiring, cabling or radio waves that enable their users to communicate, share information and interact over distances. Often associated are issues regarding operating systems, hardware and equipment, cloud and virtual networking, protocols, architecture, storage and management.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo