Re: chdev issue adding route

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Mon Jul 28 2003 - 11:54:08 EDT


Do it with "smitty tcpip | Further Configuration | Static Routes"

BV
--------------------------------------------------------

Bill Verzal
AIX Administrator, Komatsu America
(847) 970-3726 - direct
(847) 970-4184 - fax

|---------+------------------------------>
| | Shawn Bierman |
| | <BiermanS@METHODIST|
| | HEALTH.ORG> |
| | Sent by: IBM AIX |
| | Discussion List |
| | <aix-l@Princeton.ED|
| | U> |
| | |
| | |
| | 07/28/2003 10:42 AM|
| | Please respond to |
| | IBM AIX Discussion |
| | List |
| | |
|---------+------------------------------>
>-------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: aix-l@Princeton.EDU |
  | cc: |
  | Subject: chdev issue adding route |
>-------------------------------------------------------------------------------------------------------------------------------|

Greetings,

Working with AIX 5.1 ML3 on a P/690.

I'm trying to add a route to the inet0 device so that it comes up with it
on boot. It doesn't appear to take for some reason or I am doing something
wrong.

( a look at inet0 before the change )

root@nf1n03en1:/ > lsattr -El inet0
hostname nf1n03en1 Host Name
True
gateway Gateway
True
route net,-hopcount,1,,-if,en0,,0,10.15.44.254 Route
True
bootup_option no Serial Optical
Network Interface True
rout6 FDDI Network
Interface True
authm 131073,65536 Authentication
Methods True

( I make the change here )

root@nf1n03en1:/ > chdev -l inet0 -a route='net,-hopcount,0,,
-if,en1,,0,198.254.18.1'
inet0 changed

( and the change does not show up here )

root@nf1n03en1:/ > lsattr -El inet0
hostname nf1n03en1 Host Name
True
gateway Gateway
True
route net,-hopcount,1,,-if,en0,,0,10.15.44.254 Route
True
bootup_option no Serial Optical
Network Interface True
rout6 FDDI Network
Interface True
authm 131073,65536 Authentication
Methods True

( I should see, or would expect to see, two 'route' lines as I do on my
other nodes. for example: )

root@nf1n03en1:/ > rsh nf1n01 lsattr -El inet0
hostname nf1n01en1 Host Name
True
gateway Gateway
True
route net,-hopcount,0,,-if,en1,,0,198.254.18.1 Route
True
route net,-hopcount,1,,-if,en0,,0,10.15.44.254
bootup_option no Serial Optical
Network Interface True
rout6 FDDI Network
Interface True
authm 131073,65536 Authentication
Methods True
root@nf1n03en1:/ >

Am I doing this wrong?

-shawn



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:04 EDT