network ip interface

In general, the network ip interface object holds locally determined properties of logical network devices configured on the computer. On the Mac, these correspond to interfaces of type AF_INET. The properties that are available depend on the socket support installed on the computer. For Windows computers with winsock 2 support installed, for instance, the information is obtained by an ioctl call and includes Interface address, Interface broadcast address, Interface network mask, Broadcast support flag, Multicast support flag, Loopback interface flag and Point to point interface flag.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows
8.1.535.0 Debian, Ubuntu
9.5.13.130 Raspbian

Creation

ip interface <integer> of <network> : network ip interface
ip interface of <network> : network ip interface
primary internet connection : network ip interface

Properties

broadcast address of <network ip interface> : ipv4 address
broadcast support of <network ip interface> : boolean
cidr address of <network ip interface> : string
cidr string of <network ip interface> : string
loopback of <network ip interface> : boolean
mac address of <network ip interface> : string
multicast support of <network ip interface> : boolean
point to point of <network ip interface> : boolean
subnet address of <network ip interface> : ipv4 address
subnet mask of <network ip interface> : ipv4 address