Page 261 / 296 Scroll up to view Page 256 - 260
Appendix D Setting up Your Computer’s IP Address
NBG334W User’s Guide
261
"
Make sure you are logged in as the root administrator.
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 159
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.
Page 262 / 296
Appendix D Setting up Your Computer’s IP Address
NBG334W User’s Guide
262
Figure 160
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.
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 161
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.
Page 263 / 296
Appendix D Setting up Your Computer’s IP Address
NBG334W User’s Guide
263
Figure 162
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.
Figure 163
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 164
Red Hat 9.0: Static IP Address Setting in ifconfig-eth0
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
Page 264 / 296
Appendix D Setting up Your Computer’s IP Address
NBG334W User’s Guide
264
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 165
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 166
Red Hat 9.0: Restart Ethernet Card
25.6.1
Verifying Settings
Enter
ifconfig
in a terminal screen to check your TCP/IP properties.
Figure 167
Red Hat 9.0: Checking TCP/IP Properties
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]
[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 / 296
NBG334W User’s Guide
265
A
PPENDIX
E
Wireless LANs
Wireless LAN Topologies
This section discusses ad-hoc and infrastructure wireless LAN topologies.
Ad-hoc Wireless LAN Configuration
The simplest WLAN configuration is an independent (Ad-hoc) WLAN that connects a set of
computers with wireless stations (A, B, C). Any time two or more wireless adapters are within
range of each other, they can set up an independent network, which is commonly referred to as
an Ad-hoc network or Independent Basic Service Set (IBSS). The following diagram shows an
example of notebook computers using wireless adapters to form an Ad-hoc wireless LAN.
Figure 168
Peer-to-Peer Communication in an Ad-hoc Network
BSS
A Basic Service Set (BSS) exists when all communications between wireless stations or
between a wireless station and a wired network client go through one access point (AP).
Intra-BSS traffic is traffic between wireless stations in the BSS. When Intra-BSS is enabled,
wireless station A and B can access the wired network and communicate with each other.
When Intra-BSS is disabled, wireless station A and B can still access the wired network but
cannot communicate with each other.

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

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

Share
Top