Hello David,
here's my changing default route:
- first - login console
If your default route disappears, youre network connection might
disappeared too

- save your old routes with
lsattr -El inet0 | grep route | awk '{ print $2 }' > /tmp/routes

- delete routes with
/etc/route -n -f; odmdelete -o CuAt -q "name=inet0 and
attribute=route";savebase

- create new default route with
/usr/sbin/chdev -l inet0 -a
route=net,-hopcount,1,-netmask,255.255.255.0,0,192.168.0.1
This is a default route 0.0.0.0 with 255.255.255.0 mask and 192.168.0.1
gateway.

Use /tmp/routes to rebuild your extra routes.

'AIX' 카테고리의 다른 글

AIX memory bank 확인  (0) 2011.02.17
umount 안될때  (0) 2010.10.25
AIX root user expired 될때  (1) 2010.04.05
nmon analyzer  (0) 2010.04.01
rsync 설치  (0) 2010.04.01
Posted by efrit
,