I need to add static routes for entire range for VPN access.
Initially, I thought I would need an entry for each IP.
But if the 4th byte is a 0, this will give the entire range.
This can be accomplished with one static route.
Is this correct?
 ADDTCPRTE RTEDEST('9.5.11.0') SUBNETMASK(*HOST) NEXTHOP('a.b.c.d') BINDIFC('x.w.y.z') TEXT('VPN for range .1 thru .254').
For an IPv4 route, you must specify all 4 bytes that make up an    
internet address though some of the bytes may be equal to 0.  For  
example, a route to all the hosts on the 9.5.11 subnetwork is      
identified by entering 9.5.11.0 for the route destination.  Used in
combination with a subnetmask, type of service value, and next hop,
the route destination uniquely identifies a route to a network or  
system.   
 Thank You
_____
Paul Steinmetz 
IBM i Systems Administrator 
Pencor Services, Inc. 
462 Delaware Ave 
Palmerton Pa 18071 
610-826-9117 work 
610-826-9188 fax 
610-349-0913 cell 
610-377-6012 home 
psteinmetz@xxxxxxxxxx 
http://www.pencor.com/
                               
 
As an Amazon Associate we earn from qualifying purchases.