---
name: "enumerate-if"
section: "8"
platform: "linux"
package: "ipmasq"
version: "4.0.8-2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ipofif"
---

# enumerate-if(8)

helper scripts for ipmasq(8)

Part of [ipofif(8)](/ipofif/8.md).

## NAME

ipofif, nmofif, peerofif, bcofif, default-if, enumerate-if - helper scripts for [ipmasq(8)](/ipmasq/8.md)

## SYNOPSIS

**ipofif** *interface*

**nmofif** *interface*

**peerofif** *interface*

**bcofif** *interface*

**default-if**

**enumerate-if**

## DESCRIPTION

This manual page very briefly documents the helper scripts used by the **ipmasq** command.

**ipofif** prints to the standard output the IP address of the given interface.

**nmofif** prints to the standard output the netmask of the given interface.

**peerofif** prints to the standard output the IP address of the point-to-point peer of the given interface, or nothing if the given interface is not a point-to-point interface.

**bcofif** prints to the standard output the broadcast address of the given interface, or nothing if **ifconfig** does not display a broadcast address (this is the case for point-to-point interfaces).

**default-if** prints to the standard output the interfaces which the default route utilize, or nothing if there is no default route.

**enumerate-if** prints to the standard output all of the currently up interfaces.

## SEE ALSO

[**ipmasq**(8)](/ipmasq/8.md)

## AUTHOR

This manual page was written by Brian Bassett \<brianb@debian.org\>, for the Debian GNU/Linux system (but may be used by others).
