SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
Marc	
  Cluet	
  –	
  Lynx	
  Consultants	
  
	
  
What we’ll cover?
¡  Understand	
  how	
  networking	
  works	
  
¡  Understand	
  all	
  the	
  basic	
  networking	
  protocols	
  
¡  Understand	
  how	
  DNS	
  works	
  
¡  Be	
  more	
  awesome!	
  
Lynx	
  Consultants	
  ©	
  2013	
  
What is a Network?
¡  A	
  computer	
  network,	
  or	
  simply	
  a	
  network,	
  is	
  a	
  collection	
  of	
  
computers	
  and	
  other	
  hardware	
  interconnected	
  by	
  communication	
  
channels	
  that	
  allow	
  sharing	
  of	
  resources	
  and	
  information.[1]	
  
Where	
  at	
  least	
  one	
  process	
  in	
  one	
  device	
  is	
  able	
  to	
  send/receive	
  
data	
  to/from	
  at	
  least	
  one	
  process	
  residing	
  in	
  a	
  remote	
  device,	
  then	
  
the	
  two	
  devices	
  are	
  said	
  to	
  be	
  in	
  a	
  network.	
  A	
  network	
  is	
  a	
  group	
  of	
  
devices	
  connected	
  to	
  each	
  other.	
  Networks	
  may	
  be	
  classified	
  into	
  
a	
  wide	
  variety	
  of	
  characteristics,	
  such	
  as	
  the	
  medium	
  used	
  to	
  
transport	
  the	
  data,	
  communications	
  protocol	
  used,	
  scale,	
  
topology,	
  benefit,	
  and	
  organizational	
  scope.	
  (gotta	
  love	
  Wikipedia)	
  
Lynx	
  Consultants	
  ©	
  2013	
  
So in plain words…
¡  A	
  network	
  connects	
  2	
  or	
  more	
  computers	
  together	
  
§  LAN	
  (Local	
  Area	
  Network)	
  is	
  inside	
  a	
  known	
  location	
  (office,	
  
home,	
  etc)	
  
§  WAN	
  (Wide	
  Area	
  Network)	
  is	
  a	
  
	
  network	
  that	
  connects	
  	
  
	
  two	
  or	
  more	
  LANs	
  
Lynx	
  Consultants	
  ©	
  2013	
  
The Internet
¡  Internet	
  is	
  a	
  network	
  that	
  
connects	
  in	
  a	
  fault	
  tolerant	
  way	
  
many	
  networks	
  
¡  Our	
  current	
  version	
  of	
  the	
  
Internet	
  works	
  over	
  the	
  protocol	
  
IPv4	
  with	
  the	
  new	
  protocol	
  IPv6	
  
starting	
  to	
  have	
  some	
  presence	
  
Lynx	
  Consultants	
  ©	
  2013	
  
Internet IPv4
¡  The	
  most	
  common	
  protocol	
  in	
  Internet	
  is	
  right	
  now	
  IPv4	
  
¡  IPv4	
  has	
  been	
  the	
  Internet	
  protocol	
  since	
  1980	
  (RFC	
  760)	
  
¡  IPv4	
  uses	
  32	
  bit	
  addresses,	
  having	
  a	
  total	
  space	
  of	
  
4,294,967,296	
  unique	
  IPs	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IPv4 IP address
¡  An	
  IPv4	
  IP	
  address	
  is	
  divided	
  in	
  8	
  bit	
  chunks	
  (1	
  byte	
  per	
  
number)	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IPv4 IP netmask
¡  A	
  netmask	
  defines	
  what	
  your	
  local	
  network	
  is,	
  anything	
  
inside	
  that	
  netmask	
  is	
  considered	
  local	
  to	
  you	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IPv4 Problems
¡  IPv4	
  is	
  running	
  out	
  of	
  IP	
  addresses	
  (last	
  /8	
  delivered	
  this	
  year)	
  
¡  IPv4	
  is	
  not	
  secure	
  for	
  most	
  uses	
  
¡  IPv4	
  was	
  designed	
  in	
  the	
  70ies	
  so	
  its	
  up	
  for	
  a	
  review	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IPv6 saves the day!
¡  IPv6	
  is	
  the	
  new	
  internet	
  protocol	
  
¡  Uses	
  128	
  bit	
  addresses	
  
¡  There’s	
  more	
  IP	
  addresses	
  in	
  IPv6	
  than	
  atoms	
  on	
  planet	
  
