Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

DHCP in an hostel

Hello,

we drive a switched network in a hostel.

Users change every 14 days.

How can I monitor the traffic for each user?

At the moment I use an ACL which logs to a syslog server. The problem with this is that the hosts get their addresses via dhcp, but which mac/interface get's which ip?

Syslog only logs the ip!

Using radius and 802.1x would be an overkill i think. Especially if each user have to configure it on his host.

The easiest thing would be if the dhcp addresses could be bound to an interface. i.e. Host on FastEathernet0/10 always gets 192.168.1.10 as IP. Would that be possible? How?

Any further suggestions?

3 REPLIES

Re: DHCP in an hostel

One thought would be (although maybe overkill and others may have better suggestions), create a vlan for each room that you have (if that's even feasible) and then assign addresses per vlan.

Room 1: 192.168.1.0 (make your scope small)

Room 15: 192.168.15.0

Room 16: 192.168.16.0

Add the port that you want to what room:

Room 1:

int fa0/1

swit mode access

swit access vlan 1

Then your DHCP server will have a scope for that Room.

I've never been to a hostel, so I'm not sure how large they are which is why I said if this is even feasible. :)

HTH,

John

HTH, John *** Please rate all useful posts ***

Re: DHCP in an hostel

What is the device that provides the gateway (ie router or firewall)? That device may be able to monitor the traffic. On the switch you can monitor who has what IP with the following commands.

CORE1#sh arp | inc 10.142.3.2

Internet 10.142.3.2 0 000c.5502.1e62 ARPA Vlan423

This shows the IP to MAC address table. Once we have the MAC address we can find out what port they are on.

CORE1#show mac-address-table address 000c.5502.1e62

Mac Address Table

-------------------------------------------

Vlan Mac Address Type Ports

---- ----------- -------- -----

423 000c.5502.1e62 DYNAMIC Fa0/27

Total Mac Addresses for this criterion: 1

CORE1#

Hope that helps

Silver

Re: DHCP in an hostel

Hi

You can try with option 82, which insert portinformation in the dhcp request. See this document.

http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.1_9_ea1/configuration/guide/swdhcp82.html

/Mikael

132
Views
0
Helpful
3
Replies
CreatePlease to create content