[TriLUG] dhcrelay troubles

chris at bullocksbarn.com chris at bullocksbarn.com
Mon Mar 1 11:18:42 EST 2004


So are you saying that for all of the subnets you must have an alias on
the dhcp server.  I have been struggling with relaying dhcp for a while
now without a fix.  I have 5 subnets seperated by a router running
dhcrelay.  By what you are saying, I have to put an alias on my dhcp
server to serve up dhcp, is this correct?
--chris


On Mon, Mar 01, 2004 at 06:36:32AM -0500, Aaron S. Joyner wrote:
> I'm not sure what dhcpd server Mandrake 9.2 comes with, but I would make 
> a rough guess that it's ISC-DHCPd, although given the nature of your 
> question perhaps not.  With ISC-DHCPd you need simply to assign two 
> appropriate IP addresses to the ethernet devices (ala 192.168.0.x and 
> 192.168.3.x), and then define two different subnet declarations, 
> something as such:
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>  range 192.168.0.100 192.168.0.250;
>  default-lease-time 2592000;
>  option subnet-mask 255.255.255.0;
>  option broadcast-address 192.168.0.255;
>  option routers 192.168.0.1;
>  option domain-name-servers 192.168.0.1, 10.0.6.1;
>  option domain-name "example.com";
>  option netbios-name-servers 192.168.0.1, 10.0.6.1, 10.0.2.1;
> }
> 
> subnet 192.168.3.0 netmask 255.255.255.0 {
>  range 192.168.3.100 192.168.3.250;
>  default-lease-time 2592000;
>  option subnet-mask 255.255.255.0;
>  option broadcast-address 192.168.3.255;
>  option routers 192.168.3.1;
>  option domain-name-servers 192.168.3.1, 10.0.6.1;
>  option domain-name "wireless.example.com";
>  option netbios-name-servers 192.168.3.1, 10.0.6.1, 10.0.2.1;
> }
> 
> The appropriate addresses will then be served for the appropriate 
> adapters, and dhcrelay need not be involved.
> 
> Hope that helps!
> Aaron Joyner
> 
> 
> 
> 
> -- 
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc



More information about the TriLUG mailing list