Menu

Configuration for bootp client

Help
jacky
2006-11-01
2013-03-12
  • jacky

    jacky - 2006-11-01

    Hi,

    I just downloaded the latest version and tried to configure the program so that my printer (with HP Jetdirect) get an IP address via bootp. But the printer does not get an IP.
    I tried several configurations. Does anyone know to set this up?

    After starting it looks like:

    Starting DNS Service..
    Starting DHCP Service..

    Forwarding DNS Servers: 192.168.178.1
    DHCP Ranges: 192.168.178.205 - 192.168.178.230
    Static Interface in DHCP Range Network: none found
    Default Gateways:
    DNS Service Permitted Hosts:
    192.168.178.205 - 192.168.178.230
    Server Name: mycopm-01
    Local Zone: workgroup (authorized)
    Max Lease Time/Expiry: 36000 (sec)
    Listening On: 0.0.0.0

    Accepting requests..

    The MAC address is 08:00:09:9e:42:2c and it should get the IP 192.168.178.211.

    It tried it with:

    [STATIC-HOSTS]
    08:00:09:9e:42:2c=192.168.178.211

    also:

    [STATIC-HOSTS]
    192.168.178.211=08:00:09:9e:42:2c

    also:

    [192.168.178.211]
    Hardware_Addr=08:00:09:9e:42:2c

    Probably it is only a small configuration issue.

    Jacky

     
    • Achal Dhir

      Achal Dhir - 2006-11-02

      Output line:-
      <u>Static Interface in DHCP Range Network: none found</u>
      hints that the interface or server, which listens DHCP Requests is out of network range. For class C network, this interface should have static IP address b/w 192.168.178.1 - 192.168.178.254, which is not the case for your server. This version does not support BOOTP relay agent and DHCP server has to be on physical subnet 192.168.178.0 it self.

       
    • jacky

      jacky - 2006-11-03

      Hi,

      thanks for your post.
      I do not understand "This version does not support BOOTP relay agent ". Does this mean this version does not support BOOTP at all? Or only in this "configuration"?
      Sorry for this questions, but I do not understand "Relay agent" in this configuration.

      Anyway, I changed the NIC to a static IP Adress and disables DNS. The output is now:

      Starting DHCP Service..

      DNS Servers:
      DHCP Ranges: 192.168.178.5 - 192.168.178.230
      Static Interface in DHCP Range Network: 192.168.178.10/255.255.255.0
      Default Gateways: 192.168.178.1
      Server Name: myhost-01
      Local Zone: workgroup (authorized)
      Max Lease Time/Expiry: 36000 (sec)
      Listening On: 192.168.178.10

      Accepting requests..

      When I start my JetDirect box I do not see any new info in the in the startup window of the Dual Server. Should I see the incoming BOOTP request? The JetDirect Box does not get an IP.

      Jacky

       
    • Achal Dhir

      Achal Dhir - 2006-11-03

      This should work and you should see message like
      XXX.XXX.XXX.XXX alotted to XXXX for 36000 seconds

      You need not worry about BOOTP relay agents. The concept is when the network is divided into multiple subnets, then the DHCP server on different subnet wont alot adress to computer on different subnet (as UDP packet dont travel across subnets). Then BOOTP relay agent is required then. Your DHCP server and client being on same subnet (there is no router in-between), BOOTP relay agent is not required.

      Sorry for confusing you.

      You also need following for static IP address somewhere in config file.

      [192.168.178.211]
      Hardware_Addr=08:00:09:9e:42:2c

      Now I wonder why it does not work now ?. Try to get IP for some other computer, with TCP/IP set to "Get IP address automatically". Or use etherreal to look into the packets, does printer make a request for IP Address. It should broadcase "DISCOVER" message and should get back "OFFER" from DualServer.

      Let me know what happens.

       
    • jacky

      jacky - 2006-11-04

      I setup my Laptop to use this DHCP server and this works fine.
      I see:
      Host myhost01 alotted 192.168.178.5 for 36000 seconds

      Also with Etherreal I can see the DHCP Discover and DHCP Offer actions.

      But still the printer does not get the IP via bootp.
      I setup Ethereal on that machine and I can see the BOOTP request of the printer:

      33 15.246619 0.0.0.0 255.255.255.255 BOOTP Request from 08:00:09:9e:42:2c (HP_9e:42:2c)

      Jacky

       
    • jacky

      jacky - 2006-11-04

      Unfurtunately the forum does not support a file upload. I have a screenshot of the BOOTP request if it would help.

       
    • Achal Dhir

      Achal Dhir - 2006-11-09

      You can sent it to achaldhir@gmail.com

      Thanks

       
    • Achal Dhir

      Achal Dhir - 2006-11-16

      Thanks for sending the useful info. The printer uses BootP rather than DHCP. This version does not support BootP, but does support PXE Boot, both words have different meaning and got mixed up in Description. Next version, due already, will have Bootp support (only Static IPs) for Bootp Clients.

       
    • jacky

      jacky - 2006-11-19

      Sounds good.

      Thanks

      Jacky

       
    • Achal Dhir

      Achal Dhir - 2006-11-20

      Hey Jacky,

      Can you please download and try version 4.0, it should work. You can delete Network Section and put the following in the end

      [08:00:09:9e:42:2c]
      IP_Addr=192.168.178.211

      You dont need any other section.

      Thanks
      Achal

       
    • jacky

      jacky - 2006-11-21

      Hi,

      one step further!

      Now it it possible to assign the printers an ip adress, subnetmask, and router.  But the printers do not initialize the card completely. I could not access them.

      I dived a little bit into the bootp bits and made lots of tests.

      The outcome seems to be the following:

      I tested with two different JetDirect boxes. Both report the same error:

      BAD BOOTP TAG SIZE
      T15 : 9

      With Ethereal I could see that the Dual Server sends:

      Option 15: Domain Name = "workgroup"

      "workgroup" has 9 chars and so the syntax seems to be OK. When I change the domain name in the configuration to "QR" then the printer reports the error:

      T15 : 2

      Quite consequent because "QR" has 2 chars.
      So I think the Jetdirect boxes do not like the tag with number 15.
      I made serveral tests to get rid of the tag but I was not able to disable the tag 15 to be sent to the client.

      Jacky

       
    • jacky

      jacky - 2006-11-21

      Hi again,

      I made further tests and could see the the error is displayed only for the last option which is sent by the Dual server. It doesn't seem to depend on the option 15.

      I reordered the configuration like:

      [08:00:09:40:aa:62]
      IP_Addr=192.168.178.205
      Subnet_Mask=255.255.255.0
      15=2e
      51=00:09:3a:80
      06=c0:a8:b2:d2
      Router=192.168.178.1

      And now the printer reports:

      BAD BOOTP TAG SIZE
      T3 : 4

      And option 3 is "Router"! The last one.

      Jacky

       

Log in to post a comment.