home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,521 of 14,669   
   Simon Richter to All   
   DHCP: Server not on subnet, is that allo   
   14 Jun 10 14:54:48   
   
   From: Simon.Richter@hogyros.de   
      
   Hi,   
      
   I'm hacking a small DHCP server for fun and profit, and have been   
   testing with various client implementations, and I wonder what would be   
   the correct behaviour for a server that has been told to hand out   
   addresses for a subnet it has no local IP address in.   
      
   In principle, such a setup is allowed if a relay agent is used, so I   
   cannot forbid it outright, however I can not configure clients in the   
   local network in this way, as I cannot determine any value to use as the   
   server ID (since it is supposed to be an address reachable from the   
   client), and table 3 in RFC2131 claims that the ID is mandatory.   
      
   The ISC client does the right thing if the server ID option is omitted   
   from the reply (it checks whether the siaddr is reachable, and unicasts   
   renew requests if it is, and broadcasts if it is not), but acts less   
   intelligent if an ID is present (does nothing because the server is   
   unreachable until it falls back to REBINDING state). On the other hand,   
   uDHCPc ignores any message that lacks a server ID.   
      
   I'm wondering which is the correct behaviour here. Can I have clients on   
   the local network that can contact the server only via a broadcast, or   
   would I have to filter out direct requests for networks the server has   
   no address configured for?   
      
       Simon   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca