Re: Access AIX system from different network subnet



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



Relevant Pages

  • Re: AW: Gateway question
    ... then is will be used if the lower cost route fails. ... AIX Certified Advanced Technical Expert ... Normally you have 1 default gateway ... When we configure the gateway on one interface, ...
    (AIX-L)
  • Re: VPN and remote gateway
    ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
    (microsoft.public.windows.server.sbs)
  • Re: Persistent Route ignored on W2K when destination network is unavailable
    ... a global setting like the gateway to a particular subnet should be set ... this network access the internet via a NAT firewall (connected to ... via a WAN link. ... route on the Cisco firewall so that any traffic to the internet gets ...
    (microsoft.public.win2000.networking)
  • Re: How to *ENABLE* icmp redirect on windows xp workstation ?
    ... > I'm using DHCP on the LAN and point default gateway to the internat ... > and the internet gateway forward the packet to innernet gateway. ... it sounds like a static route configured in your ...
    (microsoft.public.windows.server.networking)
  • RTM_LOSING: Kernel Suspects Partitioning
    ... I have the following setup: ... because all packets to C through B are being routed to B's default gateway. ... Now I've looked through the kernel and it appears that in netinet/in_pcb.c the ... the kernel and found that the route to redirect the packets (which I presume ...
    (freebsd-net)