P-660R-T Series User’s Guide
Appendix B Setting up Your Computer’s IP Address
272
1
Assuming that you have only one network card on the computer, locate the
ifconfig-
eth0
configuration file (where
eth0
is the name of the Ethernet card). Open the
configuration file with any plain text editor.
• If you have a dynamic IP address, enter
dhcp
in the
BOOTPROTO=
field. The
following figure shows an example.
Figure 192
Red Hat 9.0: Dynamic IP Address Setting in ifconfig-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
• If you have a static IP address, enter
static
in the
BOOTPROTO=
field. Type
IPADDR
= followed by the IP address (in dotted decimal notation) and type
NETMASK
= followed by the subnet mask. The following example shows an example
where the static IP address is 192.168.1.10 and the subnet mask is 255.255.255.0.
Figure 193
Red Hat 9.0: Static IP Address Setting in ifconfig-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=
192.168.1.10
NETMASK=
255.255.255.0
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
2
If you know your DNS server IP address(es), enter the DNS server information in the
resolv.conf
file in the
/etc
directory. The following figure shows an example where
two DNS server IP addresses are specified.
Figure 194
Red Hat 9.0: DNS Settings in resolv.conf
nameserver 172.23.5.1
nameserver 172.23.5.2
3
After you edit and save the configuration files, you must restart the network card. Enter
./network restart
in the
/etc/rc.d/init.d
directory. The following figure
shows an example.
Содержание ADSL2+ 4-port Gateway P-660H-D Series
Страница 1: ...P 660R T Series ADSL2 Ethernet Gateway User s Guide Version 3 40 6 2005 ...
Страница 23: ...P 660R T Series User s Guide 23 ...
Страница 27: ...P 660R T Series User s Guide 27 ...
Страница 31: ...P 660R T Series User s Guide 31 Introduction to DSL ...
Страница 39: ...P 660R T Series User s Guide 39 Chapter 1 Getting To Know Your Prestige ...
Страница 57: ...P 660R T Series User s Guide 57 Chapter 4 Password Setup ...
Страница 65: ...P 660R T Series User s Guide 65 Chapter 5 LAN Setup ...
Страница 75: ...P 660R T Series User s Guide 75 Chapter 6 WAN Setup ...
Страница 87: ...P 660R T Series User s Guide 87 Chapter 7 Network Address Translation NAT Screens ...
Страница 95: ...P 660R T Series User s Guide 95 Chapter 10 Remote Management Configuration ...
Страница 107: ...P 660R T Series User s Guide 107 Chapter 11 Universal Plug and Play UPnP ...
Страница 127: ...P 660R T Series User s Guide 127 Chapter 14 Menu 1 General Setup ...
Страница 131: ...P 660R T Series User s Guide 131 Chapter 15 Menu 2 WAN Backup Setup ...
Страница 135: ...P 660R T Series User s Guide 135 Chapter 16 Menu 3 LAN Setup ...
Страница 157: ...P 660R T Series User s Guide 157 Chapter 19 Static Route Setup ...
Страница 161: ...P 660R T Series User s Guide 161 Chapter 20 Bridging Setup ...
Страница 177: ...P 660R T Series User s Guide 177 Chapter 21 Network Address Translation NAT ...
Страница 205: ...P 660R T Series User s Guide 205 Chapter 24 System Information and Diagnosis ...
Страница 217: ...P 660R T Series User s Guide 217 Chapter 25 Firmware and Configuration File Maintenance ...
Страница 223: ...P 660R T Series User s Guide 223 Chapter 26 System Maintenance ...
Страница 227: ...P 660R T Series User s Guide 227 Chapter 27 Remote Management ...
Страница 237: ...P 660R T Series User s Guide 237 Chapter 28 IP Policy Routing ...
Страница 241: ...P 660R T Series User s Guide 241 Chapter 29 Call Scheduling ...
Страница 253: ...P 660R T Series User s Guide 253 Chapter 30 Troubleshooting Figure 173 Java Sun ...
Страница 257: ...P 660R T Series User s Guide 257 Appendix A ...
Страница 281: ...P 660R T Series User s Guide 281 Appendix C IP Subnetting ...
Страница 284: ...P 660R T Series User s Guide Appendix D Splitters and Microfilters 284 ...
Страница 285: ...P 660R T Series User s Guide 285 Appendix D Splitters and Microfilters ...
Страница 287: ...P 660R T Series User s Guide 287 Appendix E Command Interpreter ...
Страница 295: ...P 660R T Series User s Guide 295 Virtual Circuit Topology ...