Page 261 / 320 Scroll up to view Page 256 - 260
Appendix A Setting up Your Computer’s IP Address
AMG1302/AMG1202-TSeries User’s Guide
261
Using the K Desktop Environment (KDE)
Follow the steps below to configure your computer IP address using the KDE.
1
Click the Red Hat button (located on the bottom left corner), select
System Setting
and click
Network
.
Figure 150
Red Hat 9.0: KDE: Network Configuration: Devices
2
Double-click on the profile of the network card you wish to configure. The
Ethernet Device
General
screen displays as shown.
Figure 151
Red Hat 9.0: KDE: Ethernet Device: General
If you have a dynamic IP address, click
Automatically obtain IP address settings with
and
select
dhcp
from the drop down list.
If you have a static IP address, click
Statically set IP Addresses
and fill in the
Address
,
Subnet mask
, and
Default Gateway Address
fields.
3
Click
OK
to save the changes and close the
Ethernet Device General
screen.
Page 262 / 320
Appendix A Setting up Your Computer’s IP Address
AMG1302/AMG1202-TSeries User’s Guide
262
4
If you know your DNS server IP address(es), click the
DNS
tab in the
Network Configuration
screen. Enter the DNS server information in the fields provided.
Figure 152
Red Hat 9.0: KDE: Network Configuration: DNS
5
Click the
Devices
tab.
6
Click the
Activate
button to apply the changes. The following screen displays. Click
Yes to save
the changes in all screens.
Figure 153
Red Hat 9.0: KDE: Network Configuration: Activate
7
After the network card restart process is complete, make sure the
Status
is
Active
in the
Network
Configuration
screen.
Using Configuration Files
Follow the steps below to edit the network configuration files and set your computer IP address.
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.
Page 263 / 320
Appendix A Setting up Your Computer’s IP Address
AMG1302/AMG1202-TSeries User’s Guide
263
Figure 154
Red Hat 9.0: Dynamic IP Address Setting in ifconfig-eth0
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 155
Red Hat 9.0: Static IP Address Setting in ifconfig-eth0
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 156
Red Hat 9.0: DNS Settings in resolv.conf
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.
Figure 157
Red Hat 9.0: Restart Ethernet Card
Verifying Settings
Enter
ifconfig
in a terminal screen to check your TCP/IP properties.
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=
192.168.1.10
NETMASK=
255.255.255.0
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
nameserver 172.23.5.1
nameserver 172.23.5.2
[root@localhost init.d]# network restart
Shutting down interface eth0:
[OK]
Shutting down loopback interface:
[OK]
Setting network parameters:
[OK]
Bringing up loopback interface:
[OK]
Bringing up interface eth0:
[OK]
Page 264 / 320
Appendix A Setting up Your Computer’s IP Address
AMG1302/AMG1202-TSeries User’s Guide
264
Figure 158
Red Hat 9.0: Checking TCP/IP Properties
[root@localhost]# ifconfig
eth0
Link encap:Ethernet
HWaddr 00:50:BA:72:5B:44
inet addr:172.23.19.129
Bcast:172.23.19.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST
MTU:1500
Metric:1
RX packets:717 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:730412 (713.2 Kb)
TX bytes:1570 (1.5 Kb)
Interrupt:10 Base address:0x1000
[root@localhost]#
Page 265 / 320
AMG1302/AMG1202-TSeries User’s Guide
265
A
PPENDIX
B
IP Addresses and Subnetting
This appendix introduces IP addresses and subnet masks.
IP addresses identify individual devices on a network. Every networking device (including
computers, servers, routers, printers, etc.) needs an IP address to communicate across the
network. These networking devices are also known as hosts.
Subnet masks determine the maximum number of possible hosts on a network. You can also use
subnet masks to divide one network into multiple sub-networks.
Introduction to IP Addresses
One part of the IP address is the network number, and the other part is the host ID. In the same
way that houses on a street share a common street name, the hosts on a network share a common
network number. Similarly, as each house has its own house number, each host on the network has
its own unique identifying number - the host ID. Routers use the network number to send packets
to the correct network, while the host ID determines to which host on the network the packets are
delivered.
Structure
An IP address is made up of four parts, written in dotted decimal notation (for example,
192.168.1.1). Each of these four parts is known as an octet. An octet is an eight-digit binary
number (for example 11000000, which is 192 in decimal notation).
Therefore, each octet has a possible range of 00000000 to 11111111 in binary, or 0 to 255 in
decimal.
The following figure shows an example IP address in which the first three octets (192.168.1) are
the network number, and the fourth octet (16) is the host ID.

Rate

3.7 / 5 based on 3 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top