THE HARDWARE

Cables

  • Baseband – means the cable will use all its bandwidth for each transmission
  • Broadband – the cable can split its bandwidth for many simultaneous transmissions

Twisted pair

  • A plastic coating on the surface of each wire prevents the metal in one wire from touching the metal in the other. The twists help reduce interference.

  • Baseband (10BaseT or 100BaseT)

Unshielded twisted pair (UTP) - Comes in Categories

  • Cat1: Standard phone lines
  • Cat2: Speeds to 4 Mbps
  • Cat3: Speeds to 16 Mbps
  • Cat4: Speeds to 20 Mbps
  • Cat5: Speeds to 100 Mbps
  • Cat5e: Speeds to 350Mbps
  • Cat6: Speeds to 1000Mbps

Shielded twisted pair – (generic picture FTP)

  • Additional conductive insulation is added outside the wire pairs and then grounded

Coax

  • RG-58 or 802.3
  • High immunity from interference (EMI and RFI)
  • RG-6 – Satellite and TV
  • RG-8 – Thicknet (often called yellow cable)

Fiber optic

  • Transmits light rather than electricity
  • Complete immunity from interference (EMI and RFI)
  • Broadband
  • Multi-mode
    • Cheaper transmitters (LEDs)
    • Lower bandwidth
    • Shorter distance
  • Single-mode
    • More expensive transmitting device (laser)
    • Higher bandwidth
    • Longer distance
  • Hybrid cables
  • Media converters (to multi, single, CATx)


Connectors

Twisted Pair – RJ-x (Registered Jack)

RJ-11 – For your phone lines. Silver satin is the term used for the type of cable for phone extension cords – not twisted.

RJ-45 – larger than you standard phone jacks. 8-pin.

Female

Male



Pin 1


Pin 8

 

Notes that the green pair has to be separated befor crimping on the RJ45 plug

    Pins 1 & 2 are the transmit pins
    Pins 3 & 6 are the Reseive pins
    Pins 4, 5, 7 & 8 are not used

 

 

 

 

 

*Note: Historically even though pins 4,5,7, and 8 are not used, it is mandatory that they be present in the cable.

Crimping

The individual wires are organized and then placed in the male RJ45. A crimping tool will create a connection and make sure they stay there.




Standard or crossed-over wire order



Standard (note that orange goes to pin 1)


Crossed over (note that green goes to pin 1)


A standard cable order is used from computer to hub. A crossed over cable order is used from computer to computer, or hub to hub.

Just have one end crossed over, both ends would be a "crossed-over cross over" – which puts you right back to standard J.



BNC – For cable

  • The basic BNC connector is a male type mounted at each end of a cable. This connector has a center pin connected to the center cable conductor and a metal tube connected to the outer cable shield. A rotating ring outside the tube locks the cable to any female connector.
  • BNC T-connectors (used with the 10Base-2 or thin-net systems) are female devices for connecting two cables to a network interface card (NIC).

  • 10Base5 or thick net does not use a T-connector. Thick Net uses AUI (Attachment Unit Interface) cable and external transceivers.


(how to) Put an end to fiber cable!
Cable lengths are cut and an end is then glued on and polished for best refraction.

There are 3 basic cable ends used today
•    SC (Standard Connector) – mostly single mode
•    ST (Straight Tip) – mostly multimode
•    MT-RJ (Mechanical Transfer) – multimode only
 
Making fiber cables
To get what you need to do this (cable, ends, tools, testing equipment) requires a sizable capital investment – and certainly isn’t a part of A+ training. If you want to learn more about to make fiber cables, follow this link:

http://www.jimhayes.com/VHO/fiberterm/f-term1.htm



NICs


Plug into MOBO (or USB or PC Card Bus) and physically manage network communications. Converts data from parallel to serial and into appropriate signals for transmission media.


Does it have a pulse?

  • Link light
  • Activity light
  • Speed light/color

Transceiver – manages the signals that the media requires. Combo Cards contain more that one transceiver.


MAC (Media Access Control) Address - This 6-byte hexadecimal address is unique for each NIC card. Part of the address contains the manufacturer. No two NIC cards in the entire universe should have the same MAC Address!

Resources - Don’t forget. A NIC needs an IRQ and base I/O addresses. Watch out for conflicts in the Device Mangler. Older ISA cards may need their jumpers or DIPs set. Newer devices (PCI) will be Plug and Play.

Bus Speed – A fast network needs a fast computer bus. ISA might be fine for 10Mbps but for 100+, better go with PCI. For 1000Mbps maybe even go with PCI-64!


Ethernet (IEEE 802.3)

IEEE 802.3 LANs come in a few flavors, each with it's own media, speed and cable length issues:

Technology

Data Rate (Mbps)

Maximum Segment Length (m)

Media

"Ethernet"

10

500

50-ohm coax – thick

10Base5 (IEEE 802.3)

10

500

50-ohm coax – thick

10Base2 (IEEE 802.3)

10

185

50-ohm coax – thin (RG-58) – cheapernet

1Base5 (IEEE 802.3)

1

250

Unshielded twisted-pair wire (CAT 3-5)

10BaseT (IEEE 802.3)

10

100

Unshielded twisted-pair wire (CAT 3-5)

10Broad36 (IEEE 802.3)

10

1800

75-ohm coax

100BaseTX

100

100

Unshielded twisted-pair wire (CAT 5 or 5e)



MODEMS

Signaling

  • Computers "speak" digital
  • Telephone connections have historically "spoken" analog – they were designed to carry sound

Digital data had to be converted to something that the POTS (plain old telephone system) could understand – and that is sound waves.


Modems do this: they Modulate from digital to analog and then Demodulate from analog to digital.

Direction – these are generic modem / networking terms - Very A+

Simplex

Data flows in one direction only. A radio that is transmitting data would be an example of simplex.

Half duplex

Here data flows in both directions but not at the same time. When one device is sending then the other device must wait. Microcomputer communications are often done in half duplex mode. This is analogous to a walkie talkie or VHF radio - one person must wait for the other to finish before she can respond.

Full duplex

Data is able to flow in both directions at the same time. Microcomputers and also larger computers use this mode. This is analogous to a telephone conversation - although they shouldn't, both people can speak at the same time!


Put it all into single file!

  • Computers have many wires to carry each bit of data – Parallel
  • The POTS has fewer data wires (like uh, two) – Serial

Converting parallel to serial and back is done with a UART (Universal Asynchronous Receiver Transmitter)

The UART chip determines the speed and efficiency of your serial port. External modems use the UART on the MOBO, internal modems use their own. Device Manager/Ports/COM1/Port Settings/Advanced

  • The original IBM UART chip was the 8250. It came in three variations, none of which could communicate above 9600 BPS.
  • Although standard modems cannot go this fast, the 16550A UART in most PCs allows data rates of up to 115k/bps.
  • One of the latest PC UARTs, the 16650, allows for data rates as high as 230Kbps and has a 32-bit FIFO buffer. If you are using a connection that goes above the 115Kbps limit of the 16550 (certain new ISDN connections come to mind) then you will need to upgrade the UART by probably purchasing a serial port expansion card.

Public switched telephone network (PSTN)

  • Communication backbone for most PC users worldwide
  • Originally designed with enough bandwidth to carry voice signals
  • This limited bandwidth is what has kept traditional phone modems from entering the "broadband" age

Serial Transfer Modes

There are two modes of transfer when using a serial data communications link.

  • Asynchronous
  • Synchronous

Asynchronous

  • Easy to implement across various systems
  • In this data transfer method, EACH byte in "encapsulated"
  • Sends an intermittent stream of bytes
  • Uses start, stop and parity bits for EACH byte. Can also use 5-8 bit bytes - protocol
  • BOTH sides must agree on protocol

Synchronous

  • Harder to implement across various systems
  • In this data transfer method, a GROUP of bytes are "encapsulated"
  • Constant flow of data
  • CRC (Cyclical Redundancy Check) – more reliable than parity
  • BOTH sides must agree on protocol

Error detection and correction
Modems support advanced error detection protocols at the hardware level.  Detection and correction is achieved using such protocols as:

  • MNP (Microcom Networking Protocol) - a protocol developed by Microcom for full-duplex, error free communication.  MNP was developed to detect, and correct, errors resulting from noisy telephone connections.
  • ITU-T (The International Telecommunication Union) is a home for various other protocols, known for their names, which start with a V (otherwise known as the V-Dot Standards).
    • V.42: An error control standard for 9600 bps modems.  This standard supports MNP-2 through MNP-4.
    • V.34:  An error control standard for 28,800 bps modems/14,400 bps faxes.
    • V.90:  An error control standard for 56,000 bps modems.
    • V.92: QuickConnect, Modem-on-Hold and PCM Upstream

Compression
Due to the low transmission speeds achieved by modems, most modems support a variety of data compression protocols.  Using these protocols, the data throughput can rise by an average of 50%.

  • MNP-5: Maximizes data transfer rates, and provides compression.
  • V.42bis: An extension to V.42 that includes data compression.  Also supports MNP-5.

Installing a modem in Windows 9x

With introduction of the Windows 9x Operating Systems, the Plug and Play feature should detect the modem and setup of the software. If Plug and Play does not detect your modem follow the procedure below (please note that the different systems have slightly different sequences):

  1. Reboot the computer to see if it detects it this time.
  2. If not, then click Start, Settings, and Control Panel, then double click the Modem icon. Click on the Add button.

Install any drivers specific to your machine at this time.

Note that internal modems contain their own COM ports. External modems will require a COM port from the system – that’s OK, you usually have 2 physical ports available. Internal modems will usually be assigned a COM port greater than 4.

IRQ-multiplying fact - If you are not using your COM ports, you can turn them off in CMOS setup. That may free up 2 IRQs.


Installing a modem in Windows 2K and XP

From Network Connections choose, Make New Connection (or New Connection Wizard in XP)



What happens next really varies between 2K and XP. Bottom line is that from here you will be given a list of the kinds of connections that you might want to make (modem, LAN etc.). Once you have chosen a modem connection you will need to supply the phone number and details of your provider – note that AOL users do not have to go through these steps as AOL has it’s own proprietary connection methods.





When you choose to connect, you simply go to My Network Places and double-click on your Dial-up Connection.



Or, if your browser is configured to Dial when run (as in the example on the right), you may connect by simply running your browser.






















Configuring your modem using the AT command set

Hayes AT command set. The AT prefix (also known as the Attention Code) signals the modem that one or more commands are to follow.

Command mode

  • Modems start up in command mode
  • User may issue AT commands only in command mode

On-line mode

  • Online mode starts when there is a data connection
  • Commands sent when the modem is on-line are treated as data, not as commands
  • You may reenter command mode by typing +++ rapidly

AT Commands may be entered from most communications software packages - like the HyperTerminal program that is included with Windows.


