Route Object
A-38
so that Ethernet peers can communicate via ARP. An alternative would be
to assign an alternate subnet to PPP clients.
-
FLG_RTE_CLONING – “Cloning” route to a local IP subnet
When set, indicates that the network route is a cloning route. Cloning
routes clone (spawn to) host routes when a route search is performed on a
host address that is a member of the cloning route’s network (via address
and subnet mask). Cloned host routes take on most of the properties of
their parent network route, with the following alterations:
J
Any MODIFIED or DYNAMIC flags are cleared.
J
The STATIC flag is never set.
J
The HOST flag is set and the netmask is set to 1s.
J
The CLONING flag is cleared.
Note: Cloning routes are routes to a “network” (IP and subnet). These
routes are added automatically when an IP network is added to a device
via a Bind object. Take care when adding this type of route manually.
-
FLG_RTE_HOST – Host route (no subnet mask)
When set, indicates that the route entry is a host route. A host route has no
subnet mask (or rather a subnet mask of all 1s). When searching for a
route, host routes always match before network routes (but this behavior
can be overridden).
-
FLG_RTE_GATEWAY – Destination is available via a Gateway
When set, indicates that the host or network route is indirectly accessible
via an IP gateway. For a route with this flag set, the GateIP address is al-
ways valid. Most GATEWAY routes will also be network routes, however a
host redirect from ICMP can create a host route with a different gateway
than its parent route. When searching for a route, gateway routes always
match before host routes (but this behavior can be overridden).
-
FLG_RTE_IFLOCAL – IP address is Local to the stack
When set, indicates that the host route does not have a valid LLI (ARP)
entry because the host is local to the stack. The MAC address of this local
IP host address can be obtained from the interface handle associated with
the route.
Note: Local routes are in the routing table to route packets that originate in
the stack’s upper layers. When handling ARP requests and routing of in-
coming packets from outside the stack, the IP address list published via
the Bind object is used. ARP will not respond to, nor IP accept packets ad-
dressed to an IP address which is not in the Bind list, even if an IFLOCAL
address entry exists in the route table. As with a cloning route, the Bind
object is the best way to create a local route.