• Subject: Re: IP Forwarding
  • From: "Dennis Lovelady" <dennis@xxxxxxxxxxxx>
  • Date: Tue, 13 Mar 2001 11:00:34 -0500

Perhaps I should explain a little more.

> From: "Mark Walter" <mwalter@netrax.net>
> Sent: Tuesday, March 13, 2001 9:50 AM
>
> > I'm still a little confused. Our internal network is very simple. One
> > subnet, all with 192.168.0.xxx. I created the line description for the
10m
> > card in our AS/400. I created an IP interface in the same subnet as our
> > Internet system ex. (10.100.100.xxx subnet mask 255.255.255.224). Now,
> what
> > would the route description look like in order for me to use the AS/400
as
> > a gateway to the Internet?
>
>  Route destination  . . . . . . . > *DFTROUTE
>  Subnet mask  . . . . . . . . . . > *NONE
>  Type of service  . . . . . . . .   *NORMAL       *MINDELAY, *MAXTHRPUT...
>  Next hop . . . . . . . . . . . . > YOUR_INET_ROUTER
>  Preferred binding interface  . .   *NONE
>  Maximum transmission unit  . . .   576           576-16388, *IFC
>  Route metric . . . . . . . . . .   1             1-16
>  Route redistribution . . . . . .   *NO           *NO, *YES
>  Duplicate route priority . . . .   5             1-10

You can put the name of your 10.* network card in "Preferred binding
interface," but it's not necessary.  YOUR_INTERNET_ROUTER will have a 10.*
address (as you indicated), so the AS/400 will "know" to send out that card
by default.  ("By default" means for any address that's not already
resolvable.)

So, if your network configuration is very simple, such as this:

card1
    ipaddr = 192.168.0.24   netmask 255.255.255.0
card2
    ipaddr = 10.100.100.5   netmask 255.255.255.224

inet gateway
    ipaddr = 10.100.100.1  netmask 255.255.255.224

Default route next hop = 10.100.100.1

No other special routing information

The AS/400 will automagically send all information destined for the
192.168.0 network to card1.  All other traffic will be directed to card2,
requesting forward by the gateway at 10.100.100.1.  In other words, if it
can't figure out where else to send it, it will send to card2, requesting
forward by 10.100.100.1

HTH
--
Dennis Lovelady             Fayetteville, GA
mail: dennis@lovelady.com
URL:  http://www.lovelady.com
ICQ:  5734860
--
"The honeymoon is over when he phones that he'll be late for supper - and
she has already left a note that it's in the refrigerator."
        - Bill Lawrence


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.