[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/network/interfaces & point-to-point ethernet & broadcast address



On Sun, Feb 09, 2003 at 08:00:45AM +0100, Bernd Eckenfels wrote:
> BTW: I started to add bsd compatible output to ifconfig, i am jast not sure
> if it is worth the hassle:

I like it. Even if ip is the tool to use for network configuration, ifconfig
gives a better overview/summary. Try and get all the information below with
one command from the ip tool.

> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
>         inet 10.0.0.3  netmask 255.255.255.0  broadcast 10.0.0.255
>         inet6 3ffe:400:4f0:ffff::3  prefixlen 112  scopeid 0x0<global>
>         inet6 fe80::2e0:7dff:fe92:1f0b  prefixlen 10  scopeid 0x20<link>
>         ether 00:e0:7d:92:1f:0b  txqueuelen 100  (Ethernet)
>         RX packets 4664330  bytes 4210664155 (3.9 GiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 2592323  bytes 344898138 (328.9 MiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>         device interrupt 9  base 0x9000  
> 
> lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436  metric 1
>         inet 127.0.0.1  netmask 255.0.0.0
>         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>         loop  txqueuelen 0  (Local Loopback)
>         RX packets 116330  bytes 9965832 (9.5 MiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 116330  bytes 9965832 (9.5 MiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Support bacteria! They're the only culture some people have.

Attachment: pgpFL_mwrvzc2.pgp
Description: PGP signature


Reply to: