Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

activation du routage 2

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
SVP je n'arrive pas a avtivé le routage sur une machine AIX 4.3 qui dispose de 3 carte reseaux
j'ai activé le daemon routed ca na pas marché j'ai mise ipforwarding=1 non plus
 
je te conseille de formuler tes questions in english !

Je ne saurai répondre à ta question mais il y a surement quelqu'un qui connait la réponse ici (mais en anglais) "Unix, it's like French : nothing is impossible"
 
is this the translation of what you are looking for my French is poor?
=======================================
PLEASE I do not know how to activate the routing on a machine AIX 4.3 which has 3 cards. I activated the routing daemon but it did not worked. I put ipforwarding=1 didn't work either
===========================================

Routes Routes You have to Have Routes!
To create/delete routes in AIX.
the chinet command (which smitty route uses) stores the route in the ODM. These types of routes will be automatically recreated upon reboot.
OR the route add/delete command
Which creates the route, but does not store them in the ODM and hence are lost upon reboot (unless a script is run from /etc/inittab to recreate them or add to /etc/rc.net).


How do you tell if a route is in the ODM or not (besides rebooting to see if it comes back)?
lsattr -El inet0

How do you clear a routing table? route -f (flush)

To establish a default gateway, enter:
route add 0 192.100.13.7

Add static routes with smitty smit mkroute or :
chdev -l inet0 -a addroute=XXXXXXXXXXXXXXXXXX

Remove static routes with smitty smit rmroute :
chdev -l inet0 -a delroute=XXXXXXXXXXXXXXXXXX

chdev -l inet0 -a delroute=net,destination_address,gateway,subnet_mask -
chdev calls a routine that will delete the route from the ODM.
=====================================================
Start from a fresh system if you cannot figure it out.
do an ifconfig en0 down
ifconfig en0 detach
rmdev -dl en0
cfgmgr

Do for all interfaces. You can check with the netstat -in or rn and see what is up. Do for en0, en1, et0, et1, if they are set up etc..... leave the lo0 alone...

Then go into smit tcpip minimum configuration >
Minimum Configuration & Startup

en0 Standard Ethernet Network Interface
et0 IEEE 802.3 Ethernet Network Interface
select and press enter

Fill In only needed fields, take defaults for others. Minimum Configuration & Startup
* HOSTNAME [rome40] type in hostname here
* Internet ADDRESS [10.1.1.11] your IP address
Network MASK [255.255.252.0] your subnet mask
* Network INTERFACE en0

NAMESERVER Internet ADDRESS(dotted decimal) []
DOMAIN Name []
Default GATEWAY Address [10.4.5.1] If there is add it/if not leave blank(dotted decimal or symbolic name)

Your CABLE Type [ tp] Press f4 TP(twisted pair) DIX(AUI)or BNC
START Now [ no] Change to yes


Make sure cable type set.........YES to start now.

Try to ping yourself from the command line.
Can you ping yourself? Can you ping loopback? Can you ping 127.0.0.1?
Make sure you are attached to the correct ethernet card, make sure you have the same network and same subnet mask.

Make sure you have the ipforwarding on? default is off..
no -o ipforwarding=1
do a no -o ipforwarding and see what it is set at? To make permanent add to /etc/rc.net


Make sure the cards are talking the same speed,the same full or half duplex, if one is not matching, it will not communicate. Both ends, router and card, or card and card...or hub and card.

=================================
If you can give us the english, we can try to find your specific need?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top