RE: Default interface

From: Sudhindra Herle (sherle@sta.samsung.com)
Date: Tue Nov 28 2000 - 12:18:13 EST


I'm sure you meant

        strace netstat -rn

Sarada wanted the "system call".

Most of such info is available under the /proc tree. Most Linux networking
utils (like netstat) use /proc.

Cheers,
-Sudhi.

> -----Original Message-----
> From: semat [mailto:semat@wawa.eahd.or.ug]
> Sent: Tuesday, November 28, 2000 10:36 AM
> To: Sarada Seshadri
> Cc: linux-net@vger.kernel.org
> Subject: Re: Default interface
>
>
> how about netstat -rn
>
> On Tue, 28 Nov 2000, Sarada Seshadri wrote:
>
> > Hi all:
> >
> > Could anyone tell me what system call and option I use to
> find out the
> > default network interface (with which the default route is
> associated)?
> >
> > Thanks very much.
> > -Sarada
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> linux-net" in
> > the body of a message to majordomo@vger.kernel.org
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-net" in
> the body of a message to majordomo@vger.kernel.org
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:29 EST