Then you need a default route for each line, and I would add the preferred
interface on the second one.

Jim Oberholtzer
Agile Technology Architects

On Feb 7, 2023, at 5:26 PM, Don Brown <DBrown@xxxxxxxxxx> wrote:

No the two lines are completely separate networks.

Client had a virus and they have set up a completely new network on a
different subnet and have deployed new equipment to the new network and
want to isolate the IBMi

So they have two internet connections

I have looked at schowler routes - may have to look more closely.

For now as long as the PC's are on the same subnet it will work and any
outside traffic from server will go out the default route.

Thanks

Don Brown
Director

MSD Information Technology
t: 07 3368 7888
m: 0408 751 644
e: [1]dbrown@xxxxxxxxxx
[2]www.msd.net.au

From:        "Jim Oberholtzer" <midrangel@xxxxxxxxxxxxxxxxx>
To:        "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Cc:        "Don Brown" <DBrown@xxxxxxxxxx>
Date:        07/02/2023 09:59 PM
Subject:        Re: Multinpe interfaces - how can I have a default route
for different interfaces

--------------------------------------------------------------------------

Are ETHLINE and ETHLINE1 on the same network, IE: both 192.168.10.x and
the the same subnet?  Or are they different networks?

Is this new interface going to a specific host?   

Look up schowler routes.   It might require a host route.  What are you
trying to do?

Load balancing, fail over, or directing a specific address to a specific
host?

On Mon, Feb 6, 2023 at 9:36 PM Don Brown via MIDRANGE-L
<[3]midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

I am sure I have done this before but ...

The IBMi has a 4 port network card with resources CMN03, CMN04, CMN05,
CMN06
System is V7R3

CMN03 is for the console connection (No HMC)
CMN04 is the current lan conection (ETHLINE)

CMN06 I have created a new Ethernet line using this (ETHLIN01)
I have configured an IP address and varied the line on and started the
IP
interface
All good

There is a default route using the gateway that is for CMN04 ETHLINE but
this does not have a preferred interface set and I can't take it down at
the moment to test changing that.

I want a default route for this new interface subnet I have created but
from my reading the IBMi has routes at a system level not an interface
level.

I thought I could have multiple *DFTROUTE for different interfaces but
it
is not allowing that or I am doing something else wrong.

Has anyone set up a similar requirement where two different networks are
accessing the IBMi on tow different interfaces and a default route is
required for each interface ?

Thank you for any suggestions

Don

--
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email,
MSD cannot accept responsibility for any loss or damage arising from the
use of this email or attachments..
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: [4]MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [5]https://lists.midrange.com/mailman/listinfo/midrange-l
or email: [6]MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [7]https://archive.midrange.com/midrange-l.

Please contact [8]support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

--

--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects

References

Visible links
1. mailto:dbrown@xxxxxxxxxx
2. http://www.msd.net.au/
3. mailto:midrange-l@xxxxxxxxxxxxxxxxxx
4. mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx
5. https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=x3rBwxMTlO3UcnVchBJYlkqPD8BpO91HbuZYQ_ZepUs&m=SUd0w9WEOcqRyu2FpE8KlvpzThz2meyjHcX6g94ZMyU&s=dG3TjLuWXW76q5YrY15iPLuSCxLu2gF-p2skfBsHyD4&e=
6. mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
7. https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=x3rBwxMTlO3UcnVchBJYlkqPD8BpO91HbuZYQ_ZepUs&m=SUd0w9WEOcqRyu2FpE8KlvpzThz2meyjHcX6g94ZMyU&s=aN3AxtmIJuUPucCQDIeFQgG7azzhOQMSawk0nXIW33w&e=
8. mailto:support@xxxxxxxxxxxxxxxxxxxx

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.