SOCKETS TCP/IP Stack
87
E-EQ-MX1ISRG-F
MX1 I-Safe Reference Guide
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
metri
c.
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
Summary of Contents for MX1-IS
Page 38: ...28 Miscellaneous Connectors MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 42: ...32 Handling Batteries Safely MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 124: ...114 Numeric Alpha Key Map 41 Key MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 156: ...146 ROM DOS 6 22 Command Summary MX1 I Safe Reference Guide E EQ MX1ISRG F...
Page 164: ...154 Index MX1 I Safe Reference Guide E EQ MX1ISRG F...