04-23-2009 06:22 AM - edited 03-06-2019 05:20 AM
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?
04-23-2009 06:33 AM
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
04-23-2009 06:35 AM
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
04-24-2009 06:04 AM
Hi
You can try with option 82, which insert portinformation in the dhcp request. See this document.
/Mikael
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide