Link to home
Start Free TrialLog in
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.
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.
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

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of ArneLovius
ArneLovius
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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.
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
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.
@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
I would go with 3) taking 38191090 as the answer.

None of the other posts could be said to lead directly to the answer.
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.