Basic Dialing Commands - all commands (except A/ and +++) end with the Enter key. Red stuff is known A+ material…

  • AT - This prefix begins all but two commands you issue to the modem locally, and tells the modem "ATtention! commands to follow".
  • ATD [string] - Dial. The string parameter can contain up to 45 characters, the phone number and dial modifiers. (e.g. ATDT5551212) to dial a number. Add a T (Tone dial) or a , P (Pulse dial) at the head of the string when dialing out.
  • ATH - Hang up.
  • ATA - immediately go off hook and send carrier.
  • ATS0=1 - (at s zero) Places modem in auto-answer mode - it will pick up the next incoming phone call.
  • ATS0=0 - (at s zero) Takes modem out of auto-answer mode - it will not pick up the next incoming phone call.
  • AT&F – reset the modem to factory settings
  • ATZ – Loads default initialization strings

  • +++ -- Escape Character Sequence. This command is issued when the modem is in "on-line" mode and is designed to send the modem into "command mode". After a second, the modem will respond with OK, and you are in command mode. This may or may not disconnect you. This is one of the two commands that do not use the AT prefix or a carriage return to enter.

  • ATO -- On-Line. Returns the modem to the on-line mode after the escape sequence above (+++).
  • ATA/ -- Re-execute last command - there is no need to press enter after this command.
  • ATE1 -- Echo on. This allows the characters you are entering in command mode to be displayed in the terminal window.
  • ATV1 -- Verbose Result Codes. This allows you to get responses like "OK" instead of numbers.
  • ATLn -- Speaker Volume. Choose 0-3 (off - high).
  • ATMn -- 0 = speaker off. 1 = speaker on (goes quiet after carrier detect)
  • ATXn -- Set various result responses. X0-X3 disable dialtone. X4 is usually default.
  • ATIn -- Gets information about modem.

NOTE: You may put many commands on the same line. They do not have to be separated, but you can use spaces if you want to. Use a comma ( , ) to pause one second between commands entered on the same line. ATDT9,555-1212 will pick up phone, dial a 9, wait one second and dial the rest of the number.

 

DSL



Advantages of DSL:

  • You can leave your Internet connection open and still use the phone line for voice calls - low-pass filters
  • The speed is much higher than a regular modem (1.5 Mbps vs. 56 Kbps)
  • DSL doesn't necessarily require new wiring; it can use the phone line you already have
  • The company that offers DSL will usually provide the modem as part of the installation - DSL transceiver or ATU-R
  • ADSL provides a dedicated connection from each user back to the DSLAM

Disadvantages of DSL:

  • A DSL connection works better when you are closer to the provider's central office - distance-sensitive technology
  • The connection is sometimes faster for receiving data than it is for sending data over the Internet - asymmetric DSL (ADSL)
  • The service is not available everywhere

Other Types of DSL

  • Very high bit-rate DSL (VDSL) - This is a fast connection, but works only over a short distance.
  • Symmetric DSL (SDSL) - This connection, used mainly by small businesses, doesn't allow you to use the phone at the same time, but the speed of receiving and sending data is the same.
  • Rate-adaptive DSL (RADSL) - This is a variation of ADSL, but the modem can adjust the speed of the connection depending on the length and quality of the line.

 

CABLE

Advantages of Cable:

  • Always on connection
  • The speed is much higher than a regular modem (1.5 Mbps vs. 56 Kbps)
  • Cable uses your existing cable TV connection
  • The company that offers Cable will usually provide the modem as part of the installation
  • Not distance-sensitive

Disadvantages of Cable:

  • Share common bandwidth within cable neighborhood - up to ~1000 customers
  • The connection is faster for receiving data than it is for sending data over the Internet
  • The service is not available everywhere

DOCSIS: Data Over Cable Service Interface Specification. The dominating cable modem standard. Defines technical specifications for both cable modem and Cable Modem Termination System - CMTS.

http://www.dslreports.com/

 

Wireless – Very A+

The term wireless networking refers to technology that enables two or more computers to communicate using standard network protocols, but without network cabling.


There are two basic types of wireless networks

  • Ad-hoc (or peer to peer)


    Each host can connect directly to another host








  • Access point

    Dedicated hardware or software (computer with wireless card)





Wireless standards

802.11 is the most common standard for the technology underlying wireless. There are various flavors of 802.11. Typical indoor range is 150-300 feet. Outdoor range ~1000 feet. These devices use antennae, so direction or use of the antennae is a consideration. Most manufacturers like the antennae to be straight up.

  • 802.11a
    • 5Ghz band
    • 54Mbps
  • 802.11b
    • 2.4Ghz band
    • 11Mbps
  • 802.11g
    • 2.4Ghz band
    • 54Mbps - (orthogonal WD Mux)
  • 802.1n
    • Backwards compatible with a and b and g
    • Wider and double channels in either 2.4Ghz or 5Ghz
    • Starts at 135Mbps and could go to 540Mbps - (orthogonal WD Mux)
    • Greater coverage
    • True 802.11n due 2006

