automatic end host configuration
play

Automatic end-host configuration Research Project 1 Sebastian - PowerPoint PPT Presentation

Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Automatic end-host configuration Research Project 1 Sebastian Dabkiewicz System And Network Engineering University of Amsterdam 8th February 2012 1


  1. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Automatic end-host configuration Research Project 1 Sebastian Dabkiewicz System And Network Engineering University of Amsterdam 8th February 2012 1 / 27 S. Dabkiewicz Automatic end-host configuration

  2. Introduction Zerconf Implementations Test-Environment Research Question Results Environment Conclusion Demo Questions Research Question Research Question How can one create an automatic end-host confguration? Sub-Research Questions What are the requirements for a fast establishment of the connection? What is the current situation? What kind of implementations are available? What kind of configuration is needed? Is there support for a cross platform solution? 2 / 27 S. Dabkiewicz Automatic end-host configuration

  3. Introduction Zerconf Implementations Test-Environment Research Question Results Environment Conclusion Demo Questions Environment Circuit-based networks Built for long time Time intensive to build Automated GLIF Open Lightpath Exchanges (GOLE) with Network Service Interface (NSI) from Global Lambda Integrated Facility (GLIF) 3 / 27 S. Dabkiewicz Automatic end-host configuration

  4. Introduction Zerconf Implementations Test-Environment Research Question Results Environment Conclusion Demo Questions Goal Quick online Almost no configuration (Zeroconf) Cross-platform 4 / 27 S. Dabkiewicz Automatic end-host configuration

  5. Introduction Zerconf Implementations Link local addresses Test-Environment multicast DNS Results DNS Service-Discovery Conclusion Demo Questions Zerconf Link local addresses Multicast DNS DNS Service Discovery 5 / 27 S. Dabkiewicz Automatic end-host configuration

  6. Introduction Zerconf Implementations Link local addresses Test-Environment multicast DNS Results DNS Service-Discovery Conclusion Demo Questions IPv4 Link Local address IP range 169.254/16 Not routable 3 ARP probes to verify address is available RFC 3927 - Dynamic Configuration of IPv4 Link-Local Addresses 6 / 27 S. Dabkiewicz Automatic end-host configuration

  7. Introduction Zerconf Implementations Link local addresses Test-Environment multicast DNS Results DNS Service-Discovery Conclusion Demo Questions IPv6 Link Local address fe80::/64 Derived from MAC-Address Present on every interface RFC 4291 - IP Version 6 Addressing Architecture RFC 4862 - IPv6 Stateless Address Autoconfiguration MAC to IPv6ll MAC-Address: 00:15:c5:e1:41:bf Becomes: fe80::215:c5 ff:fe e1:41bf/64 7 / 27 S. Dabkiewicz Automatic end-host configuration

  8. Introduction Zerconf Implementations Link local addresses Test-Environment multicast DNS Results DNS Service-Discovery Conclusion Demo Questions multicast DNS 221.0.0.254 & ff02:0:0:0:0:0:0:fb Listen on port 5353 .local. like vanilla.local. IETF Draft - Multicast DNS - Dec 9, 2011 8 / 27 S. Dabkiewicz Automatic end-host configuration

  9. Introduction Zerconf Implementations Link local addresses Test-Environment multicast DNS Results DNS Service-Discovery Conclusion Demo Questions DNS Service-Discovery Discover services DNS SRV Service Types e.g. ssh. tcp IETF Draft - DNS-Based Service Discovery - Dec 9, 2011 9 / 27 S. Dabkiewicz Automatic end-host configuration

  10. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Implementations Two main implementations Bonjour Shipped with MAC OS X Available for Windows Avahi Open source implementation Linux, BSD 10 / 27 S. Dabkiewicz Automatic end-host configuration

  11. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Implementations Two main implementations Bonjour Shipped with MAC OS X Available for Windows Avahi Open source implementation Linux, BSD 10 / 27 S. Dabkiewicz Automatic end-host configuration

  12. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions Test-Environment Servers Ubuntu 11.10 Clients MAC mini with MAC OS X Windows 7 Professional laptop 11 / 27 S. Dabkiewicz Automatic end-host configuration

  13. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions Test-Environment Servers Ubuntu 11.10 Clients MAC mini with MAC OS X Windows 7 Professional laptop 11 / 27 S. Dabkiewicz Automatic end-host configuration

  14. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions Test-Environment 12 / 27 S. Dabkiewicz Automatic end-host configuration

  15. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions avahi-daemon Main part of Avahi Configuring parameters avahi-daemon configuration file use-ipv4=yes use-ipv6=no allow-interfaces=eth1 deny-interfaces=eth0 13 / 27 S. Dabkiewicz Automatic end-host configuration

  16. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions avahi-autoipd creates interface ethX:avahi ipv4ll address 14 / 27 S. Dabkiewicz Automatic end-host configuration

  17. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions avahi-utils 1 avahi-browse browse the network for services resolve services 15 / 27 S. Dabkiewicz Automatic end-host configuration

  18. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions avahi-utils 2 avahi-publish Publish services Name SRV-type Port 16 / 27 S. Dabkiewicz Automatic end-host configuration

  19. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions avahi-utils 3 avahi-resolve Resolve Hostname Resolve IP-address 17 / 27 S. Dabkiewicz Automatic end-host configuration

  20. Introduction Zerconf Implementations Test-Environment Server installation Results Clients Conclusion Demo Questions Clients Mac Mini MAC OS X No additional installation Windows Laptop Windows 7 Professional Installation of Safari browser Bonjour control panel 18 / 27 S. Dabkiewicz Automatic end-host configuration

  21. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Interface configuration Interface configuration is needed No DHCP! Time-out takes 5 minutes Use ipv4ll Interface configuration /etc/network/interfaces (...) auto eth1 iface eth1 inet ipv4ll 19 / 27 S. Dabkiewicz Automatic end-host configuration

  22. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Cross platform avahi-publish Windows 7 installation of Bonjour needed Bonjour SDK Mac OS X Works out of the box 20 / 27 S. Dabkiewicz Automatic end-host configuration

  23. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Timing 21 / 27 S. Dabkiewicz Automatic end-host configuration

  24. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Avahi-resolve Avahi standard publishes AAAA-record on IPv4 Shows first IPv6 record then IPv4 record Use -4 or -6 switch to get direct the correct record 22 / 27 S. Dabkiewicz Automatic end-host configuration

  25. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Multicast-DNS Problems using dig to resolve hostname Packet send out on eth0 (internet interface) Add static route for 224.0.0.251/32 23 / 27 S. Dabkiewicz Automatic end-host configuration

  26. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions DNS Service Discovery Not every service is announced Avahi provides XML-file format *.service 24 / 27 S. Dabkiewicz Automatic end-host configuration

  27. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Conclusion Zeroconf fits in the situation On servers some configuration needed Quick online, about 6 seconds 25 / 27 S. Dabkiewicz Automatic end-host configuration

  28. Introduction Zerconf Implementations Test-Environment Results Conclusion Demo Questions Demo Demo Demo with Mac mini and evocam 26 / 27 S. Dabkiewicz Automatic end-host configuration

  29. Introduction Zerconf Implementations Test-Environment Questions Results Conclusion Demo Questions Questions? Questions? Report & Presentation available at: http://goo.gl/FmfKf and http://goo.gl/ruWEQ 27 / 27 S. Dabkiewicz Automatic end-host configuration

Recommend


More recommend