Presentation is loading. Please wait.

Presentation is loading. Please wait.

Networking for server IT specialists Zdeněk Filipec Network Engineer.

Similar presentations


Presentation on theme: "Networking for server IT specialists Zdeněk Filipec Network Engineer."— Presentation transcript:

1 Networking for server IT specialists Zdeněk Filipec Network Engineer

2 Table of content Networking models ISO/OSI, TCP/IP ISO/OSI layers 4,3 and 2 Life cycle of PDU Routing table Port aggregation VLANs and trunks Basic troubleshooting Practical session: sniffing Networking for server IT specialists

3 Legend Networking for server IT specialists: Legend

4 Comparing ISO/OSI x TCP/IP model Networking for server IT specialists: Networking models ISO/OSI, TCP/IP

5 Application layer Provides the interface between the applications we use to communicate and the underlying network over which our messages are transmitted. Application layer protocols are used to exchange data between programs running on the source and destination hosts. Presentation layer: coding, compression, encryption Session layer: create and maintain dialogs between source and destination applications Networking for server IT specialists: Application layer

6 Application layer protocols Domain Name Service Protocol (DNS) is used to resolve Internet names to IP addresses. Hypertext Transfer Protocol (HTTP) is used to transfer files that make up the Web pages of the World Wide Web. Simple Mail Transfer Protocol (SMTP) is used for the transfer of mail messages and attachments. Telnet, a terminal emulation protocol, is used to provide remote access to servers and networking devices. File Transfer Protocol (FTP) is used for interactive file transfer between systems Networking for server IT specialists: Application layer Application layer applications Applications, services

7 Transport layer Networking for server IT specialists: Transport layer Segmenting Data Reassembling Segments Identifying the Applications

8 Transport layer Networking for server IT specialists: Transport layer

9 Transport layer Networking for server IT specialists: Transport layer

10 Ports Networking for server IT specialists: Transport layer

11 Port numbers Networking for server IT specialists: Transport layer

12 Source / destination port Networking for server IT specialists: Transport layer

13 Command netstat All active connections –Parameters: -aall connection and listening servers -rrouting table -vdetailed output -nconnections in numeric format (no DNS) –Only windows: -p just specified protocol (tcp, udp,…) -b name of the program using given socket –Only Unix -u | -t just specified protocol (tcp, udp,…) -p PID and program name using the socket Networking for server IT specialists: Transport

14 Headers Networking for server IT specialists: Transport layer

15 three-way handshake Networking for server IT specialists: Transport layer

16 TCP communication Networking for server IT specialists: Transport layer

17 Network layer Networking for server IT specialists: Network layer

18 Network layer Networking for server IT specialists: Network layer Connectionless – No connection is established before sending data packets Best effort (unreliable) – No overhead is used to guarantee packet delivery Media Independent – Operates independently of the medium carrying the data

19 Header Networking for server IT specialists: Network layer

20 IPv4 address Networking for server IT specialists: Network layer

21 Subnet mask Networking for server IT specialists: Network layer

22 Binary x decimal Networking for server IT specialists: Network layer

23 Address types Networking for server IT specialists: Network layer Network address - The address by which we refer to the network Broadcast address - A special address used to send data to all hosts in the network Host addresses - The addresses assigned to the end devices in the network

24 Types of communication Networking for server IT specialists: Network layer Unicast - the process of sending a packet from one host to an individual host Broadcast - the process of sending a packet from one host to all hosts in the network Multicast - the process of sending a packet from one host to a selected group of hosts (PIM, IGMP)

25 IPv4 classes Networking for server IT specialists: Network layer localhost 127.0.0.1 Automatic Windows address 169.254.0.0/16 Private ranges 10.0.0.0/8 172.16.0.0/16 – 172.31.0.0/16 192.168.0.0/16

26 Network layer Networking for server IT specialists: Network layer

