Re: Access AIX system from different network subnet
- From: "Robert T. Repko (R Squared Consultants)" <rtr@xxxxxxxxxxxx>
- Date: Mon, 13 Feb 2006 12:21:20 -0500
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 *
*******************************************************************************
- References:
- Re: Access AIX system from different network subnet
- From: Green, Simon
- Re: Access AIX system from different network subnet
- Prev by Date: Re: Can AIX 5.3.3 run on a 7026-B80 & a 7046-B50
- Next by Date: mksysb reloaded after raid configured
- Previous by thread: Re: Access AIX system from different network subnet
- Next by thread: Re: SCP from AIX to Windows problem - solved
- Index(es):
Relevant Pages
- Re: 2 different routes
... you're trying to route a subnet you're in through ... its gateway
-- that won't work the way you expect it to. ... gateway of the secondary public network
for things that came in on that ... (comp.unix.bsd.freebsd.misc) - Re: can an alias address be routed through?
... The other interface sis0 has an address of 192.169.1.254 with a subnet ... BUT
from the 192.169 network It still doesnt ... If i add a route ... In other
words, no matter what your netmask, your gateway ... (comp.unix.bsd.openbsd.misc) - A fundamental VPN question re: distant subnet routing
... a gateway that routes packets to wherever they need to go. ... be to a local
host on the same subnet or to the internet (or whatever subnet ... ends of the VPN.
... That's a "legal" route. ... (comp.dcom.vpn) - Re: How to switch between WLAN network and LAN network ?
... However I would prefer to connect the Internet through LAN ... network AND exist
in the same subnet. ... it's simply a matter of changing the default gateway of
the ... pre-defined route for it in the routing table. ... (microsoft.public.dotnet.general) - Re: Multiple external interfaces
... you should only need to enter a gateway once for the default ... routing
table (unless you are routing to two different gateways, ... Assuming that your default route
is set to go out eth0, ... I want to route the traffic from my 10.0.0.x subnet ...
(comp.os.linux.networking)