Google Answers Logo
View Question
 
Q: Gateway Assignment by MAC Address ( No Answer,   4 Comments )
Question  
Subject: Gateway Assignment by MAC Address
Category: Computers > Internet
Asked by: chasuk-ga
List Price: $10.00
Posted: 29 Oct 2005 16:35 PDT
Expires: 28 Nov 2005 15:35 PST
Question ID: 586552
I would like to be able to assign gateways based on the MAC address. 
In other words, "approved" MAC addresses would be assigned one set of
gateways, all others would be assigned a different set of gateways.  I
would prefer that this was built-in to the router.  Can anyone suggest
a product which supports this?

Request for Question Clarification by maniac-ga on 30 Oct 2005 09:56 PST
Hello Chasuk,

Just to clarify, the situation you are describing is something like this:

Computers 1, 2, 3, 4, 5 (and so on) connected to a router.
The router has at least two ISPs for access to the internet (A & B).
You want to direct computers 1 & 2 to A and every other computer to B.
[perhaps 1 & 2 are your PCs and the others are guests on your network]

Does this match what you are trying to do or something else?

  --Maniac

Clarification of Question by chasuk-ga on 30 Oct 2005 11:03 PST
Essentially.  The situation is this: an ISP is providing wireless
Internet access to an apartment complex, and wants to allow those in
group 'A' (per your designation) to access the Internet, but restrict
those in group 'B' to a sandbox, filtering these two groups by their
MAC address.

Does that help?
Answer  
There is no answer at this time.

Comments  
Subject: Re: Gateway Assignment by MAC Address
From: zorro_paris-ga on 02 Nov 2005 03:01 PST
 
hello

you can do that with a linux box and dhcpd, which offers MAC-based
gateways and ip assignations.

example in dhcpd.conf :

group {
   option routers                  192.168.1.254;
   option subnet-mask              255.255.255.0;

   host pc1 {
      hardware ethernet 11:22:33:44:55:66; 
   }

   host pc2 {
      hardware ethernet 22:33:44:55:66:77;
   }
}


group {
   option routers                  192.168.1.253;
   option subnet-mask              255.255.255.0;

   host pc1 {
      hardware ethernet 33:44:55:66:77:88; 
   }

   host pc2 {
      hardware ethernet 44:55:66:77:88:99;
   }
}

hope this helps
Subject: Re: Gateway Assignment by MAC Address
From: chasuk-ga on 02 Nov 2005 12:58 PST
 
zorro_paris:

Thank you for your input.  It is very informative, but can it be done
in realtime?

Thanks again!
Subject: Re: Gateway Assignment by MAC Address
From: zorro_paris-ga on 03 Nov 2005 08:23 PST
 
well, you can of course edit the conf file and reload the dhcpd server
in real time ;)
Subject: Re: Gateway Assignment by MAC Address
From: zorro_paris-ga on 03 Nov 2005 09:05 PST
 
you just need a program that will update the conf file for you

i can do it for you if you need ;)

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy