The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7
Author: .daniel.schrock 
Date:   14-01-03 00:45

if you just want to know which hosts/users are using the resource, setup dhcp to statically assign addresses based on the mac address... then setup dns, forward and reverse, to say what you want... user1.example.com or host2.example.com, etc...

also, how addresses are you serving via dhcp? if you only have 30 users, then is no reason to serve an entire class C through dhcp... resubnet you network to something more managable... then change samba's hosts allow directive to only allow from that subnet... use a /26 (255.255.255.192) will give you 62 addresses...
example:
192.168.0.0 = network address
192.168.0.1-62 = usable addresses (this includes the gateway)
192.168.0.63 = broadcast address

then use 1-20 for servers, network equipment, etc...
21-62 for users.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
fabi 09-01-03 13:15 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
.daniel.schrock 09-01-03 14:37 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
fabi 09-01-03 16:32 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
.daniel.schrock 09-01-03 17:56 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
fabi 13-01-03 14:09 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
.daniel.schrock 14-01-03 00:45 
 Re: Firewall Rule based on MAC Address with ipfw and FreeBSD 4.7   new
fabi 24-01-03 10:22 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org