Subject: Re: CSI's TCP/IP ROUTEs
From: Ed Franks (ewf@e-vse.com)
Date: Wed Nov 11 2009 - 14:37:23 EST
You can define a different subnet mask for each network. For example:
define mask,network=10.0.0.0,mask=255.255.255.128
A "query masks" will show:
F4 0096 IPN253I << TCP/IP Network Masks >>
F4 0096 IPN575I Network: 10.0.0.0 (10) Mask: 255.255.255.128
F4 0096 IPN575I Network: 127.0.0.0 (127) Mask: 255.0.0.0
F4 0096 IPN575I Network: Default (--) Mask: 255.255.255.0
The "127" network is used internally and the "default" is
established by "SET MASK="
Your DEFINE ROUTE will then show:
DEFINE ROUTE,ID=AILVSWT,LINKID=AILVSW0,IPADDR=010.001.020.128
ID: AILVSWT Link ID: AILVSW0
IP Address: 10.1.20.128 Mask: 255.255.255.0
Net: 10.0.0.0 Subnet: 0.1.20.128 Host: --
MTU: 0 Max Seg: 32684 Pulse: 60s
SYN Retran: 1000ms Data Retran: 1000ms Fixed: No
Retran Min: 500ms Max: 2000ms
Retry Delay: 500ms Retries 50
RWin: 65535
I note that the "Mask:" field is being incorrectly displayed (the
default is shown). However, you will also see that the Net:
Subnet: and Host: fields are as intended. In fact, to verify that the
IP address is being correctly decomposed and routed:
q route,ip=10.1.20.129
<< TCP/IP Routes >>
IP Address: 10.1.20.129 Mask: 255.255.255.128
Net: 10.0.0.0 Subnet: 0.1.20.128 Host: 0.0.0.1
ID: AILVSWT Link ID: AILVSW0, 0
IP Address: 10.1.20.128 Mask: 255.255.255.128
Net: 10.0.0.0 Subnet: 0.1.20.128 Host: --
MTU: 0 Max Seg: 32684 Pulse: 60s
SYN Retran: 1000ms Data Retran: 1000ms Fixed: No
Retran Min: 500ms Max: 2000ms
Retry Delay: 500ms Retries 50
RWin: 65535
Ed Franks
CSI
Frank M. Ramaekers wrote:
> I'm having some trouble define the ROUTEs for a subnetted network.
>
> Host (10.1.20.2) --OSA-X(default)---> everything else (gateway 10.1.1.1
> \
> \ VSWITCH (internal only network)
> \
> Subnet 10.1.20.128 (net) 255.255.255.128 (mask) 10.1.20.200
> (subnet)
>
> The DEFINE ROUTE won't allow a MASK specification, so it's assuming a
> class B:
>
> DEFINE ROUTE,ID=AILVSWT,LINKID=AILVSW0,IPADDR=010.001.020.128
> ID: AILVSWT Link ID: AILVSW0
> IP Address: 10.1.20.128 Mask: 255.255.0.0
> Net: 10.0.0.0 Subnet: 0.1.0.0 Host: 0.0.20.128
> MTU: 0 Max Seg: 65495 Pulse: 60s
> SYN Retran: 1000ms Data Retran: 1000ms Fixed: No
> Retran Min: 500ms Max: 2000ms
> Retry Delay: 500ms Retries 50
> RWin: 65535
>
> Frank M. Ramaekers Jr.
> Systems Programmer MCP, MCP+I, MCSE & RHCE
> American Income Life Insurance Co. Phone: (254)761-6649
> 1200 Wooded Acres Dr. Fax: (254)741-5777
> Waco, Texas 76710
>
>
>
>
>
>
> _____________________________________________________
>
> This message contains information which is privileged and confidential and is solely for the use of the
>
> intended recipient. If you are not the intended recipient, be aware that any review, disclosure,
>
> copying, distribution, or use of the contents of this message is strictly prohibited. If you have
>
> received this in error, please destroy it immediately and notify us at PrivacyAct@ailife.com.
>
>
This archive was generated by hypermail 2b25 : Tue Nov 24 2009 - 16:05:07 EST