how do I create a routing table (AIX)


 
Thread Tools Search this Thread
Operating Systems AIX how do I create a routing table (AIX)
# 1  
Old 01-26-2009
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 host computer (AIX 4.3.2) with IP address 10.100.123.254

Also in the host is a NIC with IP 10.100.121.99 connected to a BNC tokenring with several stations within the subnet 10.100.121.xx

From our work stations we currently cannot connect to the 10.100.121.xx computers.

How can I fix this? How does IP routing work?

Thanks for any input!
Robbert
# 2  
Old 01-27-2009
This is my routing table which I got from netstat -rn

How do I read this? What entry must I create (and how) to connect the 10.100.123.x with the 10.100.121.x networks?


Code:
Routing tables
Destination      Gateway           Flags   Refs     Use  If   PMTU  Exp  Groups

Route tree for Protocol Family 2 (Internet):
default          10.100.121.254    UG        0     2921  en3     -   -  
10/8             10.100.122.99     U         0       88  et4     -   -  
10.100.119/24    10.100.119.1      U        48 70480762  en5     -   -  
10.100.120/24    10.100.121.1      UG        0       28  en3     -   -  
10.100.121/24    10.100.121.99     U        43  6738619  en3     -   -  
10.100.122/24    10.100.122.99     U         0      758  en4     -   -  
10.100.123/24    10.100.123.254    U        17 453802793 en16     -   -  
10.100.127/24    10.100.121.1      UG        0        7  en3     -   -  
10.100.129/24    10.100.121.2      UG        0        3  en3     -   -  
10.100.130/24    10.100.121.7      UG        0     1704  en3     -   -  
127/8            127.0.0.1         U         6     1190  lo0     -   -  
192.3.3.1        192.3.3.2         UH        0        0 sl17     -   -  

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

# 3  
Old 01-27-2009
You'll need to turn on ip forwarding and configure the AIX machine as a gateway for this to work.

Start here:
pSeries and AIX Information Center
# 4  
Old 01-28-2009
Thanks, will have a look at it!
# 5  
Old 01-29-2009
Your first post sounded (if i got the wrong impression: sorry) as if you were not all too knowledgeable about how IP routing works at all. If so, a book about networking basics might help to understand the underlying concepts. The book i found most exhaustive as well as well-written was W. Richard Stevens "TCP/IP Illustrated", which comes in three volumes. He covers, from the basics up to a reference implementation of a network-stack written in C, every aspect of TCP/IP-networking there is.

I hope this helps.

bakunin
# 6  
Old 01-29-2009
@bakunin
Thanks for the tip! I am a bit unknown about the routing part. Though I understand the concept, I have never had to setup a routing table myself. So in that way I am a complete noob.

I have also found a nice tutorial (in Dutch)on the web explaining the basics of setting up a routing table. But as it does not cover all the aspects, I'm already stuck again. I might give your book tip a try, if I can get my hands on it :-)

Thanks again (everyone) for all the replies!

Robbert
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

how to read routing table

Hi all, Could someone please explain to me how I should read this routing table, # netstat -rn Routing tables Destination Gateway Flags Refs Interface Pmtu 127.0.0.1 127.0.0.1 UH 0 lo0 32808 10.222.47.82 10.222.47.82 UH... (3 Replies)
Discussion started by: rachael
3 Replies

2. IP Networking

IP routing table restore

Hello. Is there any way to restore back the default ip routing table ? For example, my current routing table is something like Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 109.123.95.0 0.0.0.0 255.255.255.0 U 0 ... (0 Replies)
Discussion started by: anid
0 Replies

3. Red Hat

routing table question

I have below routing table in linux kernel 2.6.9 # netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.155.24.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U ... (5 Replies)
Discussion started by: chuikingman
5 Replies

4. Linux

Routing Table

Hello, how to make entries in routing table perminent (1 Reply)
Discussion started by: teenasuresh
1 Replies

5. IP Networking

Routing table

Hi all, I am confusing with routing table, i use linux and iptables. i have 1 internet gateway, and 1 router for VPN. here is my network. eth0=192.168.0.1 eth1=192.168.100.1 192.168.0.0/24 --- eth0(Linux Box)eth1 ---(DSL)---Internet | ... (4 Replies)
Discussion started by: blesets
4 Replies

6. IP Networking

routing table

hi all... i need to know, where is locate the routing table on sun solaris, how i can saved the configuration.... because when i restart the server, lost the configuration.... thank you... Regards... (3 Replies)
Discussion started by: chanfle
3 Replies

7. IP Networking

Ip routing table

hi all, how to access ip routing table throgh program, how should i integrate my rip routing table with the ip routing table :) (0 Replies)
Discussion started by: vinodkumar
0 Replies

8. IP Networking

routing table (netstat -rn)

Is ther a way to retain say, a default gateway entered in a routing table after a reboot? I end up always having to re-enter my default gateway after I reboot my system. Thanks! (4 Replies)
Discussion started by: thundrrod
4 Replies

9. UNIX for Dummies Questions & Answers

not following routing table

Hi, I'm trying to connect to a network device, with the connection follwoing the UNIX routing table we set up. Its to go via a specific network Gateway and out throught a specific Lan card (Lan4). However when trying to conenct it keeps going through Lan3 and will not get to its destination.... (3 Replies)
Discussion started by: nhatch
3 Replies

10. UNIX for Dummies Questions & Answers

Kernel Routing Table

How can i set an permanent route so that itīs still here after a reboot ? i have a gateways file Thanks :confused: :confused: :confused: (1 Reply)
Discussion started by: redcrosskbg
1 Replies
Login or Register to Ask a Question