第11章 配置网络
第11章 配置网络
本章内容 在 Linux中配置网络 与网络有关的配置文件 ■网络诊断工具
本章内容 ◼ 在Linux中配置网络 ◼ 与网络有关的配置文件 ◼ 网络诊断工具
111在 Linux中配置网络 ■使用命令行工具 ■使用GU|具
11.1 在Linux中配置网络 ◼ 使用命令行工具 ◼ 使用GUI工具
111.1使用命令行工具 ■基本网络配置命令: ifconfig itup ifdown hostname 脚本工具: netconfig service servicename start stop restart status
11.1.1 使用命令行工具 ◼ 基本网络配置命令: ◼ ifconfig ◼ ifup ◼ ifdown ◼ hostname ◼ 脚本工具: ◼ netconfig ◼ service servicename start|stop|restart|status
111.1使用命令行工具 a netconfig Conf igure TCP/IP Please enter the IP conf iguration for this machine. Each item should be entered as an ip address in dotted-dec imal notation (for example, 1.2.3.4) I Use dynamic IP conf iguration(BOOTP/DHCP) IP address Netmask Default gateway (IP) Primary nameserver Back <Tab>/<Alt-Tab> between elements <Space> selects <F12> next screen
11.1.1 使用命令行工具 ◼ netconfig