AIX 4.3.3.0 routing problems


 
Thread Tools Search this Thread
Operating Systems AIX AIX 4.3.3.0 routing problems
# 1  
Old 07-19-2005
AIX 4.3.3.0 routing problems

Hello guys.

I have a AIX running an ip of 128.2.1.85 255.255.255.0, Main office router is 128.2.1.2 .we just got an t1 line point to point for a remote office with to pcs.

My question.

I'm not able to ping those pcs one of them is using this ip 128.2.2.128 255.255.255.0 Remote router ip is 128.2.2.2
We have an NT server using this routing entry route -t -p add 128.2.2.0 mask 255.255.255.0 128.2.1.2 and it works just fine.

I know that there is got to be a command like route add net but i dont know how to doit .
I any of you guys can give me a hando on these i will really apreciate it.

Thanks a lot guys.
# 2  
Old 07-20-2005
Is this helpful?

route (add/delete) (-net/-host) (destination) (gateway)
Adds or deletes routes to other networks or hosts, does not update
the ODM database and will be lost at reboot.
# 3  
Old 07-21-2005
I think your problem is not the routing of AIX but a misconfiguration of the routers. Your network layout looks like:

Code:
Your location                                    remote location
=============                                    ===============
Several machines                                 several machines
in net 128.2.1/24                                in net 128.2.2/24

85 = your AIX box         [a T1 line]            128 = a PC
2  = your router   <------------------------->   2   = another router

Usually it is the job of the routers (not the servers) to know how to relay packets from one network to another, therefore the machines (regardless of being servers or clients) should have only three entries in their routing table:

1. a loopback route

2. a net route for their own net pointing to their own interface. In case of your AIX box this would be "route add -net 128.2.1 -netmask 255.255.255.0 128.2.1.85". As this route would be lost upon reboot use SMIT to insert it in a lasting way. You can find the panel by typing "smitty tcpip" on the commandline, then select further "configuration/static routes".

3. a default route[/b], pointing to their nearest router. This would be 128.2.1.2 for all machines in your location and 128.2.2.2 for all machines in the remote location. Use SMIT to add the default route by issuing "smitty tcpip" at the commandline, then select "minimum configuration" and your interface, presumably "en0". In the upcoming screen there will be the option "default route".

This procedure will be the same for any machine on your network, regardless of being server or client, Windoze or *NIX machine.

The routing between the networks should be handled by the router (after all, that's his genuine job). Consult your routers manual on how to do this. The principle is the same as with the servers: you basically tell the machine to send al packets with destination net A to this interface, all packets with destination B to that interface and usually add a "default" route as a last resort - it means "if there's no explicit rule where to send the packet then send it there and hope for the best".

Hope this helps

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

various problems in aix

I have some doubts 1. Count the number for fields in a file, being separated by "space" 2. Reverse the order of fields in a file 3. Show the date after 10 days from the current date. (DD-MM-YYYY) 4. Convert GMT to IST (User Gives GMT and IST must be displayed) 5. Delete Duplicate... (1 Reply)
Discussion started by: tsurendra
1 Replies

2. AIX

Aix Routing Problem

I need the following solution , please help me... Current situation ip: 192.168.0.12 persistent and 192.168.254.12 service ip gateway: 192.168.0.254 subnet: 255.255.255.0 i have added a new ip on a new nic ip: 10.10.255.40 gateway: 10.10.255.62 subnet: 255.255.255.224 ... (1 Reply)
Discussion started by: rajibimran
1 Replies

3. AIX

how do I create a routing table (AIX)

Hi, I just noticed that we cannot connect to some parts of our network. I guess this has something to do with a network change some time ago where we got different subnets. We have our workstations all connected to a switch with a subnet 10.100.123.xx The switch is then connected to our main... (5 Replies)
Discussion started by: eRJe
5 Replies

4. AIX

Routing setup - AIX

Hi All, I know there is a way to do this in routers. The question is whether it is posisble to do this in AIX. For our Web Focus ODBC connection to the Disaster Recovery servers, we want to restrict the access to the ODBC ports so that only the IP address of the Web Focus server can get to... (1 Reply)
Discussion started by: strunz
1 Replies

5. AIX

scripting routing changes on aix 4.3 and 5x

Hi All, I need to script a routing changes on my aix servers. I can't use smitty, very slow. I need to delete the static routing and add a new one. I also need to change default routing. I know using route add and route delete but I think I remember that this is not enough that's why I... (2 Replies)
Discussion started by: itik
2 Replies

6. AIX

AIX routing and TCPIP. Anyone find any good Tutorials?

HI All, Does anyone out there know of any good online tutorials for the basics of routing, gateways, networking with AIX, preferably the more recent versions like 5.2/5.3? Using commands such as netstat, smit mkroute, etc. to connect to boxes on a network, and load software with networked... (1 Reply)
Discussion started by: jeffpas
1 Replies

7. AIX

AIX Routing Issue

Hello, I've moved to a new network with multiple AIX box's. Most of them are working fine and dandy. On one box I need to set up a static route to a gateway.. no problem right? Whenever I add the route it appears in the routing table as UGc and then begins adding new entries to the... (1 Reply)
Discussion started by: joshstar14
1 Replies

8. UNIX for Dummies Questions & Answers

AIX 5.3 Routing

Hey all you *Nix Gurus...I got a relatively simple one for ya. I just cloned an AIX 5.3 server without copy over the Network info. However, now I need to update the routing table on the destination server so that it mirrors the source. Aside from painstakingly, manually updating the ODM using... (1 Reply)
Discussion started by: BlitzSonik
1 Replies

9. AIX

Problems insalling aix 4.3

Hello, I am an AIX newbie and I am having some difficulties installing 4.3. I need the installation to be 4.3, nothing newer, because that is a customer requirement. I did an initial install and just chose a default installation, but that has filled up the /usr to 100% and I'd just like to start... (13 Replies)
Discussion started by: subotai
13 Replies
Login or Register to Ask a Question