× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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/


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.