Difference between revisions of "Fall 2008 NAD710 Weekly Schedule"

From CDOT Wiki
Jump to: navigation, search
(Introduction to IPv6)
(NetworkManager)
 
(21 intermediate revisions by 2 users not shown)
Line 138: Line 138:
 
   NetworkManager (pid 2239) is running...
 
   NetworkManager (pid 2239) is running...
 
** Stop the service daemon (Don't do this if you are connected to the system remotely. If you do, you will get cut off.)
 
** Stop the service daemon (Don't do this if you are connected to the system remotely. If you do, you will get cut off.)
   [root@fc9 ~]# service NetworkManager Stop
+
   [root@fc9 ~]# service NetworkManager stop
 
   Stopping NetworkManager daemon:                            [  OK  ]
 
   Stopping NetworkManager daemon:                            [  OK  ]
 
** Start he service daemon
 
** Start he service daemon
   [root@fc9 ~]# service NetworkManager Start
+
   [root@fc9 ~]# service NetworkManager start
 
   Setting network parameters...                              [  OK  ]
 
   Setting network parameters...                              [  OK  ]
 
   Starting NetworkManager daemon:                            [  OK  ]
 
   Starting NetworkManager daemon:                            [  OK  ]
Line 180: Line 180:
 
*** Authoritative and non-authoritative responses
 
*** Authoritative and non-authoritative responses
  
==Lab==
+
==Lab 5==
 
[[NAD710 Lab 5|Caching only Name Server]]
 
[[NAD710 Lab 5|Caching only Name Server]]
  
Line 217: Line 217:
 
** syntax
 
** syntax
 
** mount options: ro/rw, soft/hard, intr, rsize/wsize, proto, nfsvers
 
** mount options: ro/rw, soft/hard, intr, rsize/wsize, proto, nfsvers
 +
*** fstab example: 192.168.100.85:/home/myself  /mnt/test  nfs  users,noauto,rw  0  0
 +
*** NFS client mount example: mount -t nfs -o ro 192.168.100.85:/data/altamonte /mnt/test
 
* NFS security issues
 
* NFS security issues
 
 
  
 
= Week 7 (Oct 13) - NFS II =
 
= Week 7 (Oct 13) - NFS II =
 
+
==Lab 6==
 
[[NAD710 Lab 6|NFS Lab]]
 
[[NAD710 Lab 6|NFS Lab]]
  
Line 256: Line 256:
 
** Enter password for "root"
 
** Enter password for "root"
  
==Labs==
+
==Lab 7==
 
[[NAD710 Lab7]]
 
[[NAD710 Lab7]]
  
Line 297: Line 297:
 
*** OSPF
 
*** OSPF
  
== Lab ==
+
== Lab 9 ==
 
[[NAD710 Lab9]]
 
[[NAD710 Lab9]]
  
Line 313: Line 313:
  
 
=== Notes ===
 
=== Notes ===
====Basci IPv6====
+
====[http://www.faqs.org/rfcs/rfc2460.html IPv6]====
* 128 Bit address space
+
* New features:
 +
** Expanded Addressing Capabilities
 +
** Header Format Simplification
 +
** Improved Support for Extensions and Options
 +
** Flow Labeling Capability
 +
** Authentication and Privary Capabilities
 +
* Supports 128 Bit address space
 
* IPv6 Addressing Format - Hexadecimal Colon Notation
 
* IPv6 Addressing Format - Hexadecimal Colon Notation
 
* Network Autoconfiguration
 
* Network Autoconfiguration
 
* IPv6 Address types  
 
* IPv6 Address types  
 
** Unicast
 
** Unicast
*** Provide-based unicast addresses
+
*** Provider-based unicast addresses
 
*** Special addresses  
 
*** Special addresses  
 
*** Local Addresses
 
*** Local Addresses
*** Aggegatable golbal unicat addresses
+
*** Aggregatable golbal unicat addresses [http://www.faqs.org/rfcs/rfc2374.html RFC2374]
 
** Multicast address
 
** Multicast address
 +
** Anycast address
 +
** (Note: there is no broadcast address in IPv6)
 
* IPv6 Address allocation
 
* IPv6 Address allocation
 
  Some Examples:
 
  Some Examples:
  IPv6 Prefix     Usage
+
  IPv6 Prefix Binary        Usage
  0000::/8         Reserved
+
  0000::/8   0000 0000    Reserved
  2000::/3         Global Unicast
+
  2000::/3   001          Global Unicast
  FC00::/7         Unique local Unicast
+
  FC00::/7   1111 1100    Unique local Unicast
  FE80::/10       Link Local Unicast
+
  FE80::/10   1111 1110 10  Link Local Unicast
  FF00::/8         Multicast
+
  FF00::/8   1111 1111    Multicast
* IPv6 Header
+
* IPv6 Header Format:
 
** Base Header (40 bytes)
 
** Base Header (40 bytes)
* Extension headers
+
** Extension headers:
 +
*** IPv6 Header (when encapsulation of IPv6 with IPv6)
 +
*** Hop-by-Hop Options header
 +
*** Destination Options header
 +
*** Routing header
 +
*** Fragment header
 +
*** Authentication header
 +
*** Encapsulating Security Payload header
 +
*** Destination Options header (to be processed only by the final destination of the packet)
 +
*** upper-layer header
 
* ICMPv6
 
* ICMPv6
=== Lab ===
 
  
= Week 12 (Nov 24) - Project presentations =
+
=== Lab 10 ===
= Week 13 (Dec 1) - Exam review =
+
 
 +
= Week 12 (Nov 24) - Exam Review =
 +
 
 +
# MAC/Physical address: format, how to get them on local and remote machine
 +
# IP Address: Class, format, assignment, subnetting
 +
# Basic TCP/IP protocols: ARP, ICMP, TCP, UDP, SMTP, RIP, RARP
 +
# Kernel module manipulation: lsmod, modprobe, modinfo etc.
 +
# Kernel configurable parameters: eg. /proc/sys/net/ipv4/ip_forward
 +
# Network configuration/setting commands: ifconfig, ip, netstat, route
 +
# Ipv4: netmask, broadcast, routing
 +
# Ipv6: different address types, local link address, global unique address
 +
# NFS and Samba: setup, configuration and security consideration
 +
# Use of tcpdump: capture, display, filtering
 +
# Virtual network interface: eth0, eth0:1, eth0:int, eth0:ext
 +
# DNS: Caching only server, Authoritative server, Resolving server, Zone, Zone file, forward lookup, inverse lookup
 +
# IPV4 Subnetting
 +
# Routing: static route for a small networks
 +
# Routing Protocol and Algorithm: Distance-vector, link-state, RIP, OSPF
 +
 
 +
= Week 13 (Dec 1) - Project Presentations =
 +
 
 
= Exam Week (Dec 8) =
 
= Exam Week (Dec 8) =
  
 
[[Category:LUX]][[Category:NAD]]
 
[[Category:LUX]][[Category:NAD]]

Latest revision as of 19:27, 9 December 2008

The tentative weekly schedule shown here is subject to change.

Week 1 (Sept 1) - Intro to Networking / IP Network Basics

Lecture

  • Program Introduction - by Prof. John Selmys
  • Course Introduction - by Prof. Raymond Chan
    • Lectures and Labs
  • Introduction to Networking
    • Network Types
    • Network Models
      • OSI Reference Model
      • TCP/IP Network Model
  • IP Networking Basics
    • The Client-Server Model
    • Request for Comment
    • Institute of Electrical and Electronics Engineers (IEEE)
    • The Internet, TCP/IP, and other protocol stacks

Lab 1

Discover Linux system information and network settings

Week 2 (Sept 8) - Manual network configuration

Lecture

  • Network drivers and loadable kernel modules
  • Identify the network device name - ifconfig/ip
  • IP Address, Broadcast Address and Network Mask
  • IP Address Class
  • Private IP address space
  • Display the kernel's address resolution table
  • Check the network connectivity to other machines
  • Display kernel routing table

Lab 2

Lab 2107 Settings

Manual Network configuration and Network Traffic Monitoring

Week 3 (Sept 15) - Sysconfig network configuration

Reading

Ethernet Hub

A network hub or repeater hub is a device for connecting multiple twisted pair or fiber optic Ethernet devices together, making them act as a single network segment. Hubs work at the physical layer (layer 1) of the OSI model. The device is thus a form of multiport repeater. Repeater hubs also participate in collision detection, forwarding a jam signal to all ports if it detects a collision.

Hubs also often come with a BNC and/or AUI connector to allow connection to legacy 10BASE2 or 10BASE5 network segments. The availability of low-priced network switches has largely rendered hubs obsolete but they are still seen in older installations and more specialized applications. More on Wikipedia...

Network Switch

A network switch is a broad and imprecise marketing term for a computer networking device that connects network segments.

The term commonly refers to a Network bridge that processes and routes data at the Data link layer (layer 2) of the OSI model. Switches that additionally process data at the Network layer (layer 3) (and above) are often referred to as Layer 3 switches or Multilayer switches.

The term Network switch does not generally encompass unintelligent or passive network devices such as hubs and repeaters.

The first Ethernet switch was introduced by Kalpana in 1989. More on Wikipedia ...

Network Router

A router (pronounced /'rautər/ in the USA, pronounced /'ru:tər/ in the UK, or either pronunciation in Australia) is a computer whose software and hardware are usually tailored to the tasks of routing and forwarding information. More on Wikipedia ...

Lecture

  • Network Communication by Name - /etc/hosts, /etc/resolv.conf
  • Configure Network Name services - nsswitch.conf (Name Service Switch configuration)
  • Using DNS servers: how and why
  • Check the network connectivity to other machines
  • Show active sockets, interfaces, and routing information
  • Connect to hosts on your local network
  • Connect to hosts on different networks with specific routes/gateways
  • Connect to the Internet - Default Gateway

Sysconfig network configuration

  • To start the the program:
    • click on the menu bar "system->Administration->Network"
    • type at the command line "system-config-network"

Lab 3

Monitor and Analyse Network Activities

Week 4 (Sept 22) - NetworkManager

Lecture

NetworkManager Project Web Site

Red Hat Article on NetworkManager

  • Note that the repository for the NetworkManager source code has been moved from cvs to subversion (svn). Details can be found here.

NetworkManager

    • A service daemon that attempts to keep an active network connection available at all times.
    • makes networking configuration and setup painless and automatics as possible.
  • NetworkManagerDispatcher
  • nm-tool - provides information about NetworkManager, device, and wireless networks.
 [rchan@rh9 ~]$ nm-tool
 
 NetworkManager Tool
 
 State: connected
 
 - Device: eth0 ----------------------------------------------------------------
   Type:              Wired
   Driver:            r8169
   State:             connected
   HW Address:        00:1B:38:12:E2:33
 
   Capabilities:
     Supported:       yes
     Carrier Detect:  yes
     Speed:           100 Mb/s
 
   Wired Settings
 
   IP Settings:
     IP Address:      192.168.0.200
     Subnet Mask:     255.255.255.0
     Broadcast:       192.168.0.255
     Gateway:         192.168.0.1
     DNS:             192.168.0.1
 
 
 - Device: wlan0 ----------------------------------------------------------------
   Type:              802.11 Wireless
   Driver:            iwl4965
   State:             disconnected
   HW Address:        00:00:00:00:00:00
 
   Capabilities:
     Supported:       yes
 
   Wireless Settings
     WEP Encryption:  yes
     WPA Encryption:  yes
     WPA2 Encryption: yes
 
   Wireless Access Points
  • NetworkManager Administration
    • Check the service daemon status
  [root@fc9 ~]# service NetworkManager status
  NetworkManager (pid 2239) is running...
    • Stop the service daemon (Don't do this if you are connected to the system remotely. If you do, you will get cut off.)
  [root@fc9 ~]# service NetworkManager stop
  Stopping NetworkManager daemon:                             [  OK  ]
    • Start he service daemon
  [root@fc9 ~]# service NetworkManager start
  Setting network parameters...                               [  OK  ]
  Starting NetworkManager daemon:                             [  OK  ]

Lab 4

Sysconfig Network Configuration

Week 5 (Sept 29) - Nameserver configuration

Lecture

Theory

DNS Slides (pdf format)

Practical

  • Different type of Domain Name Servers
    • Caching only Name Server
    • Primary Name Server
    • Secondary Name Server
  • Free and Open Source Software for running a DNS - BIND
    • BIND source codes and Binary
    • Installation
      • Standard/Normal installation
      • Chroot installation
    • BIND Configuration file(s)
      • Main configuration file - named.conf
      • zone file(s) - depends on the setup in named.conf
        • Forward lookup zone file(s)
        • Reverse lookup zone file(s)
    • Starting and Stopping a BIND DNS
    • BIND DNS maintanence
  • Basic Operation of the Internet Domain Name System
    • Name Server and Resolver
    • Name Server Configuration
    • Resolve Configuration
    • DNS queries and responses
      • Recursive and non-recursive queries
      • Authoritative and non-authoritative responses

Lab 5

Caching only Name Server

Authoritative Name Server

Week 6 (Oct 6) - NFS I

Lecture

Resources

Theory

RPC and Portmapper Slides (pdf format)

Introduction to NFS Slides (pdf format)

Practical

  • Enable NFS
    • Kernel Module
    • Portmapper - the rpcinfo command
    • server daemons:
      • NFS services
      • NFS quotas
      • NFS daemon
      • NFS mountd
  • NFS Server configuration file /etc/exports
    • syntax
    • options: ro/rw, root_squash/no_root_squash/all_squash
    • exportfs command
    • showmount command
  • NFS Client configuration file /etc/fstab
    • syntax
    • mount options: ro/rw, soft/hard, intr, rsize/wsize, proto, nfsvers
      • fstab example: 192.168.100.85:/home/myself /mnt/test nfs users,noauto,rw 0 0
      • NFS client mount example: mount -t nfs -o ro 192.168.100.85:/data/altamonte /mnt/test
  • NFS security issues

Week 7 (Oct 13) - NFS II

Lab 6

NFS Lab

FSOSS and Break Week (Oct 20)

Week 8 (Oct 27) - Midterm Test and Samba I

Midterm Test 1 (10% of final grade): October 28, 2008

  • All material covered from week 1 to week 5
  • Lab 1 to Lab 5
  • Close Book
  • There will be multiple choice questions, and 5 short answer questions.

Readings

Samba Project Web Site

CIFS: Common Internet File System

Implementing CIFS

Topics

Installing samba packages

Samba Configuration file: /etc/samba/smb.conf

smbclient

Mounting Samba Share

  • mount.cifs

Samba Web-based Administration Tool SWAT

  • Install samba-swat package: yum install samba-swat (must have xinetd package installed)
  • Enable swat under xinetd's control: chkconfig swat on
  • Startup xinetd: service xinetd start (or service xinetd reload if xinetd is already running)
  • Point your web browser to http://localhost:901
  • When prompted for authentication:
    • Enter "root" as the user name
    • Enter password for "root"

Lab 7

NAD710 Lab7

Week 9 (Nov 3) - Samba II

Week 10 (Nov 10) - Routing Protocols

Reading Resource

TCP/IP Tutorial and Technical Overview Chapter 5 - Routing Protocols

Dynamic Routing Protocol: RIP

Dynamic Routing Protocol: OSPF

Lecture Topics

  • Single Segement IP networks
  • Configure a Linux System as a router
  • Static Routing
    • Multiple Network Interface
    • add/remove routes
 route add -net [network address] netmask [mask] gw [gw_address]
 route add -net [network address] netmask [mask] dev [interface]
 
 route add default gw [gw_address]
 
 route del -net [network address] netmask [mask] gw [gw_address]
 route del -net [network address] netmask [mask] dev [interface]
 
 route del default gw [gw_address]
  • Dynamic Routing
    • Routing Algoritm
      • Shortest Path Routing
        • Distance Vector
        • Link State
      • Routing Algorithm
      • Interior routing protocols
      • Exterior routing protocols
    • Routing Protocols
      • RIP
      • OSPF

Lab 9

NAD710 Lab9

Week 11 (Nov 17) - IPv6 and the Future of Networking

Midterm Test 2 (20% of final grade): November 18, 2008

  • All material covered from week 1 to week 9
  • Lab 1 to Lab 8
  • Close Book, but you can bring two A4 size reference sheets to your test.
  • There will be NO MC and matching questions. Essay type and short answer questions only.

Introduction to IPv6

Reading

Linux IPv6

Notes

IPv6

  • New features:
    • Expanded Addressing Capabilities
    • Header Format Simplification
    • Improved Support for Extensions and Options
    • Flow Labeling Capability
    • Authentication and Privary Capabilities
  • Supports 128 Bit address space
  • IPv6 Addressing Format - Hexadecimal Colon Notation
  • Network Autoconfiguration
  • IPv6 Address types
    • Unicast
      • Provider-based unicast addresses
      • Special addresses
      • Local Addresses
      • Aggregatable golbal unicat addresses RFC2374
    • Multicast address
    • Anycast address
    • (Note: there is no broadcast address in IPv6)
  • IPv6 Address allocation
Some Examples:
IPv6 Prefix Binary        Usage
0000::/8    0000 0000     Reserved
2000::/3    001           Global Unicast
FC00::/7    1111 1100     Unique local Unicast
FE80::/10   1111 1110 10  Link Local Unicast
FF00::/8    1111 1111     Multicast
  • IPv6 Header Format:
    • Base Header (40 bytes)
    • Extension headers:
      • IPv6 Header (when encapsulation of IPv6 with IPv6)
      • Hop-by-Hop Options header
      • Destination Options header
      • Routing header
      • Fragment header
      • Authentication header
      • Encapsulating Security Payload header
      • Destination Options header (to be processed only by the final destination of the packet)
      • upper-layer header
  • ICMPv6

Lab 10

Week 12 (Nov 24) - Exam Review

  1. MAC/Physical address: format, how to get them on local and remote machine
  2. IP Address: Class, format, assignment, subnetting
  3. Basic TCP/IP protocols: ARP, ICMP, TCP, UDP, SMTP, RIP, RARP
  4. Kernel module manipulation: lsmod, modprobe, modinfo etc.
  5. Kernel configurable parameters: eg. /proc/sys/net/ipv4/ip_forward
  6. Network configuration/setting commands: ifconfig, ip, netstat, route
  7. Ipv4: netmask, broadcast, routing
  8. Ipv6: different address types, local link address, global unique address
  9. NFS and Samba: setup, configuration and security consideration
  10. Use of tcpdump: capture, display, filtering
  11. Virtual network interface: eth0, eth0:1, eth0:int, eth0:ext
  12. DNS: Caching only server, Authoritative server, Resolving server, Zone, Zone file, forward lookup, inverse lookup
  13. IPV4 Subnetting
  14. Routing: static route for a small networks
  15. Routing Protocol and Algorithm: Distance-vector, link-state, RIP, OSPF

Week 13 (Dec 1) - Project Presentations

Exam Week (Dec 8)