This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

DHCP crash with Novell Server



Hi All,

I've got an eCos app that uses the standard eCos DHCP support
task.  It works great with the Linux DHCP server -- renewing
the lease when it should. 

However, when used with a Novell Netware 5.0 server it crashes
(the board resets) when the IP lease expires (600 seconds in
the example below).

The code I'm using is a cvs snapshot from a few months back,
but a cvs diff against "HEAD" doesn't show significant changes.

Any ideas where I should start looking?


Things I've noticed about the Novell server that are different
than the Linux server:

  1.  Novell server doesn't send T1 renewal time (option 58)
  2.  Novell server doesn't send T2 rebind time (option 59)


Below is the DHCP Chatter from the initial DHCP negotiation
with the Novell NW5.0 Server:

---------DHCPSTATE_INIT sending:
BOOTP[eth0] op: REQUEST
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x2793BE
        secs: 0
       flags: 0x8000
       hw_addr: 00:C0:4E:0B:FF:F9
     client IP: 0.0.0.0
         my IP: 0.0.0.0
     server IP: 0.0.0.0
    gateway IP: 0.0.0.0
  options:
        DHCP message: 1 DISCOVER
        DHCP option: 39/57.2: 576
---------DHCPSTATE_SELECTING received:
...rx_addr is family 2, addr 0A000003, port 67
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x2793BE
        secs: 0
       flags: 0x8000
       hw_addr: 00:C0:4E:0B:FF:F9
     client IP: 0.0.0.0
         my IP: 10.0.0.15
     server IP: 0.0.0.0
    gateway IP: 0.0.0.0
  options:
        DHCP message: 2 OFFER
        DHCP server id: 10.0.0.3
        DHCP time 51: 600
        subnet mask: 255.0.0.0
---------DHCPSTATE_REQUESTING sending:
BOOTP[eth0] op: REQUEST
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x2793BE
        secs: 0
       flags: 0x8000
       hw_addr: 00:C0:4E:0B:FF:F9
     client IP: 0.0.0.0
         my IP: 10.0.0.15
     server IP: 10.0.0.3
    gateway IP: 0.0.0.0
  options:
        DHCP message: 3 REQUEST
        DHCP server id: 10.0.0.3
        DHCP time 51: 600
        subnet mask: 255.0.0.0
        DHCP option: 39/57.2: 576
        DHCP requested ip: 10.0.0.15
---------DHCPSTATE_REQUEST_RECV received:
...rx_addr is family 2, addr 0A000003, port 67
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x2793BE
        secs: 0
       flags: 0x8000
       hw_addr: 00:C0:4E:0B:FF:F9
     client IP: 0.0.0.0
         my IP: 10.0.0.15
     server IP: 10.0.0.3
    gateway IP: 0.0.0.0
  options:
        DHCP message: 5 ACK
        DHCP server id: 10.0.0.3
        DHCP time 51: 600
        subnet mask: 255.0.0.0
            gateway: 10.0.0.1
        domain name: domain-foo
ks32c5000_eth_stop()
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x2793BE
        secs: 0
       flags: 0x8000
       hw_addr: 00:C0:4E:0B:FF:F9
     client IP: 0.0.0.0
         my IP: 10.0.0.15
     server IP: 10.0.0.3
    gateway IP: 0.0.0.0
  options:
        DHCP message: 5 ACK
        DHCP server id: 10.0.0.3
        DHCP time 51: 600
        subnet mask: 255.0.0.0
            gateway: 10.0.0.1
        domain name: domain-foo
ks32c5000_eth_start()


-- 
Grant Edwards
grante@visi.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]