P-320W User’s Guide
Appendix C Setting up Your Computer’s IP Address
187
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 128
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 129
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 130
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.
Содержание P-320W
Страница 1: ...P 320W 802 11g Wireless Firewall Router User s Guide Version 1 00 11 2005 Edition 1...
Страница 2: ......
Страница 10: ...P 320W User s Guide 10 Customer Support...
Страница 24: ...P 320W User s Guide 24...
Страница 34: ...P 320W User s Guide 34 Chapter 1 Getting to Know Your Prestige...
Страница 44: ...P 320W User s Guide 44 Chapter 2 Introducing the Web Configurator...
Страница 60: ...P 320W User s Guide 60 Chapter 3 Connection Wizard...
Страница 80: ...P 320W User s Guide 80 Chapter 4 Wireless LAN...
Страница 92: ...P 320W User s Guide 92 Chapter 5 WAN...
Страница 118: ...P 320W User s Guide 118 Chapter 10 Static Route Screens...
Страница 140: ...P 320W User s Guide 140 Chapter 13 System...
Страница 149: ...P 320W User s Guide Chapter 15 Tools 149 Figure 99 System Restart...
Страница 150: ...P 320W User s Guide 150 Chapter 15 Tools...
Страница 162: ...P 320W User s Guide 162 Chapter 16 Troubleshooting Figure 109 Security Setting ActiveX Controls...
Страница 172: ...P 320W User s Guide 172 Appendix B IP Subnetting...
Страница 194: ...P 320W User s Guide 194 Appendix E PPTP...