My original question is,
I come across a strange problem. One of our sun boxes has one NIC which is
configued some ip address.
lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST> mtu 8232
inet 127.0.0.1 netmask ff000000
alt0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 10.1.0.102 netmask ffff0000 broadcast 10.1.255.255
ether 8:0:20:a3:e0:95
alt0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.2.30.5 netmask ffff0000 broadcast 10.2.255.255
I found out two routes from "netstat -rn" command.
10.2.0.0 10.1.0.99 UG 0 44
10.2.0.0 10.2.30.5 U 12 0 alt0:1
when I tried to delete the first one, I got the following information:
# route delete 10.2.0.0 10.1.0.99 1
delete host 10.2.0.0: gateway 10.1.0.99: not in table
My Question:
How can I delete the first route?
---------------------------------------------------------------------
the answer is:
# route delete net 10.2.0.0 10.1.0.99 1
Thanks again.
zhouna
S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT