Class IPv4Route
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual IPv4 route found within an IPv4 routing table.
public class IPv4Route : GlobalSerializableClassicBase
- Inheritance
-
IPv4Route
Constructors
IPv4Route()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.IPv4Route class.
public IPv4Route()
Properties
Age
Gets or sets the age of the route learned in seconds. This does not apply when reading routes on Windows machines using PowerShell.
public ulong Age { get; set; }
Property Value
Destination
Gets or sets the destination address of this route - for example "159.1.0.0".
public string Destination { get; set; }
Property Value
InterfaceIndex
Gets or sets the index of the interface to be used for this route.
public int InterfaceIndex { get; set; }
Property Value
Mask
Gets or sets the subnet mask for the route's desination - for example "255.255.0.0".
public string Mask { get; set; }
Property Value
Metric
Gets or sets the metric for this route.
public int Metric { get; set; }
Property Value
NextHop
Gets or sets the IP address of the gateway for this route.
public string NextHop { get; set; }
Property Value
Protocol
Gets or sets the routing protocol used to discover this route.
public IPv4Protocol Protocol { get; set; }
Property Value
ProtocolString
Gets or sets the routing protocol as a human readable string.
public string ProtocolString { get; set; }
Property Value
RouteID
Gets the unique ID of the route, used by the DataComparer.
public string RouteID { get; }
Property Value
ValidLifetime
Gets the valid lifetime of the route. This only applies when reading routes on Windows machines using PowerShell.
public TimeSpan ValidLifetime { get; }
Property Value
Remarks
This property must use the ValidLifetimeTicks backing property as the TimeSpan class cannot be serialized.
ValidLifetimeTicks
Gets or sets the valid lifetime of the route. This only applies when reading routes on Windows machines using PowerShell.
public long ValidLifetimeTicks { get; set; }
Property Value
Methods
ToString()
Returns the route as a human readable string.
public override string ToString()
Returns
- string
The route as a human readable string.