doc061.htm
来自「Reh Hat user manual. really goooood」· HTM 代码 · 共 181 行
HTM
181 行
<html><body><a href="doc062.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc060.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr><h2><a name="s8.4">8.4 Network Configuration</a></h2><title>Network Configuration</title><a name="i222"><p>The network configuration tool (<tt>netcfg</tt>) shown in Figure<a href="doc061.html#f32">32</a> is designed to allow easy manipulation ofparameters such as IP address, gateway address, and network address, aswell as name servers and <tt>/etc/hosts</tt>.<p><p><a name="f32"></a><center><img src="img027.gif"></center><p><center>Figure 32:Network Configuration Panel</center><p><p>Network devices can be added, removed, configured, activated,deactivated and aliased. <a name="i223"> Ethernet,arcnet, token ring, pocket (ATP), PPP, SLIP, PLIP and loopback devicesare supported. PPP/SLIP/PLIP support works well on most hardware, butsome hardware setups may exhibit unpredictable behavior. When usingthe Network Configuration Tool click <b>Save</b> to write yourchanges to disk, to quit without making any changes select<b>Quit</b>.<p><h3><a name="s8.4.1">8.4.1 Managing Names</a></h3><title>Managing Names</title><a name="i224"><a name="i225"><p>The <b>Names</b> panel of the Network Configuration tool serves twoprimary purposes: setting the hostname and domain of the computer, anddetermining which name server will be used to look up other hosts onthe network. The Network tool is not capable of configuring a machineas a nameserver. To edit a field or add information to a field simplyclick on the field with the left mouse button and type the newinformation.<p><p><a name="f33"></a><center><img src="img028.gif"></center><p><center>Figure 33:Adding/Editing Hosts</center><p><p><h3><a name="s8.4.2">8.4.2 Managing Hosts</a></h3><title>Managing Hosts</title><p>In the <b>Hosts</b> management panel you have the ability to add,edit, or remove hosts from the <tt>/etc/hosts</tt> file. Adding orediting an entry involves identical actions. An edit dialog box willappear, simply type the new information and click <b>Done</b> whenyou are finished. See Figure <a href="doc061.html#f33">33</a> for an example.<p><h3><a name="s8.4.3">8.4.3 Adding a Networking Interface</a></h3><title>Adding a Networking Interface</title><a name="i226"><a name="i227"><p>If you have added a networking interface to your machine sinceinstalling Red Hat Linux, or you didn't configure your ethernet card atinstall time, you can configure it with a few clicks of a mouse. <p><b>Please Note:</b> You may need to configure <tt>kerneld</tt> to load a driver forthe network interface you are adding (e.g., <tt>eth0</tt>); see Section<a href="doc063.html#s8.6">8.6</a> for more information.<p>Begin adding an interface by clicking on <b>Interfaces</b> in themain panel. This will bring up a window of configured devices with arow of available options, see figure <a href="doc061.html#f34">34</a>.<p><p><a name="f34"></a><center><img src="img029.gif"></center><p><center>Figure 34:Configured Interfaces</center><p><p>To add a device, first click the <b>Add</b> button then select thetype of interface you want to configure from the box that appears(See Figure <a href="doc061.html#f35">35</a>).<p><p><a name="f35"></a><center><img src="img030.gif"></center><p><center>Figure 35:Choose Interface Type</center><p><p><h4><a name="s8.4.3.1">8.4.3.1 PPP Interface</a></h4><title>PPP Interface</title><p>Adding a PPP interface can be as simple as supplying the phone number,login name and password in the <b>Create PPP Interface</b> dialogshown in Figure <a href="doc061.html#f36">36</a>. If you need to use PAPauthentication for your PPP connection, choose <b>Use PAPauthentication</b>. In many cases some degree of customization will beneeded to establish a PPP connection. Choosing the <b>Customize</b>button will allow you to make changes to the hardware, communication,and networking settings for the PPP interface.<p><p><a name="f36"></a><center><img src="img031.gif"></center><p><center>Figure 36:Create PPP Interface</center><p><p><h4><a name="s8.4.3.2">8.4.3.2 SLIP Interface</a></h4><title>SLIP Interface</title><p>In order to configure a SLIP interface you must first supply a phonenumber, login name, and password. This will supply the initialparameters for the chat script needed to establish a SLIP connection.When you choose <b>Done</b>, a dialog titled <b>Edit SLIPInterface</b> appears that enables you to further customize the hardware,communication and networking parameters for your SLIP interface.<p><h4><a name="s8.4.3.3">8.4.3.3 PLIP Interface</a></h4><title>PLIP Interface</title><p>To add a PLIP interface to your system you only have to supply the IPaddress, the remote IP address, and the Netmask. You can also select ifyou want to activate the interface at boot time.<p><h4><a name="s8.4.3.4">8.4.3.4 Ethernet, Arcnet, Token Ring and Pocket Adaptor Interfaces</a></h4><title>Ethernet, Arcnet, Token Ring and Pocket Adaptor Interfaces</title><p>If you are adding an ethernet, arcnet, token ring or pocket adapter to yourcomputer you will need to supply the following information:<p><ul><p> <li><b>Device</b>: This is determined by netconfig based on the devices already configured.<p> <li><b>IP Address</b>: Enter an IP address for your network device.<p> <li><b>Netmask</b>: Enter the network mask for your network device.<p> The network and broadcast addresses are calculated automatically based on the IP address and netmask you enter.<p> <li><b>Activate interface at boot time</b>: If you want the device to be configured automatically when your machine boots select this by clicking on the box. <li><b>Allow any user to (de)activate interface</b>: Check this if you want any user to be able to activate or deactivate the interface.<p> <li><b>Interface configuration protocol</b>: If you have a BOOTP or DHCP server on your network and would like to use it to configure the interface, choose the appropriate option; otherwise, choose <b>none</b>.<p></ul><p>After providing the configuration information for your new device,click <b>Done</b>. The device should appear in your<b>Interfaces</b> list as an inactive device. (The active columnshould have a label of <b>no</b>). To activate the new device, firstselect it with a mouse click and then choose on the <b>Activate</b>button. If it does not come up properly, you may need to reconfigure itby choosing on <b>Edit</b>.<p><h3><a name="s8.4.4">8.4.4 Managing Routes</a></h3><title>Managing Routes</title><p>In the Routes management screen you have the ability to add, edit, orremove static networking routes. Adding or editing an entry involvesidentical actions, just like the Hosts panel. An edit dialog box willappear, simply type the new information and click <b>Done</b> whenyou are finished. See figure <a href="doc061.html#f37">37</a> for an example.<p><p><a name="f37"></a><center><img src="img032.gif"></center><p><center>Figure 37:Adding/Editing Routes</center><p><p><p><hr><a href="doc062.html"><img src=../icons/next.gif alt="Next"></a><a href="doc000.html"><img src=../icons/up.gif alt="Up"></a><a href="doc060.html"><img src=../icons/previous.gif alt="Previous"></a><a href="doc000.html"><img src=../icons/contents.gif alt="Contents"></a><a href="doc123.html"><img src=../icons/index.gif alt="Index"></a><hr></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?