Earth	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IP gateways
¡  As	
  IP	
  is	
  the	
  Internet	
  Protocol	
  
it	
  has	
  to	
  know	
  how	
  to	
  talk	
  to	
  
other	
  networks	
  
¡  A	
  gateway	
  server	
  is	
  the	
  one	
  
who	
  sits	
  in	
  two	
  networks	
  at	
  
the	
  same	
  time,	
  relying	
  
packets	
  between	
  those	
  
networks	
  
Lynx	
  Consultants	
  ©	
  2013	
  
So then how the Internet works?
¡  Gateways	
  keep	
  relying	
  your	
  
message	
  from	
  network	
  to	
  
network	
  until	
  it	
  reaches	
  the	
  
destination	
  
¡  The	
  path	
  to	
  reach	
  its	
  
destination	
  can	
  change	
  all	
  
the	
  time	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IP protocols
¡  IP	
  can	
  run	
  lots	
  of	
  different	
  
protocols	
  inside,	
  the	
  most	
  
known	
  ones	
  are	
  
§  TCP	
  (Transmission	
  Control	
  
Protocol)	
  
§  UDP	
  (User	
  Datagram	
  Protocol)	
  
§  ICMP	
  (Internet	
  Control	
  Message	
  
Protocol)	
  
Lynx	
  Consultants	
  ©	
  2013	
  
IP protocol definitions
¡  TCP	
  sends	
  packets	
  with	
  complete	
  assurance	
  that	
  they’ll	
  
reach	
  their	
  destination	
  
¡  UDP	
  sends	
  packets	
  without	
  any	
  kind	
  of	
  assurance	
  that	
  they’ll	
  
reach	
  their	
  destination	
  
¡  ICMP	
  sends	
  control	
  messages	
  auxiliary	
  to	
  the	
  IP	
  protocol	
  
(like	
  ping,	
  traceroute,	
  etc)	
  
Lynx	
  Consultants	
  ©	
  2013	
  
TCP Protocol
¡  Keeps	
  track	
  of	
  all	
  the	
  packets	
  it	
  sends	
  (serial	
  
num)	
  
¡  Destination	
  acknowledges	
  (ACK)	
  every	
  
packet	
  received	
  
¡  Packets	
  can	
  arrive	
  in	
  any	
  order	
  and	
  they’ll	
  be	
  
reordered	
  at	
  destination	
  
Lynx	
  Consultants	
  ©	
  2013	
  
TCP Ports
¡  TCP	
  can	
  listen	
  or	
  talk	
  in	
  several	
  “channels”	
  at	
  the	
  same	
  time	
  
¡  Ports	
  are	
  the	
  channels	
  where	
  TCP	
  (and	
  UDP)	
  talk,	
  there’s	
  a	
  
total	
  of	
  65,536	
  channels	
  
¡  Most	
  common	
  Ports	
  
§  80	
  http	
  
§  443	
  https	
  
§  25	
  smtp	
  
§  110	
  pop3	
  
§  143	
  imap	
  
Lynx	
  Consultants	
  ©	
  2013	
  
UDP Protocol
¡  UDP	
  sends	
  packets	
  as	
  TCP	
  to	
  ports,	
  but	
  there’s	
  no	
  guarantee	
  
that	
  the	
  packets	
  will	
  reach	
  its	
  destination.	
  
¡  This	
  is	
  ideal	
  for	
  any	
  kind	
  of	
  protocol	
  that	
  doesn’t	
  need	
  all	
  its	
  
packets	
  
§  Video	
  Streaming	
  
§  Radio	
  Streaming	
  
Lynx	
  Consultants	
  ©	
  2013	
  
ICMP Protocol
¡  ICMP	
  sends	
  auxiliary	
  messages	
  that	
  help	
  Internet	
  routing	
  
¡  Used	
  in	
  all	
  of	
  our	
  common	
  diagnostic	
  tools	
  
§  PING	
  (icmp	
  echo)	
  
§  TRACEROUTE	
  (icmp	
  route)	
  
Lynx	
  Consultants	
  ©	
  2013	
  
ICMP - Ping
¡  Ping	
  sends	
  a	
  packet	
  to	
  a	
  destination	
  and	
  reads	
  the	
  reply	
  
¡  Bases	
  itself	
  on	
  ICMP	
  echo	
  
¡  Can	
  be	
  filtered	
  by	
  routers	
  and	
  inbetween	
  policy	
  filters	
  
Lynx	
  Consultants	
  ©	
  2013	
  
ICMP - Traceroute
¡  Traceroute	
  sends	
  requests	
  to	
  every	
  single	
  hop	
  between	
  us	
  
and	
  a	
  destination	
  
¡  This	
  is	
  based	
  on	
  one	
  special	
  type	
  of	
  ICMP	
  packet	
  
¡  Some	
  routers	
  can	
  decide	
  to	
  filter	
  traceroute,	
  in	
  that	
  case	
  *	
  
will	
  appear	
  instead	
  of	
  the	
  TTL	
  
Lynx	
  Consultants	
  ©	
  2013	
  
What is DNS?
¡  The	
  Internet	
  works	
  with	
  IP	
  addresses	
  
¡  How	
  can	
  we	
  remember	
  always	
  that	
  google	
  is	
  173.194.67.103?	
  
¡  It’s	
  humanly	
  impossible!	
  
Lynx	
  Consultants	
  ©	
  2013	
  
DNS saves the day
¡  DNS	
  is	
  a	
  service	
  (listens	
  on	
  UDP	
  port	
  53)	
  
¡  DNS	
  will	
  give	
  you	
  the	
  IP	
  address	
  of	
  any	
  name	
  you	
  want	
  
¡  It	
  can	
  give	
  you	
  more	
  than	
  one	
  address	
  for	
  extra	
  redundancy	
  
Lynx	
  Consultants	
  ©	
  2013	
  
DNS Servers
¡  DNS	
  is	
  also	
  a	
  security	
  risk,	
  you	
  don’t	
  want	
  everyone	
  to	
  know	
  
your	
  full	
  DNS	
  structure	
  
¡  Big	
  companies	
  will	
  show	
  you	
  a	
  different	
  DNS	
  “view”	
  based	
  
on	
  where	
  you	
  are	
  
Lynx	
  Consultants	
  ©	
  2013	
  
DNS Geo Balanced
¡  DNS	
  is	
  also	
  very	
  useful	
  to	
  be	
  able	
  to	
  send	
  you	
  to	
  the	
  nearest	
  
point	
  
¡  Try	
  resolving	
  www.google.com	
  from	
  different	
  parts	
  of	
  the	
  
world!	
  
Lynx	
  Consultants	
  ©	
  2013	
  
www.google.com	
  is	
  173.194.41.84	
  
www.google.com	
  is	
  74.125.26.104	
  
Questions?
Lynx	
  Consultants	
  ©	
  2013	
  

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Haystack Integration of NFC and DASH7
Haystack Integration of NFC and DASH7Haystack Integration of NFC and DASH7
Haystack Integration of NFC and DASH7
 
Ipv6 packet fomat
Ipv6  packet fomatIpv6  packet fomat
Ipv6 packet fomat
 
Network interview questions
Network interview questionsNetwork interview questions
Network interview questions
 
Introduction of routing
Introduction of routingIntroduction of routing
Introduction of routing
 
VPN Theory
VPN TheoryVPN Theory
VPN Theory
 
How Secure are IPsec and SSL VPN encryptions
How Secure are IPsec and SSL VPN encryptionsHow Secure are IPsec and SSL VPN encryptions
How Secure are IPsec and SSL VPN encryptions
 
Nat
NatNat
Nat
 
Vpn
VpnVpn
Vpn
 
Nat presentation
Nat presentationNat presentation
Nat presentation
 
VoIP
VoIPVoIP
VoIP
 
VOIP QOS
VOIP QOSVOIP QOS
VOIP QOS
 
Internet protocol
Internet protocolInternet protocol
Internet protocol
 
L2 tp
L2 tpL2 tp
L2 tp
 
Types of VPN
Types of VPNTypes of VPN
Types of VPN
 
Remote server
Remote serverRemote server
Remote server
 
Nat cisco
Nat ciscoNat cisco
Nat cisco
 
class12_Networking2
class12_Networking2class12_Networking2
class12_Networking2
 
Ipv6 routing
Ipv6 routingIpv6 routing
Ipv6 routing
 
BGP Flowspec (RFC5575) Case study and Discussion
BGP Flowspec (RFC5575) Case study and DiscussionBGP Flowspec (RFC5575) Case study and Discussion
BGP Flowspec (RFC5575) Case study and Discussion
 
Campus networking
Campus networkingCampus networking
Campus networking
 

Destaque

