On 01/28/10 11:04 AM, James Carlson wrote:
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.
on the working setup
r...@bastion:~# netstat -nrv
IRE Table: IPv4
Destination Mask Gateway Device MTU
Ref Flg Out In/Fwd
-------------------- --------------- -------------------- ------ -----
--- --- ----- ------
default 0.0.0.0 10.0.0.10 rge0 1500
2 UG 0 2
10.0.0.0 255.255.255.0 10.0.0.1 rge0 1500
4 U 27 224
127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232
2 UH 6 6
192.168.0.0 255.255.255.0 192.168.0.1 rge1 1500
4 U 124 389
on the non-working setup
r...@bastion:~# netstat -nrv
IRE Table: IPv4
Destination Mask Gateway Device MTU
Ref Flg Out In/Fwd
-------------------- --------------- -------------------- ------ -----
--- --- ----- ------
10.0.0.0 255.255.255.0 10.0.0.1 rge0 1500
4 U 7 44
24.0.0.0 255.0.0.0 10.0.0.20 rge0 1500
1 UG 0 0
127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232
2 UH 6 6
192.168.0.0 255.255.255.0 192.168.0.1 rge1 1500
4 U 15 0
--
Robert W Hartzell
bear at rwhartzell.net
RwHartzell.Net
_______________________________________________
networking-discuss mailing list
networking-discuss@opensolaris.org