ITEC4610 Network Switching and Routing - PowerPoint PPT Presentation

1 / 76
About This Presentation
Title:

ITEC4610 Network Switching and Routing

Description:

ITEC4610 Network Switching and Routing . ... – PowerPoint PPT presentation

Number of Views:89
Avg rating:3.0/5.0
Slides: 77
Provided by: acth
Category:

less

Transcript and Presenter's Notes

Title: ITEC4610 Network Switching and Routing


1
ITEC4610Network Switching and Routing
  • ??. ???????? ?????
  • ????????????????????????????????????????????(ICE)
  • MUT
  • Email prawit_at_mut.ac.th
  • ????????? F402
  • ????????????????????? (02)9883655 ??? 220
  • ??????????????????????? 065343850

2
Class II????????????????????????????????????????
?????????????????
  • ??. ???????? ?????
  • ????????????????????????????????????????????(ICE)
  • MUT
  • Email prawit_at_mut.ac.th
  • ????????? F402
  • ????????????????????? (02)9883655 ??? 220
  • ??????????????????????? 065343850

3
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ???????????? (Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

4
??????????????????????????????? Switching ???
Routing
  • Hardware Address (Physical address) ???? MAC
    address (?????? Layer 2 (Data Link Layer))
  • 00-11-2F-47-F3-CD
  • Logical Address ???? IP Address (?????? Layer 3
    (Network Layer))
  • 192.168.1.2
  • Port Number (?????? Layer 4 (Transport Layer))
  • 0-65535

5
Physical Address ???? MAC address
  • ?????????????????????????????????? 2
    ????????????????????????????????
  • ???????????????????????????? ?
  • ????????
  • Unicast Address
  • Multicast Address
  • Broadcast Address

6
????????? MAC address (Ethernet)
  • Unicast Addresses
  • 00-11-2F-47-F3-CD
  • Multicast Addresses
  • Broadcast Addresses
  • FF-FF-FF-FF-FF-FF

7
???????????????????????? (Unicasting)
8
???????????????????????? (Unicasting)
9
???????????????????????????
-????? 1 ???????? ??? A ?? C
10
???????????????????????? (Multicastting)
11
???????????????????????? (Broadcasting)
12
Logical Address ???? IP Address
  • ?????????????????????????????????? 3
    ???????????????????
  • ??????????????????????????????????????????
  • ??????????????????????????????????????????????????
    ??????????????
  • ????????
  • Unicast Address
  • Multicast Address
  • Broadcast Address

13
IP Addresses
14
????????????????? IP address
-?????????????? ??????? IP ???????????????????
?????????????????? Network Address Translation
(NAT)
15
???????????? (Port Address)
  • ??????????????? Transport Protocol ????
  • UDP, TCP, STCP
  • ????????????????????????????????????????????
  • Network layer----gtTransport Layer
  • ????????????????????????????? 0-65535
  • (16 ???)
  • ????????????????????????????????????? ????

Port Protocol Description
7 Echo Echoes a received datagram back to the sender
9 Discard Discards any datagram that is received
11 Users Active Users
13 Daytime Returns the date and the time
17 Quote Returns a quote of the day
19 Chargen Returns a string of characters
53 Nameserver Domain Name Services
67 Bootps Server port to download bootstrap information
68 Bootpc Client port to download bootstrap information
69 TFTP Trivial File Transfer Protocol
111 RPC Remote Procedure Call
123 NTP Network Time Protocol
161 SNMP Simple Network Management Protocol
162 SNMP Simple Network Management Protocol(trap)
Well-known UDP port
16
???????????? (Port Address)
Port Protocol Description
7 Echo Echoes a received datagram back to the sender
9 Discard Discards any datagram that is received
11 Users Active Users
13 Daytime Returns the date and the time
17 Quote Returns a quote of the day
19 Chargen Returns a string of characters
20 FTP,Data File Transfer Protocol (data connection)
21 FTP,Control File Transfer Protocol (control connection)
23 TELNET Terminal Network
25 SMTP Simple Mail Transfer Protocol
53 DNS Domain Name Server
67 BOOTP Bootstrap Protocol
79 Finger Finger
80 HTTP Hypertext Transfer Protocol
111 RPC Remote Procedure Call
Well-known TCP port
17
?????????????????????????????
18
Any questions and/or Discussion ?
19
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

20
???????? ?? IP Address
  • ?????????????????????????????????????????????
  • - 1 IP address ??????????????????????????????
  • ??????????????????????????????????????????????????
    ????????????????

21
??????? IP addresses
  • IP version 4
  • 32 ???
  • ???? 203.1148.152.9
  • IP version 6 (IPng)
  • 64 ???

22
??????????????????????? IP
  • ??????????????????????????????????????????????????
    ??????????????????????????
  • ??????? IP ??????? 1 ?????????????????????????????
    ????? 1 ???????????????????
  • ??????? IP ???????????????????????????????????????
    ???????
  • IPv4 ??? 32 ???(4 octets) ???????????????? 232
    ??????? 4,294,967,296 ???????

23
?????????????? IP
  • Binary (??? 2 ) --- gt11001011 10010100 10011000
    1000011
  • Dotted Decimal (??? 10 ) --- gt203.148.152.103
  • Hexadecimal (??? 16 ) --- gt0xCB489867

24
??????????????????? IP ??????????
  • Classful Addressing
  • Subnetting Supernetting
  • Classless Adddressing

25
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

26
???????????????? IP ????????????(Classful IP
Addressing)
27
???????? IP Address Class
28
Netid (????????????????????????????????????) ???
Hostid (????????????????????????????????)
29
Class A
30
?????????????????????????????????????????
  • ??????????????????????????????????????????????????
    ??????????????????????????????
  • ??????????? IP ??????????? 66.102.7.147
    ?????????????????????????????????????????????????
  • ?????????!!!!!!!
  • ???????????????????? ??????? IP
    ??????????????????? Classful
  • ?????? ??? 66.0.0.0 ????????? 66.102.7.147
    ??????????? IP ??? class A ???????????????????????
    ??????????????????????????????????

31
Network Mask
  • ????????????????????????????????????????? IP
    ??????????????
  • ??????? IP 66.102.7.147
  • Network mask 255.0.0.0
  • ???????????????? ?
  • 66.102.7.74255.0.0.066.0.0.0

32
???????????????????? Classful Addresses
33
Multihomed Devices
34
Direct Broadcast Address
  • ??????????? IP ???????????????????????????????????
    ??????????????????????????????????(Local Network)

35
Limited Broadcast Address
  • ??????????? IP ???????????????????????????????????
    ??????????????????????????????(Local Network)

36
This Host on This network
A host that does not know its IP address uses the
IP Address 0.0.0.0 as the source address and
255.255.255.255 as the destination address to
send a message to bootstrap server
37
Specific Host on this network
  • This address is used by a router or host to send
    a message to a specific host on the same network

38
Loopback Address
39
Private Address
  • ??????????????????????????????????????????????????
    ? IP ??????????
  • ?????????????????????????????????????? Network
    Address Translation (NAT)

Prefix Range Addresses
10/8 10.0.0.0-10.255.255.255 224
172.16/12 172.16.0.0-172.31.255.255 220
192.168/16 192.168.0.0-192.168.255.255 216
40
???????? Classful Addressing
  • ?????????????????????????????
  • Class A networks28, hosts224
  • Class B networks216, hosts216
  • Class C networks224, hosts28
  • ????????????????? IP
  • Class A
  • Class B
  • Class C

41
Any questions and/or Discussion ?
42
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

43
Sunetting
  • ?????????????????? 1 ?????????????????????????????
    ?????????? ? ?????????????????????????????????????
    ???????????
  • ????????????????????????????? 1 ?????????????????

44
?????????????????????????????????????
45
????????????????????????????????????
46
Subnetid(????????????????????)
  • ????????????????????????????????????????? 1
    ?????????? 141.14.0.0 ???????????????????????????

47
Subnet mask
  • ????????????????????????????????????????? IP
    ???????????????????????????????????

48
VLSM (Variable-length Subnet Masking)
49
Any questions and/or Discussion ?
50
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

51
Superneting
  • ???????????????? Class B ???????
  • ????????? IP ?? Class C ????????
  • ???? ????????????????????????? 1000 ??????? IP
  • ?????????????????? ??? Class C ????? 4
    ????????????????????????????? IP ?????????? 1024
    ???????(2564)
  • ??????????????????????????????????????????????????
    ?????????????????????????????????????????????????
    class C 4 ????????????

52
??????????????????????????? Supernetting
  • ??????????(block) ??? IP ?????????????????????
    ???? 1 2 4 8 16 32 ...
  • ???????????????????????????
  • ??????? 3 ?????????????????????? block ???

53
Exercise
  • ????????????????????????? IP ????? 600 ???????
    ??????????????? IP class C ???????????????????
    Supernetting ???
  • 198.37.32.0 198.37.33.0 198.37.34.0
  • 198.37.32.0 198.37.42.0 198.37.52.0 198.37.62.0
  • 198.37.31.0 198.37.32.0 198.37.33.0
  • 198.37.32.0 198.37.33.0 198.37.34.0 198.37.35.0

54
Exercise (cont.)
  • 198.37.32.0 198.37.33.0 198.37.34.0
  • ?????? ????? block ????????????????? 2
  • 198.37.32.0 198.37.42.0 198.37.52.0 198.37.62.0
  • ?????? ???????????????????
  • 198.37.31.0 198.37.32.0 198.37.33.0
  • ?????? 31 ???????????????? 4 ???
  • 198.37.32.0 198.37.33.0 198.37.34.0 198.37.35.0
  • ???

55
Supernet mask
  • Supernet Address
  • Supernet mask

56
???????????
57
????????????????????????????????????????????
  • Default mask
  • Subnet mask
  • Supernet Mask

58
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

59
???????????????? IP ??????????????? (Classless IP
Addressing)
  • ???????????????? class
  • ???????????? IP ??? Classful ???? 28 216 224
  • Supernet ?????????? class C ???? Class
  • 2562n(n2,7)
  • ??????????????? Classless ????????????????????????
    ????????? 2 ???????
  • ????????? classless ???????????????? CIDR
    (Classless Interdomain Routing Protocol)

60
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

61
CIDR
  • A.B.C.D/n
  • n ?????????????? ???? 1 ??? Mask
  • ?????????????? slash notation ???? CIDR notation
  • n ?????????????? prefix
  • 32-n ??????????????? suffix

62
Any questions and/or Discussion ?
63
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DSN (Domain Name System)

64
Private address and Network Address Translation
  • ??????? IP ???????????????????????????????????????
    ????????
  • ??????? IP ????????????????????????????? IP
    ???????
  • ??????? IP ?????????????????????????????
  • NAT ??????????????????? IP ???????????????????????
    ???????? IP ????????

65
??????? IP ???????
Prefix Range Addresses
10/8 10.0.0.0-10.255.255.255 224
172.16/12 172.16.0.0-172.31.255.255 220
192.168/16 192.168.0.0-192.168.255.255 216
66
NAT
67
Address Translation
  • ??????? IP ????????????????????? NAT
  • ?????????????? IP ??????????????????????????? IP
    ???????
  • ??????????????????????? ? ??? IP Header

68
?????????????????????? IP
69
?????????????? NAT
  • ??????????????
  • ?????????????? IP ??? TCP ????????????????????????
    ??????? NAT
  • ????????????????????????????????????????

70
??????????? NAT ???????????
  • ????????????????????? IP ???????????????
  • ??????????????????????????????????????????????
  • ?????????????????????????????????????
  • ????????????????? IP ???????
  • ???????????????? IP addresses ??? port Addresses

71
???????? Port mapped NAT
Private Addresses Private Port External Address External Port NAT port Protocol
192.168.1.2 1400 66.102.7.147 80 1500 TCP
192.168.1.3 1400 66.102.7.147 80 1589 TCP
72
?????????????????
  • ??????????????????????????????? Switching ???
    Routing
  • ??????????????????????? IP
  • ???????????????? IP ????????????( Classful IP
    Addressing)
  • ???????????????????? (Subnetting)
  • ??????????????? (Supernetting)
  • ???????????????? IP ??????????????? (Classless IP
    Addressing)
  • CIDR
  • Private address and Network Address Translation
  • DNS (Domain Name System)

73
DNS
  • ??????? Domain name ??????????? IP
  • ???? www.mut.ac.th --gt 203.148.159.2
  • www.google.co.th ?66.102.17.147
  • ???????????????????????(????????????????)

74
Summary
  • ??????????????????????????? routing ??? switching
  • Physical Address
  • Logical Address
  • Port Address
  • ?????????????????????? IP
  • Original Classful Addressing Network ID, host ID
  • Subnetting Network id, subnet id, host ID
  • Classless Addressing(ICDR) Network prefix,
    Hostid
  • Private Address Network Address Translation
    (NAT)
  • DSN

75
??????????????????????????
  • 1.1.4
  • 1.2.3-1.2.6

76
??????????????????????? (??????????)
  • Network Mobility for UAV (Unmanned Aerial
    Vehicles)
  • C
  • OTCL
  • Basic Networking
  • Mobile IP
  • C or C
  • Basic Networking
  • WLAN Handoff
  • C
  • OTCL
  • Basic Networking
  • Anomaly Detections
  • Perl
  • Linux
  • Basic networking
  • MPEG-4
  • C
  • OTCL
  • Basic Networking
Write a Comment
User Comments (0)
About PowerShow.com