A SERVICE OF

logo

Radio PC Card Configuration 49
E-EQ-MX2RG-L-ARC MX2 Reference Guide
An interface enters the up state by a Sockets command or when valid input is received on that
interface when in the down or query states. An ICMP echo request is sent on an interface in the
down state every down-time period. If a down-time has never been specified or a value of 0 is
specified, the ICMP echo request will not be sent. Up-time and down-time is specified in seconds.
Syntax
param ifname [ uptime | downtime ] time
param ifname query hostname
Example Alternative Routing
Two X.25 interfaces are used to get to the target network 192.6.1.0. The first interface, named if0
should preferably be used, but if it stops receiving for a period of 20 seconds, it should try to ping
192.6.1.2 and if no response is received within another 20 seconds, if1 should take over, but if0
should be tried every five seconds. Interface if1 should disconnect after 80 seconds of no traffic.
The SOCKET.CFG file should contain the following:
interface x25 if0 ... ... ...
param if0 uptime 20
param if0 downtime 5
param if0 query 192.6.1.2
interface x25 if1 ... ... ...
param if1 uptime 80
param if1 downtime 5
param if1 query 192.6.1.2
route add 192.6.1.0 if0
route add 192.6.1.0 if1
In the case of both if0 and if1 failing, both are tried every five seconds until one comes up. The
return paths should also be maintained in a similar way with Sockets or by using RIP.
param, RIP Advertising Sub-command for Interfaces
When the rip advertise command has been used, this param sub-command makes allowance to
disable and re-enable RIP advertising on a specific interface.
Syntax
param ifname [ ripadv | noripadv ]
Examples
param if0 noripadv
param if1 ripadv
route
route creates an entry in the IP routing table for Sockets to determine where to send data. The
Alternative Routing mechanism allows more than one route to be specified to a particular host or
network. Failure of one route causes an automatic switch to the next route.
Refer also to the ip address command for specifying the net mask, because a route is automatically
added to each interface for the default or specified net mask for that address. When multiple
routes are defined to the same address, Sockets uses the route with the network size (largest
number of bits in the net mask).