27 IPv6 Networking for server IT specialists: Network layer (IPv6) IPv6 conventions use 32 hexadecimal numbers, organized into 8 quartets of 4 hex digits separated by a colon, to represent a 128-bit IPv6 address, for example: –2340:1111:AAAA:0001:1234:5678:9ABC Writing or typing 32 hexadecimal digits, although more convenient writing or typing 128binary digits, can still be a pain. To make things a little easier, two conventions allow you to shorten what must be typed for an IPv6 address: –Omit the leading 0s in any given quartet. –Represent one or more consecutive quartets of all hex 0s with “::” but only for one such occurrence in a given address. For example, consider the following address. The bold digits represent digits in which the address could be abbreviated: –FE00:0000:0000:0001:0000:0000:0000:0056 FE00::1:0:0:0:56 FE00:0:0:1::56

28 IPv6 Networking for server IT specialists: Network layer (IPv6)

29 IPv6 configuration Networking for server IT specialists: Network layer (IPv6)

30 IPv6 stateless autoconfig Networking for server IT specialists: Network layer (IPv6) Host PC1, using stateless autoconfig, sends the RS message as an IPv6 multicast message destined to all IPv6 routers on the local link. The RS asks all routers to respond to the questions “What IPv6 prefix(s) is used on this subnet?” and “What is the IPv6 address(s) of any default routers on this subnet?” The figure also shows R1’s response (RS), listing the prefix (2340:1111:AAAA:1::/64), and with R1’s own IPv6 address as a potential default router.

31 IPv6 stateless autoconfig Networking for server IT specialists: Network layer (IPv6) For example, the following two lines list a host’s MAC address, and corresponding EUI-64 format Interface ID, assuming the use of an address configuration option that uses the EUI-64 format: –0034:5678:9ABC –0234:56FF:FE78:9ABC –Note: To change the seventh bit (left-to-right) in the example, hex 00 converts to binary 00000000, change the seventh bit to 1 (00000010), convert back to hex, for hex 02 as the first two digits.

32 IPv6 address types Networking for server IT specialists: Network layer (IPv6)

33 Data link layer Networking for server IT specialists: Data link layer

34 Data link layer Networking for server IT specialists: Data link layer

35 Duplex Networking for server IT specialists: Data link layer

36 MAC address Networking for server IT specialists: Data link layer

37 Addressing Networking for server IT specialists: Data link layer

38 Ethernet Networking for server IT specialists: Data link layer

39 Address resolution protocol (ARP) Networking for server IT specialists: ARP

40 ARP table Networking for server IT specialists: ARP Windows C:\Users\IBM_ADMIN>arp -a Interface: 192.168.1.189 --- 0xe Internet Address Physical Address Type 192.168.1.1 d8-50-e6-60-1f-a0 dynamic 192.168.1.83 e0-3f-49-1e-20-e8 dynamic 192.168.1.255 ff-ff-ff-ff-ff-ff static 224.0.0.252 01-00-5e-00-00-fc static 224.1.1.1 01-00-5e-01-01-01 static 255.255.255.255 ff-ff-ff-ff-ff-ff static Unix # arp -a IP address HW type HW address 172.16.1.3 10Mbps Ethernet 00:00:C0:5A:42:C1 172.16.1.2 10Mbps Ethernet 00:00:C0:90:B3:42 172.16.2.4 10Mbps Ethernet 00:00:C0:04:69:AA ARP parameters -aall entries in ARP cache -s manual adding of static entry -d deleting the entry from ARP In Unix plus: -v detailed output -n in numeric format (without DNS translation)

41 Encapsulation / decapsulation Networking for server IT specialists: Encapsulation

42 Router Networking for server IT specialists: Routing table The primary responsibility of a router is to direct packets destined for local and remote networks by: –Determining the best path to send packets –Forwarding packets toward their destination The router uses its routing table to determine the best path to forward the packet. When the router receives a packet, it examines its destination IP address and searches for the best match with a network address in the router's routing table. The routing table also includes the interface to be used to forward the packet.

