sowmini.varad...@sun.com wrote: > On (01/28/10 10:13), Robert Hartzell wrote: >> Routing Table: IPv4 >> Destination Gateway Flags Ref Use Interface >> -------------------- -------------------- ----- ----- ---------- --------- >> 10.0.0.0 10.0.0.1 U 3 6 rge0 >> 24.0.0.0 10.0.0.20 UG 1 0 rge0 >> 127.0.0.1 127.0.0.1 UH 2 12 lo0 >> 192.168.0.0 192.168.0.1 U 4 24 rge1 >> >> so I try: >> >> route delete 24.0.0.0 10.0.0.20 >> route add default 10.0.0.20 and get network unreachable... >> >> How do I get my default route back? >> > > What is your interface address (of rge0) at this point? What does > 'ifconfig -a' say? > > What is the output of "route monitor" when you run the above steps? > That, btw, will also give you an idea of how the 24.0.0.0 route got > added.
The behavior described sounds to me like a misconfigured subnet mask somewhere. I suggest trying "netstat -nrv" to get more detail -- adding the "-v" to display the netmasks. -- James Carlson 42.703N 71.076W <carls...@workingcode.com> _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org