admin管理员组文章数量:1530842
2024年7月16日发(作者:)
网络配置
Ubuntu 提供了许多图形化工具来配制您的网络设备。本文适用于服务器管理员并聚
焦在命令行中管理您的网络。
1. Ethernet Interfaces
2. IP Addressing
3. Name Resolution
4. Bridging
5. 资源
Ethernet Interfaces
Ethernet interfaces are identified by the system using the naming convention
of
ethX
, where
X
represents a numeric value. The first Ethernet interface is
typically identified as
eth0
, the second as
eth1
, and all others should move up in
numerical order.
Identify Ethernet Interfaces
To quickly identify all available Ethernet interfaces, you can use
the
ifconfig
command as shown below.
ifconfig -a | grep eth
eth0 Link encap:Ethernet HWaddr 00:15:c5:4a:16:5a
Another application that can help identify all network interfaces available to
your system is the
lshw
command. In the example below,
lshw
shows a single
Ethernet interface with the logical name of
eth0
along with bus information,
driver details and all supported capabilities.
sudo lshw -class network
*-network
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
版权声明:本文标题:如何配置Ubuntu14.04网络 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1721089511a860153.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论