Wireless technology should be able to interoperate between venders, utilize multiple access points and roam between them, interconnect two LANs, do Internet Connection Sharing – pretty cool when it works.

Security

  • WEP (wireless encryption protocol) uses up to 128 bits for security
  • Allow only specific computers (based on MAC address)
  • Broadcast SSID
    • A SSID is the unique name shared among all points in a wireless network. The SSID must be identical at each point in the wireless network. It is case sensitive and may consist of any character on your keyboard
    • An SSID of ANY will try and connect to any avialable access point
    • Is broadcast from access point
    • For security purposes you may choose to turn SSID broadcasting off
  • There are some inherent security issues with WEP. In practice it has proven to pose a security risk due to poor encryption and static keys. Programs like WEP-crack and AirSnort have been used to crack the encryption in WEP.
  • WPA – Wi-Fi Protected Access is the new security method for Wi-Fi. WPA uses extra-strong encryption algorithms. In addition encryption keys are automatically changed (called rekeying) and authenticated between devices after a specified period of time or after a specified number of packets has been transmitted.

Microsoft supports WPA in XP Home and XP Pro and 2K.

Support

  • XP includes special Wireless features (or you can use vender’s proprietary software)
  • Other OS may require vender software
Shared airways and efficiency

WiFi uses CSMA/CA+ACK to access a shared medium (remember baseband?)
  • If traffic then wait
  • If no traffic then
    • If none for more than prescribed time then send
    • If none for less than prescribed time then wait a random amount of time and (if still none) then send
  • Reciever sends back ACK
    • If sender gets ACK then send data immediately
    • If sender doesn’t get ACK then start all over again…
  • Overhead and interference can cause WiFi to only achieve ~50% of its rated throughput. 
  • Reducing data preamble at AP and station improves efficiency

THE SOFTWARE

Get to know the Internet – Very A+

  • Developed but the DOD (Department of Defense) and called ARPANET (Advanced Research Project Agency network).
  • The Internet is a global network of networks.
  • The default transmission protocol (language, or rules) is called TCP/IP (Transmission Control Protocol / Internet Protocol).
  • Designed for WAN
  • TCP/IP describes the "packaging and presentation" part of data exchange – and relies on other protocols (Ethernet, Token Ring) to provide the "shipping" part.
  • The WWW (World Wide Web) is a graphical way of viewing the Internet
    • HTTP (hypertext transfer protocol - port 80)
    • HTTPS (secure packaging - port 443)
    • SSL (secure connection)
  • POP (110) and SMTP (port 25) for email
  • Telnet (port 23) for remote access
  • FTP (ports 21 & 20)  for file transfer
  • DNS (Domain Name Service - port 53) for name resolution
    • provides a hierarchical namespace that maps to IP addresses
    • Set of databases that contain the Domain names and the actual IP address
    • WINS (Windows Internet Naming Service)
  • Gateway (your network’s connection to another network goes through a gateway)

Get to know your browser

Tools / Internet Options…


Get to know your System’s Features

ICS (Internet Connection Sharing – 98SE, ME, XP)

  • NAT routing protocol
  • Allows many computers to use a single connection to the internet
  • Properties / Advanced for your connection
  • Settings… may be tweaked to allow or restrict individual ports or ICMP messages

















ICF Internet Connection Firewall)

  • A firewall is used to set restrictions on what information is communicated from your network to and from the Internet
  • Dial-up, local area network, PPPoE, or VPN connections
  • You should not enable Internet Connection Firewall on virtual private networking (VPN) connections or on client computers because ICF will interfere with file and printer sharing
  • Requires two NICs


Get to know your provider

ISP – Internet Service provider
Dial Up Networking – Windows 9x wizard for modem connections to the Internet

