Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcp3-server (ubuntu) over non-default interface only

Reply
Thread Tools Display Modes

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

 
 
Damon Getsman
Guest
Posts: n/a

 
      05-20-2008, 09:06 PM
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
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      05-21-2008, 08:10 AM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost default gateway problem with Bonded interface bc9ams@gmail.com Linux Networking 0 07-04-2007 01:12 PM
Home server Ubuntu T.guetzkow@gmx.net Linux Networking 6 05-03-2006 04:02 PM
Multiple default routes - sorting by interface priority =?UTF-8?B?TGFzc2UgS8Okcmtrw6RpbmVuIC8gVHJvbmlj?= Linux Networking 2 03-05-2006 11:02 AM
Local DDNS with Bind9, DHCP3, and Ubuntu...so close! Cyphos Linux Networking 1 01-08-2006 12:51 PM
IP Alias default outgoing interface? agentbullvi@gmail.com Linux Networking 3 12-28-2005 06:25 PM



1 2 3 4 5 6 7 8 9 10 11