On Sat, Dec 5, 2009 at 3:33 PM, Dave <[email protected]> wrote:

>
> Is this config file anywhere close to being correct? I have questions
> about:
>
>    - domain-name-servers
>    - option root-path
>    - option broadcast-address
>    - option routers
>
> I'm not sure of the values that go in those options.
>
> $ cat /etc/dhcp3/dhcpd.conf
> ddns-update-style none;
>
> option domain-name "my-example.com";
> #option domain-name-servers ????????????; #how do I assign my ISP's name
> servers dynamically?
>
> default-lease-time 604800;
> max-lease-time 2419200;
>
> #authoritative;
>
> # 2009.12.05 DS from
> http://www.basicconfig.com/linuxnetwork/configure_dhcp_server_ubuntu
> subnet 192.168.2.0 netmask 255.255.255.0 {
>     option domain-name "my-example.com";
>     option broadcast-address 192.168.2.251; #my Netgear router
>     option subnet-mask 255.255.255.0;
>     option routers 192.168.2.251; #my Netgear router
>     range 192.168.2.125 192.168.2.200; # No comma, just whitespace
> }
>
> group {
>   next-server 192.168.2.7; # IP address of your TFTP server
>     host mvp
>     {
>      # NOTE: Change the hardware ethernet to the MAC address of your actual
> MVP
>     hardware ethernet 00:xx:ae:xx:a2:xb;
>     fixed-address 192.168.2.13;
>     filename "mvp.bin";
>     option root-path "/tftpboot,rsize=4096,wsize=4096,nolock"; #what path
> goes here???
>     }
> }
>
> log-facility local7;
>
>
Looks like it is partially working:
Dec  5 15:44:38 myMythBE dhcpd: Wrote 0 deleted host decls to leases file.
Dec  5 15:44:38 myMythBE dhcpd: Wrote 0 new dynamic host decls to leases
file.
Dec  5 15:44:38 myMythBE dhcpd: Wrote 0 leases to leases file.
Dec  5 15:47:05 myMythBE dhcpd: DHCPDISCOVER from 00:xx:fe:00:xx:xx via eth0
Dec  5 15:47:06 myMythBE dhcpd: DHCPOFFER on 192.168.2.200 to
00:xx:fe:00:xx:xx via eth0
Dec  5 15:47:23 myMythBE dhcpd: DHCPDISCOVER from 00:xx:fe:00:xx:xx via eth0
Dec  5 15:47:23 myMythBE dhcpd: DHCPOFFER on 192.168.2.200 to
00:xx:fe:00:xx:xx via eth0

But there is nothing in the logs from the tftp server, so something still
isn't right.
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to