The IP Router of Abilis CPX can manage up to 256 IP resources. The IP configuration of each resource is stored into the routing table.
The available commands for managing the IP resources are the following:
It shows the IP resources table. By omitting the IP resource identifier, the command will show all the resources currently defined.
[08:32:56] ABILIS_CPX:d p ip
RES:Ip-1 - IP over LAN (LAN) --------------------------------------------------
Run DESCR:Lan_locale
OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL
LANRES:Eth-1
IPADD:192.168.000.201 MASK:255.255.255.000
REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:50 OUTQUEUE:FAIR MTU:1500 BRD:NET
OUTSPL:NO
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:YES TRFA-MODE:TOTALS
TRFA-IPADD:LOCALNET (192.168.000.000:192.168.000.255)
- Lan ------------------------------------------------------------------
LOG:NO arpcache:200 CACHETIMER:120
rxbuf:4 txbuf:14
RES:Ip-22 - IP over PPP (PPP) -------------------------------------------------
Run DESCR:UMTS-DATA
OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL
LOWRES:CtiSLink
IPADD:RETRIEVE NEIGH:RETRIEVE
REDIS:EXT HIDE:NO RP:NONE IPSEC:NO VRRP:NO
NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500
OUTSPL:NO
INBUF:0 mru:1500 SRCV:NO
- TRFA section ---------------------------------------------------------
TRFA:NO
- Ppp ------------------------------------------------------------------
LOG:DS NRTY3:NOMAX PPP-ENC:RAW-PPP RADIUS:NO
DT-IN:300 DT-OUT:300 UDT-IN:NOMAX UDT-OUT:NOMAX
- Dial-in --------------------------------------------------------------
DIAL-IN:NO
CGI:* SGI:DISABLED
CDI:* SDI:*
- Dial-out -------------------------------------------------------------
DIAL-OUT:YES RTY:US NRTY:30 NRTY2:3 TB:3
CGO:# SGO:#
CDO:99 SDO:#
- Tcp-MSS/Lcp/IpCp -----------------------------------------------------
TCP-MSS-CLAMP:NO
maxmru:1500 DNS:NO
- Authentication -------------------------------------------------------
USERNAME:
PASSWORD: LOCAL:CHAP,PAP
SERVNAME: REMOTE:NONE
REPEAT:0
RES:Ip-100 - IP virtual (VIRTUAL) ---------------------------------------------
Run DESCR:
OPSTATE:UP IPLOG:NO
P-IP:1
IPADD:192.168.001.101 MASK:255.255.255.000
REDIS:YES HIDE:NO RP:NONE IPSEC:(NO) VRRP:NO
NAT:(OUTSIDE) DIFFSERV:NO DDNS:NO
OUTBUF:100 OUTQUEUE:FAIR MTU:1500 BRD:NET
OUTSPL:NO
Note | |
---|---|
The “Not Saved (SAVE CONF)” message is displayed every time the table is modified but not saved with the save conf command. |
Note | |
---|---|
The “Not Refreshed (INIT)” message is displayed every time the table is modified but not refreshed with the initialization command init res:ip. |
By specifying IP resource identifier, the command will show the definition of the requested port. IP resource identifier must be in the interval [0 - 255]. If does not exist any resource with that identifier, an error message is generated: “RESOURCE NOT PRESENT OR INACTIVE”.
[08:38:13] ABILIS_CPX:d p ip-1
RES:Ip-1 - IP over LAN (LAN) -------------------------------------------------- Run DESCR:Lan_locale OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LANRES:Eth-1 IPADD:192.168.000.201 MASK:255.255.255.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:NO OUTBUF:50 OUTQUEUE:FAIR MTU:1500 BRD:NET OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:YES TRFA-MODE:TOTALS TRFA-IPADD:LOCALNET (192.168.000.000:192.168.000.255) - Lan ------------------------------------------------------------------ LOG:NO arpcache:200 CACHETIMER:120 rxbuf:4 txbuf:14 RES:Eth-1 --------------------------------------------------------------------- Run DESCR: LOG:NO MODE:AUTO DUPLEX:HALF TPPOL:AUTO dma-rxbuf:25 dma-txbuf:25 ip-rxbuf:25 arp-rxbuf:5 pppoed-rxbuf:5 pppoes-rxbuf:25 ieee-rxbuf:25 [14:47:53] ABILIS_CPX:d p ip-10
RESOURCE NOT PRESENT OR INACTIVE
Below the meaning of the most important parameters is shown:
IP over lan section
DESC
Resource description
OPSTATE
Operative state [DOWN, UP]
IPLOG
State changes log and alarm generation [NO, D, S, A, L, T, ALL] [+E] (D: Debug Log; S: System Log; A: Alarm view; L: Local audible alarm; T: SNMP traps; +E: Extended Log of state changes, see ref. manual)
STATE-DETECT
Select IP resource state detection method [NORMAL, PING]: - NORMAL: the state depends on lower interface only. - PING: the state depends on lower interface state and on result of the PING procedure. Enabling the PING procedure, the parameters of PING section are shown.
Refer to chapter Section 64.19, “How to use state detection of IP interfaces” to view a how to.
LANRES
Lower resource [NONE, Eth-XXX, VEth, Tr-XXX]
IPADD
IP address of the IP resource [0-126.x.x.x, 128-223.x.x.x, DHCP]
MASK
Mask [240.0.0.0 - 255.255.255.255]
DHCP-DNS
Retrieve primary and secondary DNS server through DHCP [NO, YES] <Only for IPADD:DHCP>
DHCP-GW
Retrieve default gateway through DHCP [NO, YES] <Only for IPADD:DHCP>
REDIS
Create the related connected routing [NO: no route is created; YES: a destination route is added to IPR table, EXT: a source route is added to IPR table]
NAT
NAT usage [NO, INSIDE, OUTSIDE, VPN, DMZ]
IPSEC
Enable/disable IPSEC [NO, YES]
VRRP
Enable/disable VRRP [NO, YES]
DDNS
Enable/disable DDNS [NO, YES]
OUTSPL
Output speed limitation activation [NO, YES, IPCOS]
OUTSP
Output speed limitation value [64..100000 Kbit/sec] <Only for OUTSPL: not equal to NO>
LOG
State changes log and alarm generation [NO, D, S, A, L, T, ALL] [+E] (D: Debug Log; S: System Log; A: Alarm view; L: Local audible alarm; T: SNMP traps; +E: Extended Log of state changes, see ref. manual)
TRFA section:
TRFA
Enables/disables traffic analysis.
TRFA-MODE
Select traffic analysis mode [TOTALS
:
saves the total global traffic; PROT
:
subdivides the registration for the main protocol models;
IP
: saves the totals for every single IP
address; IP-PROT
: subdivides the traffic by
protocol, for every single crossing IP address];
IP-RESERVE
Reserves records in the traffic analysis data base: it represents the maximum IP number trace.
TRFA-SIDE
Selects IP address type [LOCAL
: filters
the traffic by destination IP address; REMOTE
:
filters the traffic by source IP address].
TRFA-IPADD
IP address filter.
Link section:
LCOMP
Set the compression type to use for an ip resource with subtype AIPT[-BCK], DL[-BCK], ML, BCH. Data Compression is available only under licence.[NO: compression not active, LZO1X: is often the best choice of all, LZO1B: is good with a large blocksize or with very redundant data, LZO1F: s good with a small blocksize or with binary data]
PPP section:
PPP-ENC
Encapsulation type [RAW-PPP, FR-IETF, RFC2364-VCMUX, RFC2364-LLCMUX]
PING section:
Source IP address used for PING request (ECHO REQUEST) [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or "R-ID" or "IPADD".
Ip address of the destination number 1 [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or "#".
Ip address of the destination number 2 [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or "#".
Ip address of the gateway [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or "#".
Timeout for the reply reception (ECHO REPLY) [100..10000 msec].
Number of attempts considered for the state detection [2..50].
Interval between attempts while state is UP [1..60 sec].
Interval between attempts while state is UP [1..60 sec].
Interval between attempts while state is DOWN [1..60 sec].
Percentage of successful attempts to declare state UP [10..100].
Percentage of successful attempts to declare state DOWN [0..90].
Number of requests sent at each attempt [1..10].
Interval between requests pertaining to the same attempt [0..1000 msec].
TTL value when transport layer doesn't provide one [DFT, 1..255].
It adds a new IP resource, identified by “IP-xx”.
Type the following command to display all the available types of IP resource.
[10:16:34] ABILIS_CPX:a res:ip ?
Ip resource subtypes:
X25PVC IP over X.25 Pvc
X25BSVC IP over X.25 Bsvc
LAN IP over LAN
DL IP over Dedicated Line
DL-BCK IP over Dedicated Line with Abilis Back-up
BCH IP over B-Channel
ML IP over Multi-Links
AIPT IP over IP (Abilis tunnel)
AIPT-BCK IP over IP (Abilis tunnel) with Abilis Back-up
PPP IP over PPP
VIRTUAL IP virtual
Some examples follow:
[12:18:12] ABILIS_CPX:a res:ip-10 subtype:lan
COMMAND EXECUTED [12:18:20] ABILIS_CPX:d p ip-10
RES:Ip-10 - Not Saved (SAVE CONF), Not Refreshed (INIT) ----------------------- - IP over LAN (LAN) ---------------------------------------------------- New DESCR: OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LANRES:NONE IPADD:000.000.000.000 MASK:255.255.255.255 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 BRD:NET OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Lan ------------------------------------------------------------------ LOG:NO arpcache:200 CACHETIMER:120 rxbuf:4 txbuf:14 [12:18:23] ABILIS_CPX:a res:ip-11 subtype:aipt
COMMAND EXECUTED [12:22:13] ABILIS_CPX:d p ip-11
RES:Ip-11 - Not Saved (SAVE CONF), Not Refreshed (INIT) ----------------------- - IP over IP (Abilis tunnel) (AIPT) ------------------------------------ New DESCR: OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL FRAG:NO IPADD:000.000.000.000 MASK:255.255.255.255 NEIGH:000.000.000.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:YES LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:STD D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:NO LOCPORT:2111 REMPORT:2100 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:R-ID (192.168.000.201) REMIPADD:# [12:23:06] ABILIS_CPX:a res:ip-12 subtype:dl
COMMAND EXECUTED [12:23:31] ABILIS_CPX:d p ip-12
RES:Ip-12 - Not Saved (SAVE CONF), Not Refreshed (INIT) ----------------------- - IP over Dedicated Line (DL) ------------------------------------------ New DESCR: OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LOWRES:NONE ENC:RAW-IP FRAG:NO IPADD:000.000.000.000 MASK:255.255.255.255 NEIGH:000.000.000.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:NO LCOMP:NO LCR:NO LT1:1000 LT3:3000 LN2:3 LCRKEY:DFT
Caution | |
---|---|
After adding a new IP resource, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). |
It removes the requested IP resource from the IP resources table.
Caution | |
---|---|
It's not possible to remove an IP resource on a running CPX with this command! It's needed to follow this sequence:
|
[08:50:03] ABILIS_CPX:d p ip-5
RES:Ip-5 - IP over IP (Abilis tunnel) (AIPT) ---------------------------------- Run DESCR: OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL FRAG:NO IPADD:000.000.000.000 MASK:255.255.255.255 NEIGH:000.000.000.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:EXT LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:STD D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:YES LOCPORT:2105 REMPORT:2100 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:R-ID (192.168.000.201) REMIPADD:# [08:50:08] ABILIS_CPX:c res:ip-5
COMMAND NOT ALLOWED FOR 'RES:IP-5' BECAUSE IT IS RUNNING [08:55:03] ABILIS_CPX:s inact res:ip-5
COMMAND EXECUTED [08:55:25] ABILIS_CPX:save conf
VALIDATION IN PROGRESS ... VALIDATION SUCCESSFULLY EXECUTED SAVE EXECUTED [15:07:05] ABILIS_CPX:warm start
At next reboot:
[08:58:31] ABILIS_CPX:c res:ip-5
THE SELECTED RESOURCE WILL BE DELETED.
PROCEED (N/Y)?y
THE COMMAND WILL DELETE ALL THE REFERENCES TO THE SELECTED RESOURCE.
PROCEED ANYWAY (N/Y)?y
PROCEEDING WITH RESOURCE DELETION...
COMMAND EXECUTED
Warning | |
---|---|
Deleting an IP resource also its references in IPR, IPACL , IPAD and RIP EXTERNAL will be deleted!! |
It sets the parameters to their new values for the specified IP resource. Parameters of each IP resource can be separately configured depending of the connection.
The syntax of the command is:
s p ip-
[x
par
:val
...]
In the example below description, neighbour IP
(NEIGH
), subnet mask (MASK
),
LOCIPADD
and REMIPADD
parameters
will be modified.
[09:00:43] ABILIS_CPX:d p ip-8
RES:Ip-8 - IP over IP (Abilis tunnel) (AIPT) ---------------------------------- Run DESCR: OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL FRAG:NO IPADD:000.000.000.000 MASK:255.255.255.255 NEIGH:000.000.000.000 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:EXT LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:STD D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:YES LOCPORT:2108 REMPORT:2100 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:R-ID (192.168.000.201) REMIPADD:# [09:01:18] ABILIS_CPX:s p ip-8 descr:To_Abilis_2 neigh:192.168.2.254 mask:255.255.255.0 locipadd:217.1.1.1 remipadd:217.2.2.2
COMMAND EXECUTED [09:01:25] ABILIS_CPX:d p ip-8
RES:Ip-8 - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------ - IP over IP (Abilis tunnel) (AIPT) ------------------------------------ Run DESCR:To_Abilis_2 OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL FRAG:NO IPADD:000.000.000.000 MASK:255.255.255.000 NEIGH:192.168.002.254 REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:NO DIFFSERV:NO DDNS:NO OUTBUF:100 OUTQUEUE:FAIR MTU:1500 OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - TRFA section --------------------------------------------------------- TRFA:NO - Link ----------------------------------------------------------------- LLOG:DS LMPX:EXT LC:YES LCOMP:NO LCR:NO LT1:3000 LT3:9000 LN2:3 LCRKEY:DFT - IP Tunnel ------------------------------------------------------------ TLOG:NO MODE:STD D-TOS:0-N V-TOS:0-D C-TOS:0-D MPX:YES LOCPORT:2108 REMPORT:2100 CR:NO CRKEY:DFT OUT-IP:AUTO LOCIPADD:217.001.001.001 REMIPADD:217.002.002.002
The following paragraphs contain some examples to explain the meaning of REDIS parameter.
The REDIS parameter manages the entry in the IPR table for the specific ip resource. The following table shows the meaning of values:
NO | No entry is created in the IPR table. Creating a route by hand is needed to use the ip resource. |
YES | A destination routing with the IPADD of the IP resource is automatically added in the routing table. |
EXT | A source routing with the IPADD of the IP resource is automatically added in the routing table. |
Note | |
---|---|
REDIS:NO can be always used, but every route must be created by hand. |
Examples:
The parameter REDIS of ip-2 i set to NO, so in the ipr table there's no entry automatically generated and related with this ip address. If you want to use the ip-2 as gateway you must add a route by hand.
[15:34:07] ABILIS_CPX:_d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ---------------------------------------------- - IP over LAN (LAN) ---------------------------------------------------- Run DESCR:WAN OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LANRES:Eth-2 IPADD:DHCP DHCP-GW:YES DHCP-GW-AD:0 DHCP-DNS:YES REDIS:NO HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:YES OUTBUF:100 OUTQUEUE:FAIR MTU:1500 BRD:NET OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - DDNS section --------------------------------------------------------- DDNS-FQDN:abilistest.dyndns.org - TRFA section --------------------------------------------------------- TRFA:YES TRFA-MODE:IP-PROT IP-RESERVE:AUTO TRFA-SIDE:REMOTE TRFA-IPADD:* - Lan ------------------------------------------------------------------ LOG:NO arpcache:200 CACHETIMER:120 rxbuf:4 txbuf:14 RES:Eth-2 --------------------------------------------------------------------- Run DESCR: LOG:NO MODE:AUTO DUPLEX:HALF TPPOL:AUTO dma-rxbuf:250 dma-txbuf:25 ip-rxbuf:25 arp-rxbuf:5 pppoed-rxbuf:5 pppoes-rxbuf:25 ieee-rxbuf:25 [15:34:22] ABILIS_CPX:_d d ip-2
RES:Ip-2 - IP over LAN (LAN) -------------------------------------------------- WAN STATE:UP LINK-STATE:LINKREADY CUR-IPADD:192.168.001.100 CUR-MASK:255.255.255.000 OUTBUF:100 S-OUTBUF:500 CUR-OUTSP:N/A OUTSP-TOUT:N/A INBUF:0 S-INBUF:0 CUR-INSP:N/A INSP-TOUT:N/A - Lan ------------------------------------------------------------------ STATE:LINKREADY ARP-CACHE-ITEMS:1 [15:34:25] ABILIS_CPX:_d ipr
- Not Saved (SAVE CONF) ------------------------------------------------------- Destination routes and conditional source routes: +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |B|P|S|H| NET:/MASK: | MASK: or | GW: or |IP: |AD:| | | | | | | SRNET:/SRMASK: | IPLB: | | | +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |*|C| |*| 127.000.000.001/32 | 255.255.255.255 | |LOOP| 0| |*|C| | | 192.168.030.001/32 | 255.255.255.255 | |R-ID| 0| |*|C| | | 010.000.000.000/29 | 255.255.255.248 | | 12| 0| |*|C| | | 192.168.000.000/24 | 255.255.255.000 | | 11| 0| |*|S| | | 192.168.008.000/24 | 255.255.255.000 | |D 10| 1| |*|C| | | 192.168.030.000/24 | 255.255.255.000 | | 1| 0| +-+-+-+-+--------------------+--------------------+-----------------+----+---+
The parameter REDIS of ip-2 is set to YES, so in the ipr table there's an entry with provenience equal to C (refer to Section 19.2.1, “D IPR (Display IP Routing)”). The route automatically created is a destination route.
[15:38:00] ABILIS_CPX:_d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ---------------------------------------------- - IP over LAN (LAN) ---------------------------------------------------- Run DESCR:WAN OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LANRES:Eth-2 IPADD:DHCP DHCP-GW:YES DHCP-GW-AD:0 DHCP-DNS:YES REDIS:YES HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:YES OUTBUF:100 OUTQUEUE:FAIR MTU:1500 BRD:NET OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - DDNS section --------------------------------------------------------- DDNS-FQDN:abilistest.dyndns.org - TRFA section --------------------------------------------------------- TRFA:YES TRFA-MODE:IP-PROT IP-RESERVE:AUTO TRFA-SIDE:REMOTE TRFA-IPADD:* - Lan ------------------------------------------------------------------ LOG:NO arpcache:200 CACHETIMER:120 rxbuf:4 txbuf:14 RES:Eth-2 --------------------------------------------------------------------- Run DESCR: LOG:NO MODE:AUTO DUPLEX:HALF TPPOL:AUTO dma-rxbuf:250 dma-txbuf:25 ip-rxbuf:25 arp-rxbuf:5 pppoed-rxbuf:5 pppoes-rxbuf:25 ieee-rxbuf:25 [15:38:22] ABILIS_CPX:_d d ip-2
RES:Ip-2 - IP over LAN (LAN) -------------------------------------------------- WAN STATE:UP LINK-STATE:LINKREADY CUR-IPADD:192.168.001.100 CUR-MASK:255.255.255.000 OUTBUF:100 S-OUTBUF:500 CUR-OUTSP:N/A OUTSP-TOUT:N/A INBUF:0 S-INBUF:0 CUR-INSP:N/A INSP-TOUT:N/A - Lan ------------------------------------------------------------------ STATE:LINKREADY ARP-CACHE-ITEMS:1 [15:38:25] ABILIS_CPX:_d ipr
- Not Saved (SAVE CONF) ------------------------------------------------------- Destination routes and conditional source routes: +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |B|P|S|H| NET:/MASK: | MASK: or | GW: or |IP: |AD:| | | | | | | SRNET:/SRMASK: | IPLB: | | | +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |*|C| |*| 127.000.000.001/32 | 255.255.255.255 | |LOOP| 0| |*|C| | | 192.168.030.001/32 | 255.255.255.255 | |R-ID| 0| |*|C| | | 010.000.000.000/29 | 255.255.255.248 | | 12| 0| |*|C| | | 192.168.000.000/24 | 255.255.255.000 | | 11| 0| |*|C| | | 192.168.001.000/24 | 255.255.255.000 | | 2| 0| |*|S| | | 192.168.008.000/24 | 255.255.255.000 | |D 10| 1| |*|C| | | 192.168.030.000/24 | 255.255.255.000 | | 1| 0| |*|C| | | 000.000.000.000/0 | 000.000.000.000 | 192.168.001.001 | 2| 0| +-+-+-+-+--------------------+--------------------+-----------------+----+---+
The parameter REDIS of ip-2 is set to EXT, so in the ipr table there's an entry with provenience equal to C (refer to Section 19.2.1, “D IPR (Display IP Routing)”). Two routes are automatically created: a destination route and a default route for that ip address.
Setting REDIS:EXT is useful to automatically generate a route when using two or more ADSL lines.
[15:27:59] ABILIS_CPX:_d p ip-2
RES:Ip-2 - Not Saved (SAVE CONF) ---------------------------------------------- - IP over LAN (LAN) ---------------------------------------------------- Run DESCR:WAN OPSTATE:UP IPLOG:NO STATE-DETECT:NORMAL LANRES:Eth-2 IPADD:DHCP DHCP-GW:YES DHCP-GW-AD:0 DHCP-DNS:YES REDIS:EXT HIDE:NO RP:NONE IPSEC:NO VRRP:NO NAT:OUTSIDE UPNP:NO DIFFSERV:NO DDNS:YES OUTBUF:100 OUTQUEUE:FAIR MTU:1500 BRD:NET OUTSPL:NO INBUF:0 mru:1500 SRCV:NO - DDNS section --------------------------------------------------------- DDNS-FQDN:abilistest.dyndns.org - TRFA section --------------------------------------------------------- TRFA:YES TRFA-MODE:IP-PROT IP-RESERVE:AUTO TRFA-SIDE:REMOTE TRFA-IPADD:* - Lan ------------------------------------------------------------------ LOG:NO arpcache:200 CACHETIMER:120 rxbuf:4 txbuf:14 RES:Eth-2 --------------------------------------------------------------------- Run DESCR: LOG:NO MODE:AUTO DUPLEX:HALF TPPOL:AUTO dma-rxbuf:250 dma-txbuf:25 ip-rxbuf:25 arp-rxbuf:5 pppoed-rxbuf:5 pppoes-rxbuf:25 ieee-rxbuf:25 [15:28:21] ABILIS_CPX:_d d ip-2
RES:Ip-2 - IP over LAN (LAN) -------------------------------------------------- WAN STATE:UP LINK-STATE:LINKREADY CUR-IPADD:192.168.001.100 CUR-MASK:255.255.255.000 OUTBUF:100 S-OUTBUF:500 CUR-OUTSP:N/A OUTSP-TOUT:N/A INBUF:0 S-INBUF:0 CUR-INSP:N/A INSP-TOUT:N/A - Lan ------------------------------------------------------------------ STATE:LINKREADY ARP-CACHE-ITEMS:1 [15:29:05] ABILIS_CPX:_d ipr
- Not Saved (SAVE CONF) ------------------------------------------------------- Destination routes and conditional source routes: +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |B|P|S|H| NET:/MASK: | MASK: or | GW: or |IP: |AD:| | | | | | | SRNET:/SRMASK: | IPLB: | | | +-+-+-+-+--------------------+--------------------+-----------------+----+---+ |*|C| |*| 127.000.000.001/32 | 255.255.255.255 | |LOOP| 0| |*|C| | | 192.168.030.001/32 | 255.255.255.255 | |R-ID| 0| |*|C| | | 010.000.000.000/29 | 255.255.255.248 | | 12| 0| |*|C| | | 192.168.000.000/24 | 255.255.255.000 | | 11| 0| |*|C| | | 192.168.001.000/24 | 255.255.255.000 | | 2| 0| |*|S| | | 192.168.008.000/24 | 255.255.255.000 | |D 10| 1| |*|C| | | 192.168.030.000/24 | 255.255.255.000 | | 1| 0| |*|C| | | 000.000.000.000/0 | 000.000.000.000 | 192.168.001.001 | 2| 0| | |C| | | |[192.168.001.100/32]| 192.168.001.001 | 2| | +-+-+-+-+--------------------+--------------------+-----------------+----+---+