IPv6 introduction
IPv6 introductionIPv6 introduction
IPv6 introductionGuider Lee
 
Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocolAsmadzakirah
 
IP, DNS and MAC concepts
IP, DNS and MAC conceptsIP, DNS and MAC concepts
IP, DNS and MAC conceptsIrshaad Abdool
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity3Anetwork com
 
Adsl, adsl2, adsl2+ etc
Adsl, adsl2, adsl2+ etcAdsl, adsl2, adsl2+ etc
Adsl, adsl2, adsl2+ etcPrince Mehra
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)Naveen Soni
 
Dns protocol design attacks and security
Dns protocol design attacks and securityDns protocol design attacks and security
Dns protocol design attacks and securityMichael Earls
 
Lan chat system
Lan chat systemLan chat system
Lan chat systemWipro
 
Presentation on DSL & ADSL
Presentation on DSL & ADSLPresentation on DSL & ADSL
Presentation on DSL & ADSLrewa_monami
 
DSL - ADSL
DSL - ADSLDSL - ADSL
DSL - ADSLtucho
 
Lan, man and wan ppt final
Lan, man and wan ppt finalLan, man and wan ppt final
Lan, man and wan ppt finalArushi Garg
 

Destaque (18)

Networking 101
Networking 101Networking 101
Networking 101
 
IPv6 introduction
IPv6 introductionIPv6 introduction
IPv6 introduction
 
Attacking the spanning tree protocol
Attacking the spanning tree protocolAttacking the spanning tree protocol
Attacking the spanning tree protocol
 
IP, DNS and MAC concepts
IP, DNS and MAC conceptsIP, DNS and MAC concepts
IP, DNS and MAC concepts
 
224_xDSL-ADSL-SDSL
224_xDSL-ADSL-SDSL224_xDSL-ADSL-SDSL
224_xDSL-ADSL-SDSL
 
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 Configuring a Cisco Router as a PPPoE Client for DSL Connectivity Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
Configuring a Cisco Router as a PPPoE Client for DSL Connectivity
 
Adsl, adsl2, adsl2+ etc
Adsl, adsl2, adsl2+ etcAdsl, adsl2, adsl2+ etc
Adsl, adsl2, adsl2+ etc
 
Ipv 4 and ipv6
Ipv 4 and ipv6Ipv 4 and ipv6
Ipv 4 and ipv6
 
VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)VLAN Trunking Protocol (VTP)
VLAN Trunking Protocol (VTP)
 
Adsl
AdslAdsl
Adsl
 
VTP
VTPVTP
VTP
 
Laser on Hard Tissue
Laser on Hard TissueLaser on Hard Tissue
Laser on Hard Tissue
 
Dns protocol design attacks and security
Dns protocol design attacks and securityDns protocol design attacks and security
Dns protocol design attacks and security
 
Lan chat system
Lan chat systemLan chat system
Lan chat system
 
Presentation on DSL & ADSL
Presentation on DSL & ADSLPresentation on DSL & ADSL
Presentation on DSL & ADSL
 
DSL - ADSL
DSL - ADSLDSL - ADSL
DSL - ADSL
 
Lan architecture
Lan architectureLan architecture
Lan architecture
 
Lan, man and wan ppt final
Lan, man and wan ppt finalLan, man and wan ppt final
Lan, man and wan ppt final
 

Semelhante a Networking & dns 101

07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.pptssuserf7cd2b
 
Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocolGLIM Digital
 
Basic Foundation For Cybersecurity
Basic Foundation For CybersecurityBasic Foundation For Cybersecurity
Basic Foundation For CybersecurityMohammed Adam
 
Network and security concepts
Network and security conceptsNetwork and security concepts
Network and security conceptssonuagain
 
Networking:) Based on Ethical Hacking And Cyber Security
Networking:) Based on Ethical Hacking And Cyber SecurityNetworking:) Based on Ethical Hacking And Cyber Security
Networking:) Based on Ethical Hacking And Cyber SecurityManishKumarH
 
Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routersAdrian Suarez
 
IPS NAT and VPN.pptx
IPS NAT and VPN.pptxIPS NAT and VPN.pptx
IPS NAT and VPN.pptxkarthikvcyber
 
network Fundaa.pptx
network Fundaa.pptxnetwork Fundaa.pptx
network Fundaa.pptxssusercb53d4
 
Internet architecture
Internet architectureInternet architecture
Internet architectureNaman Rastogi
 
