FreeBSD View IP Address command
Step 1th: Use SSH or local login successfully to the FreeBSD system.
Step 2nd: After successful login, execute "ifconfig-a" on the command line and enter OK.
The 3rd step: The following way to return a large number of letters and numbers, you can see in these letters and numbers you see the IP address, MAC address and other related information.
$ ifconfig-a
em0:flags=8843
options=9b
Ether 00:0C:29:E2:CE:A2
inet 192.168.1.195 netmask 0xffffff00 broadcast 192.168.1.255
Inet6 fe80::20c:29ff:fee2:cea2%em0 Prefixlen ScopeID 0x2
Nd6 options=29
Media:ethernet AutoSelect (1000baseT )
Status:active
plip0:flags=8810
Nd6 options=29
lo0:flags=8049
options=600003
Inet6:: 1 prefixlen 128
Inet6 fe80::1%lo0 Prefixlen ScopeID 0x5
inet 127.0.0.1 netmask 0xff000000
Nd6 options=21
$
Note: As shown on the value returned in the FreeBSD system of the author, you can see that the author's FreeBSD IP address is 192.168.1.195,mac address 00:0c:29:e2:ce:a2