Run a netstat -rn and it will show you the default route freddie% netstat -rn
Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 131.68.27.0 131.68.27.156 U 1 42321 eri0 10.10.27.0 10.10.27.156 U 1 533 eri0:1 224.0.0.0 131.68.27.156 U 1 0 eri0 default 131.68.27.1 UG 1 1593 <-------- default route 127.0.0.1 127.0.0.1 UH 1 0 lo0 On Wed, Jul 22, 2009 at 9:47 PM, Xavier Callejas <xavier at wflogistics.com>wrote: > > Hi, > > How can I know what default router/gateway is using my OpenSolaris? > > In linux I just run '#router' to show the router config. table. > > Thanks. > > xavier > > _______________________________________________ > opensolaris-help mailing list > opensolaris-help at opensolaris.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20090722/2f89c098/attachment.html>