Re: Access AIX system from different network subnet



Thank you for the information. I have changed the default gateway and can now access the system from a remote location. I'm embarrassed to not have thought of the default gateway as my problem.

Believe it or not at 2/13/2006 06:09 AM, Green, Simon said:
You can change it on the fly with...
route -f
route add default 172.20.18.2

You'll also need to change your TCP/IP configuration to set that as the
default route after a reboot.

--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX

N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.


-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Robert T. Repko (R Squared Consultants)
Sent: 10 February 2006 12:58
To: aix-l@xxxxxxxxxxxxx
Subject: Re: Access AIX system from different network subnet


That looks like my problem, default gateway. Years ago they used to
have this system exposed to the outside world with a gateway of
204.186.115.1. They have since moved the system inside but the
gateway was never changed. How do I safely change the default
gateway? I'm use to going through SMIT but I know there is a more
direct way. Also, it would not surprise me if there is a second IP
address on the system (a 204.186.115.x), how would I remove that
address and make 172.20.18.2 the one and only IP address.

pburgboe#netstat -r
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp
Groups

Route Tree for Protocol Family 2 (Internet):
default 204.186.115.1 UGc 0 0 en0 - -
127/8 loopback U 3 321 lo0 - -
172.20.18/24 pburgboe Uc 0 0 en0 - -
172.20.18.1 pburgboe UHW 1 42 en0 1500 -
172.20.18.83 pburgboe UHW 1 1 en0 - -
172.20.18.103 pburgboe UHW 1 3233 en0 - -
172.20.18.118 pburgboe UHW 5 48235 en0 - -
172.20.18.136 pburgboe UHW 1 30583 en0 - -
172.20.18.242 pburgboe UHW 2 658386 en0 1500 -
204.186.115/24 pburgboe Uc 0 0 en0 - -
204.186.115.1 pburgboe UHW 1 0 en0 - -

Route Tree for Protocol Family 24 (Internet v6):
::1 ::1 UH 0 0 lo0 16896 -
pburgboe#


Believe it or not at 2/9/2006 11:26 PM, Yves Dorfsman said:
>On Thu, 9 Feb 2006, Robert T. Repko (R Squared Consultants) wrote:
>
>>Telnet. People on the same subnet have been telneting into the
>>system for years. This is the first time someone from a different
>>building (and subnet) is trying to telnet into the AIX
>>system. Everyone is behind the firewall so it shouldn't be a
>>problem. My though is because it is a different subnet, which
>>makes it a different network, that AIX is not accepting the connection.
>
>Looks like your default gateway isn't setup, or not setup properly.
>What does "netstat -r" give you ?
>
>Can you ping the default gateway, can you confirm that it is setup
>as a router.
>
>Also, can you ping the other way around (from the aix box to the clients) ?
>What does traceroute tell you ?
>
>Yves.
>----
>Yves Dorfsman yves@xxxxxxxxx
> http://www.cuug.ab.ca/dorfsmay
> http://www.SollerS.ca

*******************************************************************************
* Robert T. Repko - R Squared Consultants | Voice: (610) 253-2849 *
* Serving the Computing World for 20+ years | Fax: (610) 253-0725 *
* Windows/Unix/Mac Networking, Cisco, Sonicwall | email: rtr at rsquared.com*
* NJDOE Provider ID#: 763 | Address: 4 Juniper Ave. *
* SPIN: 143010681 | Easton, PA 18045 *
*******************************************************************************



Relevant Pages