Page 236 / 268 Scroll up to view Page 231 - 235
Appendix C Setting up Your Computer’s IP Address
NBG4604 User’s Guide
236
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 155
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 156
Red Hat 9.0: Dynamic IP Address Setting in ifconfig-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
Page 237 / 268
Appendix C Setting up Your Computer’s IP Address
NBG4604 User’s Guide
237
• 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 157
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 158
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 159
Red Hat 9.0: Restart Ethernet Card
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 238 / 268
Appendix C Setting up Your Computer’s IP Address
NBG4604 User’s Guide
238
23.5.1
Verifying Settings
Enter
ifconfig
in a terminal screen to check your TCP/IP properties.
Figure 160
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 239 / 268
NBG4604 User’s Guide
239
A
PPENDIX
D
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 161
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
Page 240 / 268
Appendix D Wireless LANs
NBG4604 User’s Guide
240
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.
Figure 162
Basic Service Set
ESS
An Extended Service Set (ESS) consists of a series of overlapping BSSs, each
containing an access point, with each access point connected together by a wired
network. This wired connection between APs is called a Distribution System (DS).
This type of wireless LAN topology is called an Infrastructure WLAN. The Access
Points not only provide communication with the wired network but also mediate
wireless network traffic in the immediate neighborhood.

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

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

Share
Top