org.apache.directory.server.dhcp.options.perinterface
Class StaticRoute

java.lang.Object
  extended by org.apache.directory.server.dhcp.options.DhcpOption
      extended by org.apache.directory.server.dhcp.options.perinterface.StaticRoute

public class StaticRoute
extends DhcpOption

This option specifies a list of static routes that the client should install in its routing cache. If multiple routes to the same destination are specified, they are listed in descending order of priority. The routes consist of a list of IP address pairs. The first address is the destination address, and the second address is the router for the destination. The default route (0.0.0.0) is an illegal destination for a static route. See section 3.5 for information about the router option. The code for this option is 33. The minimum length of this option is 8, and the length MUST be a multiple of 8.

Version:
$Rev: 638228 $, $Date: 2008-03-18 07:12:41 +0100 (Di, 18 M??r 2008) $
Author:
Apache Directory Project

Constructor Summary
StaticRoute()
           
 
Method Summary
 byte getTag()
          Get the option's code tag.
 
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption
getClassByTag, getData, getTagByClass, setData, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticRoute

public StaticRoute()
Method Detail

getTag

public byte getTag()
Description copied from class: DhcpOption
Get the option's code tag.

Specified by:
getTag in class DhcpOption
Returns:
byte


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.