How To Find All IP Addresses on Linux如何找到所有IP地址在Linux上
Run the command:運行命令:
ip address show IP地址顯示
In the output you will find lines like these:在輸出你會發現線一樣,這些:
inet 127.0.0.1 /8 scope host lo在Inet 127.0.0.1 / 8範圍東道國勞
inet 192.168.1.10 /24 brd 192.168.1.255 scope global eth1在Inet 192.168.1.10 / 24 brd 192.168.1.255全球範圍eth1
The highlighted portions are your (ipv4) ip addresses.突出的部分是你的( IPv4 )的IP地址。
The /8 or /24 represents your network. / 8 /或24代表您的網絡。 /8 means your subnet mask is 255.0.0.0 and /24 means your subnet mask is 255.255.255.0. / 8意味著您的子網掩碼255.0.0.0和/ 24意味著您的子網掩碼是255.255.255.0 。 You will not have a subnet typically for a point-to-point connection.您將不會有一個子網,通常為點對點的連接。
Note: The lines containing inet6 provides the ipv6 addresses.注:包含以下內容的行inet6提供IPv6地址。
Filed under提起下 Fedora 7 Fedora的7 , , Fedora Core 6是Fedora Core 6 , , Headline News頭條新聞 , , How To如何 , , Linux Linux的 , , Linux Migration Linux遷移 , , Web網頁 , , Web Hosting虛擬主機 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |





October 4th, 2007 at 9:30 pm 2007年10月4日在下午9點30分
I want to know the IP address of the LINUX SERVER for practicing the linux commnads.我想知道的IP地址,該Linux服務器實踐的Linux commnads 。 We have a network system in our office.我們有一個網絡系統在我們的辦公室。