Le 22/08/2023 à 16:51, Rob Berendt a écrit :
I have a DMZ lpar with multiple addresses of 208.x.x.x on subnet
255.255.255.0
I have an internal lpar at address 10.y.y.y on subnet 255.255.254.0
The *DFTROUTE for the DMZ lpar is 208.x.x.1, subnet *NONE.
The DMZ lpar supports multiple interfaces (IP addresses). However I would
like all traffic from the DMZ lpar to this one internal lpar to bind from
address 208.x.x.2
Is it as easy as adding another route like:
ADDTCPRTE RTEDEST('10.y.y.y') SUBNETMASK('255.255.254.0')
NEXTHOP('208.x.x.1') BINDIFC('208.x.x.2') TEXT('Route for BRMS to SGCTLKIT')
On the ADDTCPRTE I believe I use the subnet mask of the destination and not
the subnet mask of the source, right?

Yes, but if you want to bind to 208.x.x.2 IP *only* the traffic to your 10.y.y.y destination, you should use SUBNETMASK(*HOST) I think.

Sounds easy but I had a bad experience years ago trying to set up Schowler
routes and I am a little cautious since.
I know that a few IBM i applications have their own way of "bind
specific". This app is not one of them. And none of the other IP
addresses have any business talking to this destination.

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.