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.我们有一个网络系统在我们的办公室。