Download presentation
Presentation is loading. Please wait.
1
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:50 645-4739 alphonce@buffalo.edu
2
cell phones off (please) 2
3
Announcements Exam 1 handback. HW3 due March 5. Second exam is March 17 (week after spring break). 3
4
Today’s Agenda Networking 4
5
What sorts of networks do we use? –Wired networks (in the labs) –Wireless (WIFI) networks (right now?) –Wireless cell phone networks –Wireless bluetooth (“personal area networks”) 5
6
Configurations Bus network –Devices connected to a common communications channel –Devices are peers –Ex. Typical wired network Star network –Devices connected to a central machine –Devices communicate only via central machine –Ex. Typical wifi network (access point) 6
7
Interconnecting networks Repeater –Propagate signals between networks Bridge –Propagate some signals between networks Switch –Bridge with multiple connections Router –Interface networks with different characteristics (e.g. ethernet bus to WiFi access point) 7
8
Routing messages Each device has an address on the network (IP address) Messages are routed based on destination IP address. –IPv4: 32 bit address (4.3 X 10 9 ) styx.cse.buffalo.edu (128.205.36.7) 10000000.11001101.00100100.00000111 –IPv6: 128 bit address (3.4 X 10 38 ) 8
9
Domain Name System (DNS) Translate from mnemonic form styx.cse.buffalo.edu to IP address 128.205.36.7 (dotted decimal notation) Determine DNS server –Windows run ‘ ifconfig /all ’ at cmd prompt –Mac Network preferences window Look at /etc/resolv.conf file 9
10
Reverse lookup: whois Try: whois 128.205.36.7 whois 142.103.7.7 10
11
127.0.0.1 localhost, or “home” E.g. own machine provides service 11
12
Humor Image from: www.thinkgeek.com 12
13
13 Humor Image from: www.thinkgeek.com
14
DNS hierarchy Root servers Caching domain servers Applications can cache as well 14
15
DNS attacks Denial-of-service –http://royal.pingdom.com/2009/01/26/dns-attack- slowed-down-hundreds-of-thousands-of-websites/http://royal.pingdom.com/2009/01/26/dns-attack- slowed-down-hundreds-of-thousands-of-websites/ DNS poisoning –You look my www.mybank.xyzwww.mybank.xyz –You go to web site of www.crooks.xyzwww.crooks.xyz –They put up page that looks like your bank’s page – and steal your banking log-on information. 15
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.