dhcp3-server (ubuntu) over non-default interface only

This is a discussion on dhcp3-server (ubuntu) over non-default interface only within the Linux Networking forums, part of the Linux Forums category; I'm trying to set up a dhcp3-server package right now on a ubuntu server in a setting right ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-20-2008
Damon Getsman
 
Posts: n/a
Default dhcp3-server (ubuntu) over non-default interface only

I'm trying to set up a dhcp3-server package right now on a ubuntu
server in a setting right now where the server uses its default route
to access a WAN and internet, and then only serves dhcp to its own LAN
over the non-default interface. Basically the reason that I needed to
do it this way is because there is already a dhcp server on the main
WAN, but I need to set up a PXE booting service on a small LAN apart
from that for testing purposes.

Is there any specific manner in /etc/dhcp3/dhcpd.conf that I can
specify to only provide the dhcp service on the non-default
interface? I haven't been able to find anything googling or in the
dhcp3 docs yet.

Thanks in advance

-Damon Getsman
Reply With Quote
  #2 (permalink)  
Old 05-21-2008
Robert Harris
 
Posts: n/a
Default Re: dhcp3-server (ubuntu) over non-default interface only

Damon Getsman wrote:
> I'm trying to set up a dhcp3-server package right now on a ubuntu
> server in a setting right now where the server uses its default route
> to access a WAN and internet, and then only serves dhcp to its own LAN
> over the non-default interface. Basically the reason that I needed to
> do it this way is because there is already a dhcp server on the main
> WAN, but I need to set up a PXE booting service on a small LAN apart
> from that for testing purposes.
>
> Is there any specific manner in /etc/dhcp3/dhcpd.conf that I can
> specify to only provide the dhcp service on the non-default
> interface? I haven't been able to find anything googling or in the
> dhcp3 docs yet.
>
> Thanks in advance
>
> -Damon Getsman


You need a "subnet" line somewhere, like:

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.99
option routers 192.168.1.1
option broadcast-address 192.168.1.255
}

Your kernel routing table will have to know how to reach different IP
addresses.

Robert
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0