Basic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notesBasic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notesVamsi Krishna Kalavala
 
Network Address Translation ( Nat ) Essay
Network Address Translation ( Nat ) EssayNetwork Address Translation ( Nat ) Essay
Network Address Translation ( Nat ) EssayJill Crawford
 
Internet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxInternet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxSamyakJain710491
 
Future protocol IP v6
Future protocol IP v6Future protocol IP v6
Future protocol IP v6Manesh Sharma
 
How the internet works
How the internet worksHow the internet works
How the internet worksftcim
 
Sharing and Controlling the IoT
Sharing and Controlling the IoTSharing and Controlling the IoT
Sharing and Controlling the IoTAPNIC
 

Semelhante a Networking & dns 101 (20)

07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Internet architecture protocol
Internet architecture protocolInternet architecture protocol
Internet architecture protocol
 
Basic Foundation For Cybersecurity
Basic Foundation For CybersecurityBasic Foundation For Cybersecurity
Basic Foundation For Cybersecurity
 
Network and security concepts
Network and security conceptsNetwork and security concepts
Network and security concepts
 
Networking:) Based on Ethical Hacking And Cyber Security
Networking:) Based on Ethical Hacking And Cyber SecurityNetworking:) Based on Ethical Hacking And Cyber Security
Networking:) Based on Ethical Hacking And Cyber Security
 
Unit III
Unit IIIUnit III
Unit III
 
Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routers
 
TCP/IP Introduction
TCP/IP IntroductionTCP/IP Introduction
TCP/IP Introduction
 
IPS NAT and VPN.pptx
IPS NAT and VPN.pptxIPS NAT and VPN.pptx
IPS NAT and VPN.pptx
 
network Fundaa.pptx
network Fundaa.pptxnetwork Fundaa.pptx
network Fundaa.pptx
 
NETWORKING
NETWORKINGNETWORKING
NETWORKING
 
Internet architecture
Internet architectureInternet architecture
Internet architecture
 
Basic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notesBasic ccna interview questions and answers ~ sysnet notes
Basic ccna interview questions and answers ~ sysnet notes
 
Network Address Translation ( Nat ) Essay
Network Address Translation ( Nat ) EssayNetwork Address Translation ( Nat ) Essay
Network Address Translation ( Nat ) Essay
 
Internet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptxInternet Protocol(Samyak Jain 25014).pptx
Internet Protocol(Samyak Jain 25014).pptx
 
Future protocol IP v6
Future protocol IP v6Future protocol IP v6
Future protocol IP v6
 
Final ppt
Final pptFinal ppt
Final ppt
 
How the internet works
How the internet worksHow the internet works
How the internet works
 
Sharing and Controlling the IoT
Sharing and Controlling the IoTSharing and Controlling the IoT
Sharing and Controlling the IoT
 
Mcse question
Mcse questionMcse question
Mcse question
 

Mais de Marc Cluet

Your Kernel and You
Your Kernel and YouYour Kernel and You
Your Kernel and YouMarc Cluet
 
Managing DevOps teams, staying alive
Managing DevOps teams, staying aliveManaging DevOps teams, staying alive
Managing DevOps teams, staying aliveMarc Cluet
 
The DevOps journey - How to get there painlessly
The DevOps journey - How to get there painlesslyThe DevOps journey - How to get there painlessly
The DevOps journey - How to get there painlesslyMarc Cluet
 
Elastic Beanstalk, usos prácticos y conceptos
Elastic Beanstalk, usos prácticos y conceptosElastic Beanstalk, usos prácticos y conceptos
Elastic Beanstalk, usos prácticos y conceptosMarc Cluet
 
Service discovery and puppet
Service discovery and puppetService discovery and puppet
Service discovery and puppetMarc Cluet
 
Puppet Camp London Fall 2015 - Service Discovery and Puppet
Puppet Camp London Fall 2015 - Service Discovery and PuppetPuppet Camp London Fall 2015 - Service Discovery and Puppet
Puppet Camp London Fall 2015 - Service Discovery and PuppetMarc Cluet
 
Puppet and your Metadata - PuppetCamp London 2015
Puppet and your Metadata - PuppetCamp London 2015Puppet and your Metadata - PuppetCamp London 2015
Puppet and your Metadata - PuppetCamp London 2015Marc Cluet
 
Consul First Steps
Consul First StepsConsul First Steps
Consul First StepsMarc Cluet
 