43 Routing table Networking for server IT specialists: Routing table

44 Routing table Networking for server IT specialists: Routing table Windows: –route print –http://technet.microsoft.com/en-us/library/cc779122%28v=ws.10%29.aspxhttp://technet.microsoft.com/en-us/library/cc779122%28v=ws.10%29.aspx –http://technet.microsoft.com/en-us/library/cc754012%28v=ws.10%29.aspxhttp://technet.microsoft.com/en-us/library/cc754012%28v=ws.10%29.aspx Unix –route –n –http://www.cyberciti.biz/faq/what-is-a-routing-table/http://www.cyberciti.biz/faq/what-is-a-routing-table/

45 Default route Networking for server IT specialists: Routing table Windows: –route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 Unix –route add default gw 191.255.255.1 eth0

46 Switch Networking for server IT specialists: Switch Dedicated bandwidth to each port Collision-free environment Full-duplex operation

47 Life cycle of PDU Networking for server IT specialists: Life cycle of PDU

48 Life cycle of PDU Networking for server IT specialists: Life cycle of PDU

49 Port aggregation Networking for server IT specialists: Port aggregation

50 Port aggregation Networking for server IT specialists: Port aggregation

51 Port aggregation Networking for server IT specialists: Port aggregation Two to eight links of either Fast Ethernet (FE), Gigabit Ethernet (GE), or 10-Gigabit Ethernet (10GE) are bundled as one logical link of Fast EtherChannel (FEC), Gigabit EtherChannel (GEC), or 10-Gigabit Etherchannel (10GEC), respectively. This bundle provides a full-duplex bandwidth of up to 1600 Mbps (eight links of Fast Ethernet), 16 Gbps (eight links of Gigabit Ethernet), or 160 Gbps (eight links of 10-Gigabit Ethernet).

52 Port aggregation Networking for server IT specialists: Port aggregation

53 Port aggregation Networking for server IT specialists: Port aggregation Configuration Unix (bonding) –http://backdrift.org/howtonetworkbondinghttp://backdrift.org/howtonetworkbonding –http://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/98469- ios-etherchannel.htmlhttp://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/98469- ios-etherchannel.html Windows –http://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/98469- ios-etherchannel.htmlhttp://www.cisco.com/c/en/us/support/docs/lan-switching/etherchannel/98469- ios-etherchannel.html

54 VLANs Networking for server IT specialists: VLANs

55 VLANs Networking for server IT specialists: VLANs A VLAN allows a network administrator to create groups of logically networked devices that act as if they are on their own independent network, even if they share a common infrastructure with other VLANs A VLAN is a logically separate IP subnetwork. VLANs allow multiple IP networks and subnets to exist on the same switched network. VLAN types: –Data, Voice, Management, Native Trunk –A trunk is a point-to-point link between two network devices that carries more than one VLAN. A VLAN trunk allows you to extend the VLANs across an entire network.

56 Trunk link Networking for server IT specialists: VLANs

57 Trunk link Networking for server IT specialists: VLANs The frame header does not contain information about which VLAN the frame should belong to. Subsequently, when Ethernet frames are placed on a trunk they need additional information about the VLANs they belong to. This is accomplished by using the 802.1Q encapsulation header. This header adds a tag to the original Ethernet frame specifying the VLAN to which the frame belongs.

58 Intra-VLAN communication Networking for server IT specialists: VLANs

59 Practical session Networking for server IT specialists: Practical session Basic troubleshooting –Interface up/down –ping (ping GW) –IP configuration (ipconfig x ifconfig) –traceroute Sniffing –ICMP –ARP –DHCP –DNS nslookup x dig –HTTP –three way handshake

60 Sniffing DHCP Networking for server IT specialists: Sniffing

61 ... Networking for server IT specialists Thank you for the attention Questions


Download ppt "Networking for server IT specialists Zdeněk Filipec Network Engineer."

Similar presentations


Ads by Google