I am getting a route of

# netstat -rn

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface 
-------------------- -------------------- ----- ----- ---------- --------- 
default              192.168.0.1          UG        1          1           
127.0.0.1            127.0.0.1            UH       13       6280 lo0       
192.168.0.0          192.168.0.38         U         5         43 e1000g1   

Routing Table: IPv6
  Destination/Mask            Gateway                   Flags Ref   Use    If   
--------------------------- --------------------------- ----- --- ------- ----- 
::1                         ::1                         UH     20     782 lo0   
fe80::/10                   fe80::a00:27ff:fe77:4e9e    U       2       0 
e1000g1

With this routing table, I can't ping anything on the LAN but I can ping the 
outside world like google.com, yahoo.com. I think its the third line which is a 
problem for the LAN.

Does anybody know how I can get rid of the 3rd entry and add a new route going 
through the default route of line 1?

I did:
# route delete 192.168.0.0 192.168.0.38 
delete net 192.168.0.0: gateway 192.168.0.38: not in table

If I add:
# route add -net 192.168.0.0 default -ifp e1000g1 
add net 192.168.0.0: gateway default: Network is unreachable

If I add:
# route add -net 192.168.0.0 192.168.0.1 -ifp e1000g1
add net 192.168.0.0: gateway 192.168.0.1

It adds a route for the net 192.168.0.0 through the gateway 192.168.0.1 but its 
in the fourth entry and I think 3rd entry is creating a loop already without 
even reaching the 4th entry in the table.

I am lost, appreciate ur help!
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to