deleting route from ODM

From: Shawn Bierman (BiermanS@METHODISTHEALTH.ORG)
Date: Fri Feb 21 2003 - 13:31:01 EST


Greetings,

I need to clean up these inet0 attributes. Too many routes listed.

1. nf1n01en1: hostname nf1n01en1 Host Name True
2. nf1n01en1: gateway Gateway True
3. nf1n01en1: route net,-hopcount,0,,0,10.15.45.1 Route True
4. nf1n01en1: route net,-hopcount,0,,0,198.254.18.1
5. nf1n01en1: route net,-hopcount,0,,,,0,198.254.18.1
6. nf1n01en1: route net,,0,10.15.44.254
7. nf1n01en1: bootup_option no Serial Optical Network Interface True
8. nf1n01en1: rout6 FDDI Network Interface True
9. nf1n01en1: authm 131073,65536 Authentication Methods True

I've numbered the lines for clarity. I need to get line 3 and 5 out of the inet0. Also, I need to add a hopcount of "1" on line 6. Right now I do this from the command line at every boot with: route delete default 10.15.44.254 and then follow up with: route add default 10.15.44.254 -hopcount 1.

The 10.15.45.1 no longer exists on this system so I do not need it. A netstat output looks like this:
root at nf1n01en1 in / > netstat -rn
Routing tables
Destination Gateway Flags Refs Use If PMTU Exp Groups

Route Tree for Protocol Family 2 (Internet):
default 198.254.18.1 UG 100 1656246 en1 - - =>
default 10.15.44.254 UG 0 0 en0 - -
10.15.43/24 10.15.43.101 U 0 0 css0 - -
10.15.43.101 127.0.0.1 UGHS 0 0 lo0 - -
10.15.44/24 10.15.44.101 U 466 307623 en0 - -
10.15.44.101 127.0.0.1 UGHS 0 33131 lo0 - -
127/8 127.0.0.1 U 66 1880724 lo0 - -
198.254.18/24 198.254.18.101 U 6 362427598 en1 - -
198.254.18.101 127.0.0.1 UGHS 103 120489553 lo0 - -

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

10.15.44/24 is out private SP Lan network (en0), 198.254.18/24 is the public network (en1) and 10.15.43/24 is the SP Switch2 network.

Just having trouble with the chdev commands to make it permanent.
thanks!
-shawn



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:36 EDT