Install the complete package with local command reference and every published mode.
install netnetUse
Shared hosting commonly sits behind NAT, proxies or provider networking, so
net [interface] [-4|-6|-l]netshow available network interfaces and addresses
net <interface>show one interface
-4show IPv4 addresses only
-6show IPv6 addresses only
-lshow interface names and status only
Run lo is common but not guaranteed; on some shared hosts PHP exposes only a fallback server address, or no interfaces at all.
Names, IP addresses, MAC addresses and the result of
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install netInstall the reduced package. Local reference is omitted;
install net -mInstall exactly this published version.
install net -v 1.1.6Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade netRemove the extension block while leaving the core and unrelated modules intact.
install net -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
netIllustrative network snapshot — not a live request
Interface lo
Status up
IPv4 127.0.0.1/8
IPv6 ::1/128
Interface eth0
Status up
IPv4 192.0.2.10/24
Mask 255.255.255.0net -lIllustrative network snapshot — not a live request
Interface lo
Status up
Interface eth0
Status upnet -4Illustrative network snapshot — not a live request
Interface lo
Status up
IPv4 127.0.0.1/8
Interface eth0
Status up
IPv4 192.0.2.10/24net -6Illustrative network snapshot — not a live request
Interface lo
Status up
IPv6 ::1/128
Interface eth0
Status up
Address -net loIllustrative network snapshot — not a live request
Interface lo
Status up
IPv4 127.0.0.1/8
IPv6 ::1/128net lo -4Illustrative network snapshot — not a live request
Interface lo
Status up
IPv4 127.0.0.1/8net lo -6Illustrative network snapshot — not a live request
Interface lo
Status up
IPv6 ::1/128net lo -lIllustrative network snapshot — not a live request
Interface lo
Status upnet -l -4Illustrative network snapshot — not a live request
Interface lo
Status up
Interface eth0
Status upnet -4 -6Illustrative network snapshot — not a live request
Choose either IPv4 or IPv6net -whatIllustrative network snapshot — not a live request
Unknown option: -whatnet missing0Illustrative network snapshot — not a live request
Interface not foundnet lo eth0Illustrative network snapshot — not a live request
?