Autoscaling Best Practices - WebPerf Barcelona Oct 2014
Autoscaling Best Practices - WebPerf Barcelona Oct 2014Autoscaling Best Practices - WebPerf Barcelona Oct 2014
Autoscaling Best Practices - WebPerf Barcelona Oct 2014Marc Cluet
 
Microservices and the Cloud - DevOps Cardiff Meetup
Microservices and the Cloud - DevOps Cardiff MeetupMicroservices and the Cloud - DevOps Cardiff Meetup
Microservices and the Cloud - DevOps Cardiff MeetupMarc Cluet
 
Microservices and the Cloud
Microservices and the CloudMicroservices and the Cloud
Microservices and the CloudMarc Cluet
 
How to implement microservices
How to implement microservicesHow to implement microservices
How to implement microservicesMarc Cluet
 
A Metadata Ocean in Chef and Puppet
A Metadata Ocean in Chef and PuppetA Metadata Ocean in Chef and Puppet
A Metadata Ocean in Chef and PuppetMarc Cluet
 
Autoscaling Best Practices
Autoscaling Best PracticesAutoscaling Best Practices
Autoscaling Best PracticesMarc Cluet
 
Rackspace Hack Night - Vagrant & Packer
Rackspace Hack Night - Vagrant & PackerRackspace Hack Night - Vagrant & Packer
Rackspace Hack Night - Vagrant & PackerMarc Cluet
 
Innovation in the Cloud - Rackspace Zurich Event
Innovation in the Cloud - Rackspace Zurich EventInnovation in the Cloud - Rackspace Zurich Event
Innovation in the Cloud - Rackspace Zurich EventMarc Cluet
 
Introduction to DevOps - Rackspace tech night
Introduction to DevOps - Rackspace tech nightIntroduction to DevOps - Rackspace tech night
Introduction to DevOps - Rackspace tech nightMarc Cluet
 
Hadoop operations
Hadoop operationsHadoop operations
Hadoop operationsMarc Cluet
 
Introduction to hadoop
Introduction to hadoopIntroduction to hadoop
Introduction to hadoopMarc Cluet
 
Ssh that wonderful thing
Ssh that wonderful thingSsh that wonderful thing
Ssh that wonderful thingMarc Cluet
 

Mais de Marc Cluet (20)

Your Kernel and You
Your Kernel and YouYour Kernel and You
Your Kernel and You
 
Managing DevOps teams, staying alive
Managing DevOps teams, staying aliveManaging DevOps teams, staying alive
Managing DevOps teams, staying alive
 
The DevOps journey - How to get there painlessly
The DevOps journey - How to get there painlesslyThe DevOps journey - How to get there painlessly
The DevOps journey - How to get there painlessly
 
Elastic Beanstalk, usos prácticos y conceptos
Elastic Beanstalk, usos prácticos y conceptosElastic Beanstalk, usos prácticos y conceptos
Elastic Beanstalk, usos prácticos y conceptos
 
Service discovery and puppet
Service discovery and puppetService discovery and puppet
Service discovery and puppet
 
Puppet Camp London Fall 2015 - Service Discovery and Puppet
Puppet Camp London Fall 2015 - Service Discovery and PuppetPuppet Camp London Fall 2015 - Service Discovery and Puppet
Puppet Camp London Fall 2015 - Service Discovery and Puppet
 
Puppet and your Metadata - PuppetCamp London 2015
Puppet and your Metadata - PuppetCamp London 2015Puppet and your Metadata - PuppetCamp London 2015
Puppet and your Metadata - PuppetCamp London 2015
 
Consul First Steps
Consul First StepsConsul First Steps
Consul First Steps
 
Autoscaling Best Practices - WebPerf Barcelona Oct 2014
Autoscaling Best Practices - WebPerf Barcelona Oct 2014Autoscaling Best Practices - WebPerf Barcelona Oct 2014
Autoscaling Best Practices - WebPerf Barcelona Oct 2014
 
Microservices and the Cloud - DevOps Cardiff Meetup
Microservices and the Cloud - DevOps Cardiff MeetupMicroservices and the Cloud - DevOps Cardiff Meetup
Microservices and the Cloud - DevOps Cardiff Meetup
 
Microservices and the Cloud
Microservices and the CloudMicroservices and the Cloud
Microservices and the Cloud
 
How to implement microservices
How to implement microservicesHow to implement microservices
How to implement microservices
 
