Presentation is loading. Please wait.

Presentation is loading. Please wait.

Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.

Similar presentations


Presentation on theme: "Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University."— Presentation transcript:

1 Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University

2 Section Overview TCP/IP Basics TCP/IP Configuration TCP/IP Network Testing Dynamic Host Config Protocol (DHCP) Wireless Networking

3 References CQU 85321 System Administration Course Chapter 15

4 TCP/IP Protocol Stack Physical Layer (media) Link Layer (Device Drivers) Network Layer (IP) Transport Layer (TCP,UDP) Application (FTP, HTTP, DNS)

5 EIPT/U TCP/IP Packet Encapsulation UTP/PSTN Ethernet/PPP IP TCP/UDP Service Data Data T/UData IPT/UData E

6 Connecting to a Network Hostname and IP Address assignment Configuration of hardware Default route (gateway) assignment Name Service Configuration Testing and troubleshooting

7 Hostnames Uniquely identifies each system Fully Qualified Domain Name hostname.site.domain[.country] Country: 2 letter identifier for country Domain: Type of site (edu, com, org) Site: Unique name of organization Hostname: Unique name of system hostname : Display or set system name

8 IP Addresses Unique for each connection (interface) Consists of 4 octets (#.#.#.#) Network portion Host portion Special Addresses Network Address Broadcast Address

9 IP Address Classes Class 1 st Byte Format Total Hosts A 0 – 126N.H.H.H16 Million B128 – 191N.N.H.H64 Thousand C192 – 239N.N.N.H254 D224 – 239-(Multicast) E240 – 254-(Experimental)

10 Subnet Masks Splits networks into subnetworks Separates address into 2 parts 1’s – Network Portion 0’s – Host Portion Example: Class C Network Address: N.N.N.H Mask: 255.255.255.0 (255 = 11111111) CIDR Notation: N.N.N.H/24

11 Interface Configuration Hardware to connect to network Common interfaces Ethernet Modem Loopback ( lo ) Interface ifconfig – View/Configure interface ipconfig – View interface (Windows)

12 Ethernet Addressing Assigned by manufacturer (hardware) Must be absolutely unique Address format 6 octets in hex (#:#:#:#:#:#) First 3 octets: Manufacturer Identifier Last 3 octets: Card serial number Used for local network communication

13 Translates IP addresses to Ethernet (MAC) addresses Address Resolution Protocol Who is 10.0.0.3? 10.0.0.110.0.0.210.0.0.310.0.0.4 I am (1:2:3:7:8:9) arp –a : View the cache

14 Connects Networks together If destination not on local network, packets sent through gateway Default Gateways route : Display/configure routing

15 RedHat Network Files /etc/sysconfig/network HOSTNAME GATEWAY /etc/sysconfig/network-scripts/ ifcfg-[interface] BOOTPROTOONBOOT IPADDRNETMASK USERCTLBROADCAST NETWORK ifup/ifdown [interface]

16 Name Services /etc/hosts Local configuration Localhost – 127.0.0.1 /etc/resolv.conf Domain Name Service (DNS) lookup search : domains to search if not FQDN nameserver (3): Nameservers to consult /etc/nsswitch.conf

17 DNS Name Resolution 1 2 3 45 678 host.domain.comdns.domain.comdns.iupui.edudns.cs.iupui.edu Root Server Non-Recursive Recursive

18 Network Testing Localhost reachability Hostname reachability Local network reachability Internet network reachability DNS resolution

19 Network tools ping – Reachability test traceroute – Routing performance netstat – Network performance stats tcpdump – Packet sniffing nslookup/dig – DNS Queries Configuration tools (already discussed)

20 Dynamic Host Config Protocol Client broadcasts a request for an IP address and network information Server leases address to client Lease must be renewed periodically Easy to make global network changes Linux: BOOTPROTO=dhcp

21 Windows Networking

22 Windows CLI ipconfig – Display Interface Settings ping – Destination reachability tracert – Router hops to destination netstat – Performance statistics nslookup – DNS lookups route – Set/Display gateway netsh – Change Interface Settings

23 netsh Examples Display Interfaces netsh interface show interface Configure Interface netsh interface ip set address \ local static [ip-addr] [netmask] \ [default-gw] 1 DNS Server Setting netsh interface ip set dns local \ static [ip-addr]

24 Wireless Networks Extend the network Included in many devices now Laptops Smart Phones DSL/Cable Modems Bandwidth (YMMV!) 802.11b – 11 Mbps 802.11g – 54 Mbps 802.11n - 150/300/450/600 Mbps Set Service Identifier (SSID) Shared “key” between clients and Access Point (AP) Automatically detected vs. assigned

25 Wireless Security Issues Sniffing / War Driving Bandwidth stealing Access to private resources Security Measures Non-broadcasting SSIDs MAC Access Control Lists (ACLs) WEP???? WPA/WPA2

26 RedHat ifcfg- Additions TYPE=Wireless ESSID=[ssid name] CHANNEL=[1-11] MODE=[Auto|Managed|Ad-hoc] Can set manually with /sbin/iwconfig

27 Virtual Private Networks Virtual Private Network VPNServer ApplicationServer Internet

28 Point to Point Tunneling Protocol Based on Point to Point Protocol (PPP) Generic Routing Encapsulation (GRE) IP Hdr GRE Hdr Encrypted GRE Body PPPData TCPIP  Weaknesses  Poor Encryption  Session handshaking done in clear

29 IPSec Part of IPv6 Spec Authentication Header (AH) IPv4 Hdr Auth Hdr TCP/UDP Hdr & Data  Encapsulating Security Payload (ESP) IPv4 Hdr ESP Hdr Encrypted Payload Data TCP Hdr ESP Auth ESP Tlr  Modes: Transport and Tunnel


Download ppt "Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University."

Similar presentations


Ads by Google