Chris,
Worked great, one route for entire range.
ADDTCPRTE RTEDEST('9.5.11.0') SUBNETMASK('255.255.255.0') NEXTHOP('a.b.c.d') BINDIFC('x.w.y.x') TEXT('Pencor VPN for entire range .1 thru .254').
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Christopher Bipes
Sent: Wednesday, August 16, 2017 2:59 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: ADDTCPRTE question
NO! A host route is a single IP address Change subnetmask as below:
ADDTCPRTE RTEDEST('9.5.11.0') SUBNETMASK('255.255.255.0') NEXTHOP('a.b.c.d') BINDIFC('x.w.y.z') TEXT('VPN for range .1 thru .254').
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Wednesday, August 16, 2017 11:52 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: ADDTCPRTE question
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/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.