PROPHET/OS
NAME
net: the network of this machine
SYNOPSIS
net [-counters|-routes|-neighbours] [--tui]
DESCRIPTION
The network of this machine: one row per card, with its address, its link and its gateway.
net the cards with address, link, gateway net -counters what every card carried, in frames and bytes net -routes the routing table, the longest mask wins net -neighbours which hardware address answers for which address net --tui the same table live on the whole screen
The address carries the length of its mask behind it, and the link stands in the same row: an address without a link looks like a working network, and nobody should have to ask twice to see the difference.
Wanted and Asks come out of the card file. Without a file for a card there is no answer, and then a dash stands there: off would be an invented one.
-counters is the first reader of the bytes per card. They stood in the kernel and reached nobody. Stack carries two numbers, the way the kernel answers them: what the stack took over this card, and what it threw away because the frame was not for us.
In -routes a route runs over a card or over a carrier, never over both, so each has its own column and the other carries a dash. The forwarding counters stand above the table, because they are one statement about the machine and not a route.
Every card, every route and every byte comes out of a topic, so a second card is visible here. POS_NET_INTERFACE_INFO answers for card 0 and for no other.
ip is the other half: it **sets** the address, the card and the routes, and it shows nothing.
EXAMPLE
$ net Card Model Link Mbit/s Address Gateway Source Hardware Wanted Asks Changes standard 82574L up 1000 10.0.2.15/24 10.0.2.2 asked XX:XX:XX:XX:XX:XX on yes 0