Subject: Re: Off Topic: Network Switches
To: Eric Fox <eric@fox.phoenix.az.us>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-users
Date: 08/11/2003 20:21:18
On Mon, Aug 11, 2003 at 06:48:39AM -0700, Eric Fox wrote:
> I know this is not specifically NetBSD related ...
> 
> There is a small hotel that is wanting to offer Internet access to their
> customers.  They already have broadband to the hotel and want to simply
> share it to each of the rooms (NAT'd NetBSD system).  The rooms already
> have RJ45 jacks from
> what appear to be the remains of an old PBX system -- I assume they can
> rework the wiring closet to make use of these (yeah, I know it won't be
> CAT 5, but I suspect it won't be that big an issue).
> 
> They want each room to be servce via DHCP, but also want them to each have
> a dedicated IP for tracking/billing purposes.  So the question is, can
> this be done (a DHCP reserved IP for each switch port) with an "off the
> self" managed switch?

If the switch can do 802.1q, I would do this: one vlan per room.

However there may be another way to track it down: you can grab the
MAC addresses out of the dhcp server logs, and use some snmp tools to
match this address with a switch port. I think I would go this way.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--