Other Non-Dial Up connections (DSL, cable, satellite) uses your NIC to place you "on the net"

Network Connection – Windows 2K wizard for setting up any connection to the Internet
Network Setup Wizard – Windows XP wizard for setting up any connection to the Internet – includes the ability to do ICS



Get to know your IP address

IP address (IPv4) – information about network address and host address. 32-bits binary number comprised of 4 bytes (or "octets"). There are enough combinations for over 4 billion different addresses (256 x 256 x 256 x 256).

IPv6 uses a 128-bit binary number.

Dotted decimal is the most human readable form:

Binary - 11000000101010000000000000000001
Dotted decimal - 192.168.0.1


Network ID and host ID Classes (w.x.y.z).

Class

w value

Network ID

Host ID

Available networks

Available hosts per net

A

1–126

w

x.y.z

126 16,777,214

B

128–191

w.x

y.z

16,384

65,534

C

192–223

w.x.y

z

2,097,151

254

The address 127 is reserved for loopback testing and interprocess communication on the local computer; it is not a valid network address. 127.0.0.1 is also called localhost

Host IDs 0 and 255 (like 192.168.3.255) should not be assigned to a computer; they are used as broadcast addresses that are typically recognized by all computers.

W Addresses 224 and above are reserved for special protocols and are not used as host addresses.

Internal numbers – Some numbers are not meant to be on the Internet. Non-routable.

10.0.0.0 through 10.255.255.255 (Class A Network)
172.16.0.0 through 172.31.255.255 (Class
B Network)
192.168.0.0 through 192.168.255.255 (Class
C Network)


Subnet mask – Identifies which portion of the IP address is network ID and which is host ID. Both mask and IP address are required.

Address class Bits for subnet mask Subnet mask
Class A 11111111 00000000 00000000 00000000 255.0.0.0

Class B

11111111 11111111 00000000 00000000

255.255.0.0

Class C

11111111 11111111 11111111 00000000

255.255.255.0

Custom subnets – hardware, performance, geography, topology.

Class C

11111111 11111111 11111111 11000000

255.255.255.192

Note: All systems connected to the same local area network (or physical segment) must have the same subnet mask.


Bottom line – you need both an IP address and a subnet mask. OK, so where do they come from?


DHCP - Very A+

Dynamic Host Configuration Protocol (DHCP) is for the automatic allocation of IP addresses.

  • An individual IP address from a predetermined range is assigned dynamically to any DHCP client requesting an address.
  • DHCP also allows you to establish a lease time that defines how long an IP address is to remain valid.
  • Other configuration parameters can also be assigned using DHCP, such as subnet mask, DNS and WINS server identification
  • Like when you have the machine at the 7-Eleven pick the lottery numbers

Static Address Management - Very A+

  • YOU pick the numbers
APIPA (Automatic Private IP Addressing) – Without the presence of DHCP, each host finds an IP address in the range of 169.254.x.x with a subnet of 255.255.0.0. Win98-SE and up.

HOSTS file – like a local DNS. LMHOSTS for netbios naming.
  • For life beyond a single network segment.
  • Broadcast name resolution – resource consuming
  • >=NT     - \%systemroot%\system32\drivers\etc
  • = 98     - \%systemroot% (hosts.sam)
  • Can be used to steal Internet sites
  • http://www.mvps.org/winhelp2002/hosts.htm

Internet Assigned Numbers Authority (IANA). Now ARIN, APNIC, RIPE.


Get to know your Clients and Services - Very A+

Client for Microsoft Networks - provides mechanisms for logging on; locating, opening, reading, writing, and deleting files; submitting print requests. Allows for SMB (server message block) communication with other types of SMB-based clients: SAMBA (Linux), WFWG, OS/2 Warp, etc.

NetBIOS – manages user connections. Verifies named resources, establishes connections (sessions), and sends connectionless datagrams across a LAN.

