LXE MX1-IS Reference Manual page 97

Intrinsically safe
Hide thumbs Also See for MX1-IS:
Table of Contents

Advertisement

SOCKETS TCP/IP Stack
ifname
ifname defines the name used in the interface command for the immediate network on which the
data for the designated host must be sent. This is the network level interface to be used by the
local host to reach the remote host.
gateid
gateid parameter specifies the IP address of a host, on the same physical network as the local host,
which is used as a gateway or router to a different network. The gateway or router host specified
in gateid must be directly reachable on the same physical network as the local host defining this
gateway. In other words, this must be the nearest gateway to this local host.
metric
When using RIP or Proxy ARP a value from 0 to 16 for metric must be specified indicating the
distance or cost of that route. A metric of 16 indicates that the route is down.
proxy, private and static
To support the Routing Information Protocol (RIP) the route command utilizes the proxy, private
and static key words. These words can be used in any order following metric.
Proxy ARP should be used with care and not in conjunction with RIP. When more than one host
responds to an ARP request, it can cause confusion and even lead to system crashes. This is
possible in situations where more than one gateway implements Proxy ARP to a common
destination.
When "RIP advertising" is selected, all interfaces advertise all routes except those routes making
use of that specific interface (split horizon) and routes marked private. A route which is dropped
as a result of a RIP update or which becomes unavailable as a result if its associated interface
going into the down state, is immediately advertised as being infinite (metric = 16) and is not
advertised until it becomes available again. In order for an interface to be used for advertising, a
route without a gateway using that interface must be available. The advertisement is sent as a sub-
net broadcast using the net mask of the host and the IP address of the interface.
When "RIP using" is selected, routes are updated according to received RIP advertisements.
Routes added or amended as a result of RIP, have a timeout associated with them. If another RIP
advertisement is not received during that time, the route is dropped. A route is also dropped if an
advertisement of infinity (metric = 16) is received. To prevent dropping a route, it must be marked
as static. The metric of a route marked static is never updated by a RIP advertisement. Instead a
duplicate route is added before the static route. If the duplicate route is dropped as a result of a
timeout or RIP, the static route is used again.
Examples
route add default ipx0
route add unix_net eth0
route add unix_host ipx1 unx_gate
route add unix_net2 eth0 /eth 1
route add unix_ net ipx0 unx_ gate
route add subnet/26 eth0 sub_gw
route drop unix_net
route can specify a Proxy ARP on a route, as follows:
route add net interface gateway metric [proxy]
When using Proxy ARP, gateway and metric must be specified. If no gateway is used, none can
be specified. For example:
route add 192.6.1.0 ifx25 none 5 proxy
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
87

Advertisement

Table of Contents
loading

Table of Contents