FreeBSD view ip address command

  
                  FreeBSD View ip Address Command

Step 1: Use ssh or local login to the freeBSD system.

Step 2: After successful login, execute “ifconfig -a” on the command line and press Enter to confirm.

Step 3: Return a large number of letters and numbers as follows. You can see the ip address, MAC address and other related information you see in these letters and numbers.

$ ifconfig -a

em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=9b<RXCSUM,TXCSUM, VLAN_MTU, VLAN_HWTAGGING, VLAN_HWCSUM>

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 64 scopeid 0x2

nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

media: Ethernet autoselect (1000baseT <full-duplex>) < Br>

status: active

plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500

nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384

options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>

inet6 ::1 prefixlen 128

inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5

inet 127.0.0.1 netmask 0xff000000

nd 6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

$

Note: As shown in the author's FreeBSD system, you can see that the author's FreeBSD IP address is 192.168.1.195. The MAC address is 00:0c:29:e2:ce:a2

Copyright © Windows knowledge All Rights Reserved