File and Printer Sharing - become a peer server. Share your files and printers across the network.

Appletalk – Apple’s network protocol.

IPX/PX – Novel built NetWare around this protocol. Small footprint and relatively fast. May be routed. Games sometimes use this protocol.

NetBEUI – Created by IBM, this protocol was the default protocol used in Windows 3.11 (Windows for Workgroups), LANtastic and Windows 95. Small footprint and faster than IPX/SPX, this protocol may NOT be routed. Best served with 10 or less hosts

And of course TCP/IP



Access Control – who controls the security of the resource? (Win9x)

  • Share-level – with this method the host of the resource controls access with passwords for each resource shared. (Peer to Peer)
  • User-level – with this method a separate server manages resource security based on user and password.

Workgroup – logical group of hosts that handle their own login and security

Domain – hosts in a domain do not handle login and security



Get to know your Utilities - Very A+

Under Windows 95/98/NT/2000, a number of utilities are available to monitor the status of both TCP/IP and NetBIOS, including:

PING – see if a node is listening

Ping yourself: ping localhost or ping 127.0.0.1

TRACERT – watch all the nodes a message visits on it’s way to its destination

Trace the hops to yahoo: tracert www.yahoo.com

WINIPCFG – check your IP numbers (IPCONFIG for Windows2K and DOS 9x or WNTIPCFG for 2K if you download it)


IPCONFIG (Displays current IP information for all adapters)
Useful options include:
/all displays detailed adapter information
/release_all releases DHCP address lease for all adapters
/renew_all renews DHCP address lease for all adapters

IP Extras!

Note – Not A+

Very cool XP CMD line utility to view your MAC address and transport information: getmac (or net config rdr)
Another useful CMD might be: systeminfo

Ohhh, now this is a good one. Available in XP
From the command prompt - netsh diag gui
Or from Run - hcp://system/netdiag/dglogs.htm

From the command prompt – netsh diag show test

Win2K and up…

Nice batch file tools
To set IP setting from the command line. You may giveth - netsh interface ip set address name="lan" static 192.168.0.100 255.255.255.0 192.168.0.1 1
Or you may taketh away - netsh interface ip set address name="lan" dhcp


To save your network settings:
netsh -c interface dump > NetworkSettings.txt

To restore saved network settings:
netsh -f NetworkSettings.txt


NSLOOKUP (Displays information that you can use to diagnose Domain Name System (DNS) infrastructure. You may view and set your DNS parameters. The NSLOOKUP command-line tool is available only if you have installed the TCP/IP protocol.)
Useful options include:
/? displays detailed help information
set do=domainname Sets your DNS to domainname
finger username Finds a user. Takes an e-mail address as input and returns information about the user who owns that e-mail address.


The following tools are not listed in the A+ objectives. However they are useful and should be learned.

NBTSTAT – display the statistics for NetBIOS (naming of machine) over TCP/IP. NetBIOS is not routable. "NetBIOS over TCP/IP" is.


NBTSTAT (NetBIOS over TCP/IP Statistics)
Useful options include:
-n Lists your NetBIOS names and services.
-s Lists your current NetBIOS sessions.
/? Displays help on options.

nbtstat –n

nbtstat –s

nbtstat –a computername



NETSTAT – display the TCP ports that are active on a computer


NETSTAT (Network Statistics)
Useful options include:
-a Displays all listening ports and active connections.
-n Displays addresses and port numbers in numerical form.
-es Extreme Interface Statistics
/? Displays help on options.

Open a IE browser window:

netstat –a
netstat –n

Ports… What if some unknown / strange port is in the list and connected to some unknown / strange "foreign" address?


NET – allows maintenance and viewing of network information


NET (Network command)
Useful NET commands include:
VIEW Lists available computers with NetBIOS support.
VIEW \\computername Lists visible shares for specific computer computername.
USE * \\computername\share Maps a remote computer’s share to your first avail. drive letter
HELP Displays help on commands.

Edited (2003) By Vlad Magero