A Metadata Ocean in Chef and Puppet
A Metadata Ocean in Chef and PuppetA Metadata Ocean in Chef and Puppet
A Metadata Ocean in Chef and Puppet
 
Autoscaling Best Practices
Autoscaling Best PracticesAutoscaling Best Practices
Autoscaling Best Practices
 
Rackspace Hack Night - Vagrant & Packer
Rackspace Hack Night - Vagrant & PackerRackspace Hack Night - Vagrant & Packer
Rackspace Hack Night - Vagrant & Packer
 
Innovation in the Cloud - Rackspace Zurich Event
Innovation in the Cloud - Rackspace Zurich EventInnovation in the Cloud - Rackspace Zurich Event
Innovation in the Cloud - Rackspace Zurich Event
 
Introduction to DevOps - Rackspace tech night
Introduction to DevOps - Rackspace tech nightIntroduction to DevOps - Rackspace tech night
Introduction to DevOps - Rackspace tech night
 
Hadoop operations
Hadoop operationsHadoop operations
Hadoop operations
 
Introduction to hadoop
Introduction to hadoopIntroduction to hadoop
Introduction to hadoop
 
Ssh that wonderful thing
Ssh that wonderful thingSsh that wonderful thing
Ssh that wonderful thing
 

Último

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Último (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Networking & dns 101

  • 1. Marc  Cluet  –  Lynx  Consultants    
  • 2. What we’ll cover? ¡  Understand  how  networking  works   ¡  Understand  all  the  basic  networking  protocols   ¡  Understand  how  DNS  works   ¡  Be  more  awesome!   Lynx  Consultants  ©  2013  
  • 3. What is a Network? ¡  A  computer  network,  or  simply  a  network,  is  a  collection  of   computers  and  other  hardware  interconnected  by  communication   channels  that  allow  sharing  of  resources  and  information.[1]   Where  at  least  one  process  in  one  device  is  able  to  send/receive   data  to/from  at  least  one  process  residing  in  a  remote  device,  then   the  two  devices  are  said  to  be  in  a  network.  A  network  is  a  group  of   devices  connected  to  each  other.  Networks  may  be  classified  into   a  wide  variety  of  characteristics,  such  as  the  medium  used  to   transport  the  data,  communications  protocol  used,  scale,   topology,  benefit,  and  organizational  scope.  (gotta  love  Wikipedia)   Lynx  Consultants  ©  2013  
  • 4. So in plain words… ¡  A  network  connects  2  or  more  computers  together   §  LAN  (Local  Area  Network)  is  inside  a  known  location  (office,   home,  etc)   §  WAN  (Wide  Area  Network)  is  a    network  that  connects      two  or  more  LANs   Lynx  Consultants  ©  2013  
  • 5. The Internet ¡  Internet  is  a  network  that   connects  in  a  fault  tolerant  way   many  networks   ¡  Our  current  version  of  the   Internet  works  over  the  protocol   IPv4  with  the  new  protocol  IPv6   starting  to  have  some  presence   Lynx  Consultants  ©  2013  
  • 6. Internet IPv4 ¡  The  most  common  protocol  in  Internet  is  right  now  IPv4   ¡  IPv4  has  been  the  Internet  protocol  since  1980  (RFC  760)   ¡  IPv4  uses  32  bit  addresses,  having  a  total  space  of   4,294,967,296  unique  IPs   Lynx  Consultants  ©  2013  
  • 7. IPv4 IP address ¡  An  IPv4  IP  address  is  divided  in  8  bit  chunks  (1  byte  per   number)   Lynx  Consultants  ©  2013  
  • 8. IPv4 IP netmask ¡  A  netmask  defines  what  your  local  network  is,  anything   inside  that  netmask  is  considered  local  to  you   Lynx  Consultants  ©  2013  
  • 9. IPv4 Problems ¡  IPv4  is  running  out  of  IP  addresses  (last  /8  delivered  this  year)   ¡  IPv4  is  not  secure  for  most  uses   ¡  IPv4  was  designed  in  the  70ies  so  its  up  for  a  review   Lynx  Consultants  ©  2013  
  • 10. IPv6 saves the day! ¡  IPv6  is  the  new  internet  protocol   ¡  Uses  128  bit  addresses   ¡  There’s  more  IP  addresses  in  IPv6  than  atoms  on  planet   Earth   Lynx  Consultants  ©  2013  
  • 11. IP gateways ¡  As  IP  is  the  Internet  Protocol   it  has  to  know  how  to  talk  to   other  networks   ¡  A  gateway  server  is  the  one   who  sits  in  two  networks  at   the  same  time,  relying   packets  between  those   networks   Lynx  Consultants  ©  2013  
  • 12. So then how the Internet works? ¡  Gateways  keep  relying  your   message  from  network  to   network  until  it  reaches  the   destination   ¡  The  path  to  reach  its   destination  can  change  all   the  time   Lynx  Consultants  ©  2013  
  • 13. IP protocols ¡  IP  can  run  lots  of  different   protocols  inside,  the  most   known  ones  are   §  TCP  (Transmission  Control   Protocol)   §  UDP  (User  Datagram  Protocol)   §  ICMP  (Internet  Control  Message   Protocol)   Lynx  Consultants  ©  2013  
  • 14. IP protocol definitions ¡  TCP  sends  packets  with  complete  assurance  that  they’ll   reach  their  destination   ¡  UDP  sends  packets  without  any  kind  of  assurance  that  they’ll   reach  their  destination   ¡  ICMP  sends  control  messages  auxiliary  to  the  IP  protocol   (like  ping,  traceroute,  etc)   Lynx  Consultants  ©  2013  
  • 15. TCP Protocol ¡  Keeps  track  of  all  the  packets  it  sends  (serial   num)   ¡  Destination  acknowledges  (ACK)  every   packet  received   ¡  Packets  can  arrive  in  any  order  and  they’ll  be   reordered  at  destination   Lynx  Consultants  ©  2013  
  • 16. TCP Ports ¡  TCP  can  listen  or  talk  in  several  “channels”  at  the  same  time   ¡  Ports  are  the  channels  where  TCP  (and  UDP)  talk,  there’s  a   total  of  65,536  channels   ¡  Most  common  Ports   §  80  http   §  443  https   §  25  smtp   §  110  pop3   §  143  imap   Lynx  Consultants  ©  2013  
  • 17. UDP Protocol ¡  UDP  sends  packets  as  TCP  to  ports,  but  there’s  no  guarantee   that  the  packets  will  reach  its  destination.   ¡  This  is  ideal  for  any  kind  of  protocol  that  doesn’t  need  all  its   packets   §  Video  Streaming   §  Radio  Streaming   Lynx  Consultants  ©  2013  
  • 18. ICMP Protocol ¡  ICMP  sends  auxiliary  messages  that  help  Internet  routing   ¡  Used  in  all  of  our  common  diagnostic  tools   §  PING  (icmp  echo)   §  TRACEROUTE  (icmp  route)   Lynx  Consultants  ©  2013  
  • 19. ICMP - Ping ¡  Ping  sends  a  packet  to  a  destination  and  reads  the  reply   ¡  Bases  itself  on  ICMP  echo   ¡  Can  be  filtered  by  routers  and  inbetween  policy  filters   Lynx  Consultants  ©  2013  
  • 20. ICMP - Traceroute ¡  Traceroute  sends  requests  to  every  single  hop  between  us   and  a  destination   ¡  This  is  based  on  one  special  type  of  ICMP  packet   ¡  Some  routers  can  decide  to  filter  traceroute,  in  that  case  *   will  appear  instead  of  the  TTL   Lynx  Consultants  ©  2013  
  • 21. What is DNS? ¡  The  Internet  works  with  IP  addresses   ¡  How  can  we  remember  always  that  google  is  173.194.67.103?   ¡  It’s  humanly  impossible!   Lynx  Consultants  ©  2013  
  • 22. DNS saves the day ¡  DNS  is  a  service  (listens  on  UDP  port  53)   ¡  DNS  will  give  you  the  IP  address  of  any  name  you  want   ¡  It  can  give  you  more  than  one  address  for  extra  redundancy   Lynx  Consultants  ©  2013  
  • 23. DNS Servers ¡  DNS  is  also  a  security  risk,  you  don’t  want  everyone  to  know   your  full  DNS  structure   ¡  Big  companies  will  show  you  a  different  DNS  “view”  based   on  where  you  are   Lynx  Consultants  ©  2013  
  • 24. DNS Geo Balanced ¡  DNS  is  also  very  useful  to  be  able  to  send  you  to  the  nearest   point   ¡  Try  resolving  www.google.com  from  different  parts  of  the   world!   Lynx  Consultants  ©  2013   www.google.com  is  173.194.41.84   www.google.com  is  74.125.26.104