FreeBSD View IP Address command

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.