View the Current Network Interfaces

Required User Role: User with administrator privileges

To see and copy the full command for your specific operating system, see the Command Quick Reference.

Usage

To view current IPv4 and IPv6 interfaces, use the following command:

# /opt/nessus/sbin/nessuscli fix --list-interfaces

The following is example output:

Adapter# 0

Name............ lo

Real name ...... lo

IP address ..... 127.0.0.1

Network ........ 127.0.0.0

Netmask ........ 255.0.0.0

Adapter# 1

Name............ eth1

Real name ...... eth1

IP address ..... 192.0.2.243

Network ........ 192.0.2.0

Netmask ........ 255.255.252.0

Adapter# 0

Name............ lo

Real name ...... lo

IPv6 address ... ::1

IPv6 network ... ::1

IPv6 netmask ... ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff

Adapter# 1

Name............ eth1

Real name ...... eth1

IPv6 address ... fe80::250:56ff:fe10:76d

IPv6 network ... fe80::

IPv6 netmask ... ffff:ffff:ffff:ffff::

Command Quick Reference

For the full command for your operating system, see the following: