Network Configuration: An Introductory Tutorial
Network Configuration: An Introductory Tutorial
An Introductory Tutorial
Network Parameters
The following are common parameters that
need to be set in a networked computer:
DNS Servers (e.g. 137.207.32.32)
The logical (e.g. IP) address of the DNS servers to be
used to resolve domain names
These can be local (e.g. frankie.csfac8.uwindsor.ca) or
remote (e.g. www.google.ca)
Host and domain information
This includes the computer’s name (e.g. elvis) and the
domain on which it resides (e.g. csfac8.uwindsor.ca)
Network Parameters
Logical address (e.g. IP address: 137.207.132.21)
This address is required to participate on a WAN, such as
the Internet
Subnet mask (e.g. 255.255.0.0)
This is the binary mask that should be used to extract the
network and subnet information from the host’s address
Default gateway (e.g. 137.207.32.2)
This is the logical (e.g. IP) address of the router which
should receive the host’s Internet-bound packets
All of these values would be given to a
computer’s user by a network administrator
DNS Servers
DNS servers use the DNS protocol to
determine the logical (e.g. IP) address of a
host, given its domain name
e.g. www.google.ca: 64.233.167.99
Many servers are given (in a specific order) so
that local DNS servers are first
This is because the main DNS servers (Internic)
would not know local domain names
e.g. An Internic server would know about uwindsor.ca, but
not frankie.csfac8.uwindsor.ca)
These server addresses would usually be well-
known
Host and Domain Info
Host name:
This is the name of the host on the network
e.g. elvis
Domain name:
This is the name of the domain on which the host resides
A domain is a named group of computers, which may correspond
to a subnet of addresses
e.g. csfac8.uwindsor.ca refers to the LAN on the 8th floor of
Lambton Tower
Given these two pieces of information, the host’s DNS
name would be elvis.csfac8.uwindsor.ca
Depending on the operating system, the domain may require
that you log on first
The network admin will create one or more domains, but each host’s
user can determine the host name, provided it is unique
Logical Address
This is typically an IP address
This address is necessary for all WAN
(including Internet) communication
Routing uses the logical address for finding
the path for packets
These addresses are normally assigned
automatically by a DHCP/BOOTP server
They can be random addresses on the
network, or sequentially assigned
Subnet Mask
(failure)
Windows IP Configuration
Ethernet adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Edit Configuration Settings
In Windows (2000/XP), editing your network
configuration settings can be done from
TCP/IP properties
Open control panel, select Network Connections
Select your connection, click Properties
Select Internet Protocol (TCP/IP), click Properties
From here you can edit your configuration settings
manually, or specify that a DHCP should provide
the values for you
Check/Edit Configuration Settings
In Linux:
Linux% network-admin
In Solaris:
Solaris% netconfig
In Linux/Solaris:
traceroute www.google.ca
Windows Tracert Output
C:\>tracert www.google.ca
Tracing route to www.l.google.com [66.102.7.104]
over a maximum of 30 hops:
1 1 ms 1 ms 1 ms 192.168.1.1
2 23 ms 16 ms 20 ms 10.71.96.1
3 11 ms 13 ms 13 ms d226-4-1.home.cgocable.net [24.226.4.1]
4 30 ms 15 ms 18 ms cgowave-0-157.cgocable.net [24.226.0.157]
5 30 ms 17 ms 17 ms cgowave-0-101.cgocable.net [24.226.0.101]
6 29 ms 18 ms 17 ms gw-google.torontointernetxchange.net [198.32.245.6]
7 19 ms 37 ms 17 ms 66.249.94.75
8 44 ms 23 ms 31 ms 64.233.175.96
9 53 ms 40 ms * 64.233.175.96
10 98 ms 92 ms 86 ms 66.249.95.215
11 98 ms 89 ms 94 ms 216.239.49.142
12 88 ms 95 ms 90 ms 216.239.49.142
13 104 ms 98 ms 89 ms 216.239.49.142
14 99 ms 94 ms 88 ms 66.102.7.104
Trace complete.
Windows Tracert Output
The output contains lines like the following:
5 30 ms 17 ms 17 ms cgowave-0-
101.cgocable.net [24.226.0.101]
A1 A2 A2
S D
B2 B2
A Problem with Traceroute
One problem with traceroute is that it could read a false
path
If the routers reconfigure (e.g. due to congestion) during its
execution, the readings could be inaccurate
1 A1
A1 A2 A2
S D
B2 B2
A Problem with Traceroute
One problem with traceroute is that it could read a false
path
If the routers reconfigure (e.g. due to congestion) during its
execution, the readings could be inaccurate
1 A1
2 A2
A1 A2 A2
S D
B2 B2
A Problem with Traceroute
One problem with traceroute is that it could read a false
path
If the routers reconfigure (e.g. due to congestion) during its
execution, the readings could be inaccurate
1 A1
2 A2
A1 A2 A2 3 D
S D
B2 B2
A Problem with Traceroute
For networks with ICMP Echo Request/Reply
disabled, the UDP format must be used
Some traceroute commands do not support the
UDP message format, however
LAN Setup
10BaseT Ethernet
802.11g Wireless
10BaseT Ethernet Setup
To connect a 10BaseT Ethernet network:
Install a network interface card (NIC) into each computer
(host)
Connect each NIC to a hub or switch, using unshielded
twisted pair (UTP) cabling
Hub:
Every frame received by a hub is reproduced on all of it’s
ports
Switch (or Cable/DSL Router):
Every frame received by a switch is examined, and the
correct port is determined for the frame
A Cable/DSL also provides network address translation (NAT)
802.11g Wireless Setup