× 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.



Charles,

You are correct and Scott was a little strong on his opinion there. While it is not REQuIRED to have your systems name and IP address in it's own host table for things to work correctly it is usually the case. The only time it works well NOT to have the name in there is if DNS is set up to inlclude the proper entries. Servers such as *SMTP *MGTC *HTTP(ADMIN) and others need to know that the name being used resolves an IP address that is on the system. Without this, "Unpredictable (but predictably bad) results will occur."

When any of these servers don't work the FIRST thing I do is check CFGTCP option 12 and then look for that informatio in option 10. I then test with a PING of hostname to make sure the IP Address returned belongs to that system.

One other thing, if you FTP to your systems external IP address from your system it does not go out to the physical network so there is no performance loss by doing so.

  - Larry

Wilt, Charles wrote:

Scott,

I'm pretty sure your incorrect here.  It may not make perfect sense, but as I 
understand it, the entry for the local machine is supposed to by in the host 
table.

From the Infocenter (Configure TCP/IP for the first time):
To define a host table, follow these steps:

1. Select option 10 (Work with TCP/IP Host Table Entries) from the Configure TCP/IP menu, and press Enter.
2. Specify option 1 (Add) to go to the Add TCP/IP Host Table Entry display, and press Enter.
3. Specify the IP address, the associated local host name and the fully qualified host name, and then press Enter.
4. Specify a plus sign (+) to make space available for more than one host name, if necessary.
5. Repeat these steps for each of the other hosts on the network to which you want to communicate with by name, and add an entry for each.



Charles Wilt iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott Klement
Sent: Friday, February 11, 2005 3:04 PM
To: Midrange Systems Technical Discussion
Subject: RE: ftp problems pc to i5 at v5r3





Do you have your 520's host name defined in its own host

table? I've

seen some weird things happen when it isn't. I always

define it alone

and fully qualified with domain name, ex. my520, my520.mydomain.com.


This does not make sense. You should never have this in your host table. It makes no sense for the iSeries to connect to itself by it's external IP Address -- if it wants to connect to itself, it should be using 'localhost' (127.0.0.1). Why go over the network to talk to YOURSELF?

It also makes no sense for it to need a host table to determine IT'S OWN IP address. It knows it's IP address since it's defined in the network interface setup.

Frankly, if you encounter something that doesn't work without the name of the local machine in the host table, it's a bug (and probably someone's stupid mistake) that should be reported and fixed.







--
Larry Bolhuis IBM eServer Certified Systems Expert:
Vice President iSeries Technical Solutions V5R2
Arbor Solutions, Inc. iSeries LPAR Technical Solutions V5R2
1345 Monroe NW Suite 259 iSeries Linux Technical Solutions V5R2
Grand Rapids, MI 49505 iSeries Windows Integration Technical Solutions V5R2
IBM eServer Certified Systems Specialist
(616) 451-2500 iSeries System Administrator for OS/400 V5R2
(616) 451-2571 - Fax AS/400 RPG IV Developer
(616) 260-4746 - Cell iSeries System Command Operations V5R2


If you can read this, thank a teacher....and since it's in English, thank a soldier.




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.