Ipv6 on HP E- SERIES WIRELESS NETWORKING DEVICES

Total Page:16

File Type:pdf, Size:1020Kb

Ipv6 on HP E- SERIES WIRELESS NETWORKING DEVICES IPv6 ON HP E- SERIES WIRELESS NETWORKING DEVICES A Project Presented to the faculty of the Department of Electrical and Electronics Engineering California State University, Sacramento Submitted in partial satisfaction of the requirements for the degree of MASTER OF SCIENCE in Electrical and Electronics Engineering by Vaishnavi Venkataramanan SPRING 2013 © 2013 Vaishnavi Venkataramanan ALL RIGHTS RESERVED ii IPv6 ON HP E- SERIES WIRELESS NETWORKING DEVICES A Project by Vaishnavi Venkataramanan Approved by: __________________________________, Committee Chair Dr. Suresh Vadhva __________________________________, Second Reader Mehul Pandya ____________________________ Date iii Student: Vaishnavi Venkataramanan I certify that this student has met the requirements for format contained in the University format manual, and that this project is suitable for shelving in the Library and credit is to be awarded for the project. __________________________, Graduate Coordinator ___________________ Dr. Preetham Kumar Date Department of Electrical and Electronics Engineering iv Abstract of IPv6 ON HP E-SERIES WIRELESS NETWORKING DEVICES by Vaishnavi Venkataramanan World today is incomplete without being able to be connected to the internet enabling people from different parts of the world to connect with one and another. This is all made possible with the growing networking technology especially to mention the wireless technology where internet is at one’s service no matter where one is present across the globe anywhere. Wireless networking enables easy and faster access to the internet wirelessly and proving greater amount of security and flexibility of roaming. Earlier it was just one computer in one house, but presently every home has at least 3 computers. The increasing use of computers is very high. What will happen if there is a situation where no more instruments can connect to internet? To prevent this situation, came the IPv6 protocol a successor to the existing IPv4 internet protocol. With the current protocol, it is predicted that ip4 address space allocated is shrinking and will be left with no more space to connect a new device. v It is just not possible for devices to automatically be compatible with the new technology. Hence certain validation and verification technique is introduced to test the devices to be compatible with IPv6. TAHI test tool is one identified test procedure which has been recognized by the Government of United States to certify devices that support IPv6. This project talks about the importance of Tahi test, building test systems for networking devices. Another important part of this project is to perform automation using scripting languages. _______________________, Committee Chair Dr. Suresh Vadhva _______________________ Date vi ACKNOWLEDGEMENTS I would like to thank my professor, Dr. Suresh Vadhva for accepting my project request and the guidance he has provided me. A very special thanks to my Manager, Mehul Pandya at Hewlett-Packard Company for providing me this wonderful opportunity to work for Hewlett Packard Company in the IPv6 wireless project. I also want to thank him for all his guidance, continuous support for the project. I extend my heartfelt thanks to Esteban Corella at Hewlett Packard Company for providing constant encouragement and mentoring he provided me during the tenure of the project. I am also thankful to my Professor, Dr. Preetham Kumar for his willingness to serve in the committee towards my Master’s program. vii TABLE OF CONTENTS Page Acknowledgements .................................................................................................... vii List of Figures ............................................................................................................. xi List of Abbreviations ............................................................................................... xiii Chapter 1. INTRODUCTION .................................................................................................... 1 1.1 Project Objective ............................................................................................. 2 1.2 Project Approach ............................................................................................ 2 2. NETWORKING ....................................................................................................... 4 2.1 Wired Networking ........................................................................................... 4 2.2 Wireless Networking ....................................................................................... 4 2.3 Transition from IPv4 toIPv6 ............................................................................ 6 2.4 Next Generation Internet Protocol version 6 ................................................... 6 2.4.1 Identifying IPv6 in local device ............................................................... 9 2.4.2 Protocol Requirements ............................................................................. 9 2.4.2.1 RFC 2460- IPv6 Specification .................................................... 10 2.4.2.2 RFC 4861 – Neighbor Discovery for IPv6 ................................. 11 2.4.2.3 RFC 4862 – IPv6 Stateless Address Auto Configuration .......... 11 2.4.2.4 RFC 1981 - IPv6 Path MTU Discovery ...................................... 12 viii 2.4.2.5 RFC 4443 - ICMPv6 for IPv6 ..................................................... 13 2.5 TAHI Test Tool ............................................................................................. 14 3. TESTING ENVIRONMENT.................................................................................. 16 3.1 Device Under Test ......................................................................................... 16 3.1.1 HP E-Series Controller MSM -720 ........................................................ 16 3.1.2 HP E-Series Access Point MSM - 466 .................................................. 17 3.2 Network Topology ......................................................................................... 18 3.3 Device Configuration ..................................................................................... 20 3.3.1 HP Procurve 1810G Switch ................................................................... 20 3.3.2 MSM 720 Controller Configuration ...................................................... 24 3.4 Preparing the Workstation ............................................................................. 30 4. PROJECT IMPLEMENTATION ........................................................................... 34 4.1 Testing MSM 720 as Host ............................................................................. 35 4.1.1 TAHI as Host ......................................................................................... 35 4.1.2 Manual Execution .................................................................................. 37 4.2 Testing MSM 720 as Router .......................................................................... 41 4.2.1 TAHI as Router ...................................................................................... 42 4.2.2 Manual Execution .................................................................................. 43 4.2.3 Router Advertisements........................................................................... 44 4.3 Automation .................................................................................................... 45 ix 4.3.1 Development of Scripts.......................................................................... 46 4.4 Other Methods of Execution .......................................................................... 51 4.4.1 Single Test Case Execution ................................................................... 52 4.4.2 Group Test Case Execution ................................................................... 53 4.5 Testing Access Point as Host ......................................................................... 53 5. RESULTS ............................................................................................................... 57 6. CONCLUSION ....................................................................................................... 60 Bibliography ............................................................................................................... 61 x LIST OF FIGURES Figures Page Figure 1 – Devices and users connected to wireless network ..…….………5 Figure 2 – IPv6 Addressing structure …….… . ……………………………7 Figure 3 – Display of IP address in local device …………..……….….…. 9 Figure 4 – Structure of TAHI Tool .……… ......................... ……………. 15 Figure 5 – HP MSM 720 Controller….……… .... ………………………. 17 Figure 6 - HP MSM 466 Access Point ………. …………………………. 18 Figure 7– Test System Network Connection for DUT……………………19 Figure 8 - Picture of setup at cube with test devices in network topology. 19 Figure 9 - HP Procurve 1810G Switch ............................. ………………. 20 Figure 10 – Switch Description page ................ …………………………. 21 Figure 11 – Switch Network setup page ........... …………………………. 21 Figure 12 – Switch VLAN Page ....................... …………………………. 22 Figure 13a – Switch VLAN Tagging page ....... …………………………. 23 Figure 13b – Switch VLAN (2) Tagging page . …………………………. 24 Figure 14a– MSM 720 IP Interface page .......... …………………………. 25 Figure 14b – MSM 720 IP Static Interface page ………………………….26 Figure 15 – MSM 720 Network connection page .. ……………………… 26 Figure 16 – MSM
Recommended publications
  • Study of Packet Level UDP Performance of NAT44, NAT64 and Ipv6 Using Iperf in the Context of Ipv6 Migration
    Study of packet level UDP performance of NAT44, NAT64 and IPv6 using iperf in the context of IPv6 migration Vitruvius John D. Barayuga William Emmanuel S. Yu Institute of Computing Studies Department of Information Systems and Computer Science Ilocos Sur Polytechnic State College Ateneo de Manila Univeristy Santa Maria, Ilocos Sur, Philippines Quezon City [email protected] [email protected] Abstract— The Internet Assigned Number Authority (IANA) The initial design specification did not take into account the allocated the last of the available /8's of the IPv4 address space to need for the protocol to handle video-on-demand services, or the Regional Internet Registries (RIR's) on February 2011. It other types of large scale data, also with the advent of mobile could not be denied that IPv6 is the Internet of the next communications, set top boxes that have internet access taking generation, however its utilization and implementation in a wide presence in the home, each device requires an IP address, each scale had brought hesitation to the users since it will take time device requires an IP address. and there are concerns that need to be explored in the future. However, the need for a new technology is not paramount; Hence, this paper will lead the way for the acceptance of Internet the current 30-year-old technology has been modified to Protocol version 6 (IPv6) migration in the Philippines using a coincide with new ideas and ways of working. For a similar Network Address Translation (NAT) that there is an sustainable network to be developed and evolve over the next apparent means to be taken into consideration and NAT IPv6 to IPv4 (NAT64) can be a good choice for computer networks with few years a seamless migration over to IPv6 needs to be made.
    [Show full text]
  • Fortios™ Handbook - Ipv6
    IPv6 FortiOS™ Handbook - IPv6 5.6.3 FORTINET DOCUMENT LIBRARY http://docs.fortinet.com FORTINET VIDEO GUIDE http://video.fortinet.com FORTINET BLOG https://blog.fortinet.com CUSTOMER SERVICE & SUPPORT https://support.fortinet.com http://cookbook.fortinet.com/how-to-work-with-fortinet-support/ FORTIGATE COOKBOOK http://cookbook.fortinet.com FORTINET TRAINING SERVICES http://www.fortinet.com/training FORTIGUARD CENTER http://www.fortiguard.com FORTICAST http://forticast.fortinet.com END USER LICENSE AGREEMENT http://www.fortinet.com/doc/legal/EULA.pdf FORTINET PRIVACY POLICY https://www.fortinet.com/corporate/about-us/privacy.html FEEDBACK Email: [email protected] Wednesday, January 24, 2018 FortiOS™ Handbook - IPv6 01-560-112805-20180124 TABLE OF CONTENTS Change Log 5 Introduction 6 IPv6 packet structure 7 Jumbograms and jumbo payloads 7 Fragmentation and reassembly 7 Benefits of IPv6 7 What's new for IPv6 in FortiOS 5.6 8 IPv6 (5.6.3) 8 IPv6 RADIUS support (402437, 439773) 8 Added support for IPv6 Fortisandbox (424290) (447153) 8 IPv6 captive portal support (435435) 8 FortiGate can reply to an anycast probe from the interface’s unicast address (308872) 8 Secure Neighbor Discovery (355946) 8 Add multicast-PMTU to allow FGT to send ICMPv6 Too Big Message (373396) 10 IPv6 Features 11 IPv6 policies 11 IPv6 policy routing 12 IPv6 security policies 13 IPv6 explicit web proxy 14 VIP64 15 IPv6 Network Address Translation 20 NAT64 and DNS64 (DNS proxy) 20 NAT66 23 NAT64 and NAT66 session failover 25 NAT46 25 ICMPv6 26 ICMPv6 Types and Codes
    [Show full text]
  • Efficient Ipv6 Neighbor Discovery in Wireless Environment
    Dragos Neagoe & Antonios Pateas Efficient IPv6 Neighbor Discovery in Wireless Environment Master’s Thesis Efficient IPv6 Neighbor Discovery in Wireless Environment Dragos Neagoe Antonios Pateas Series of Master’s theses Department of Electrical and Information Technology LU/LTH-EIT 2016-550 http://www.eit.lth.se Department of Electrical and Information Technology, Faculty of Engineering, LTH, Lund University, 2016. “main” — 2016/11/20 — 14:43 — page 1 — #1 Efficient IPv6 Neighbor Discovery in Wireless Environment Dragoş Neagoe & Antonios Pateas [email protected] & [email protected] Department of Electrical and Information Technology Lund University Advisors: Jens A Andersson (EIT LTH) Stefan Höst (EIT LTH) Samita Chakrabarti (Ericsson AB, San Jose) Jaume Rius I Riu (Ericsson AB, Stockholm) Examiner: Maria Kihl (EIT LTH) November 20, 2016 “main” — 2016/11/20 — 14:43 — page 2 — #2 Printed in Sweden E-huset, Lund, 2016 “main” — 2016/11/20 — 14:43 — page i — #3 Abstract As the address space of IPv4 is being depleted with the development of IoT (Inter- net Of Things), there is an increasing need for permanent transition to the IPv6 protocol as soon as possible. Nowadays, many 3GPP (3rd Generation Partnership Project) Networks have implemented or will implement IPv6 in the near future for Internet access. These networks will also use NDP (Neighbor Discovery Pro- tocol), which is the IPv6 tailored version of ARP (Address Resolution Protocol). The protocol is responsible for address auto-configuration, maintaining lists of all neighbors connected to a network, verifying if they are still reachable, managing prefixes and duplicate address detection. The protocol is defined in RFC 4861 and although it works fine for wired connected devices, it has been proven highly inefficient in terms of battery lifetime saving, when wireless networks came to the market and its use increased tremendously.
    [Show full text]
  • Using HTTP Ipv6 Boot to Install a Linux OS on Lenovo Thinksystem Severs
    Front cover Using HTTP IPv6 Boot to Install a Linux OS on Lenovo ThinkSystem Severs Introduces the use of HTTP IPv6 Compares HTTP IPv6 Boot with the Boot as a way to deploy servers existing PXE Boot functionality over the network Demonstrates how to set up HTTP Provides instructions for use with IPv6 Boot on Lenovo ThinkSystem SLES 12 & 15 and RHEL 7 & 8 servers Song Shang Abstract HTTP Boot is an application based on client-server communication. It combines the DHCP, DNS, and HTTP protocols to provide the ability to installl an operating system over the network. This new capability can be utilized as a higher-performance replacement for TFTP-based on PXE Boot methods of network deployment. This paper provides a brief introduction to the HTTP Boot mechanism, instructions on setting up the HTTP Boot server on SUSE Linux Enterprise Server 15 SP2, and step-by-step instructions on how to install an operating system on a Lenovo® ThinkSystem™ server using HTTP Boot. This paper is intended for IT administrators. Readers are expected to have the basic knowledge of network deployment. At Lenovo Press, we bring together experts to produce technical publications around topics of importance to you, providing information and best practices for using Lenovo products and solutions to solve IT challenges. See a list of our most recent publications at the Lenovo Press web site: http://lenovopress.com Do you have the latest version? We update our papers from time to time, so check whether you have the latest version of this document by clicking the Check for Updates button on the front page of the PDF.
    [Show full text]
  • Evaluating an Ipv4 and Ipv6 Network
    Evaluating an IPv4 and IPv6 Network GILBERT LIDHOLM and MARCUS NETTERBERG KTH Information and Communication Technology Degree project in Communication Systems First level, 15.0 HEC Stockholm, Sweden KTH Royal Institute of Technology Evaluating an IPv4 and IPv6 Network Gilbert Lidholm & Marcus Netterberg 2012-09-08 Bachelor’s thesis Examiner & supervisor: Professor Gerald Q. Maguire Jr. Abstract This thesis is the result of the bachelor’s thesis project “Evaluating an IPv4 and IPv6 network”. The IPv6 protocol was created with the main purpose of solving the problem of the depletion of IP- addresses that IPv4 is currently facing. This thesis gives an introduction to the differences between IPv4 and IPv6 and when one should use one protocol rather than the other. It describes the services that we will use in order to evaluate what kinds of problems IPv4 may experience and if these problems can be solved by using IPv6. We also show how to set up a network with both protocols for each service that we examine. We will subsequently evaluate the performance of these two protocols for each of these services. We found that there were no significant differences in the performance of any of the applications that we tested with both IPv4 and IPv6. Due to the depletion of IPv4 addresses and the continuing rapid growth of the Internet, this thesis describes a very current and a relevant issue for computer networks today. Abstrakt Denna avhandling är resultatet utav högskoleingenjörsexamensarbetet ”Utvärdera ett IPv4- och IPv6 nätverk”. IPv6-protokollet skapades huvudsakligen för att lösa bristen på IP adresser som IPv4 står inför.
    [Show full text]
  • Performance of NAT64 Versus NAT44 in the Context of Ipv6 Migration Kenneth Joachim O
    Performance of NAT64 versus NAT44 in the Context of IPv6 Migration Kenneth Joachim O. Llanto and William Emmanuel S. Yu Abstract—IPv4 address exhaustion is now upon us. Yet, we The complexities and constraints that come with IPv6 are still live with uncertainty on what to do with the situation. concealed from them. This burden will fall upon the network This paper aims to pave the way for Internet Protocol version engineers and administrators. But the rewards are even better, 6 (IPv6) migration in the Philippines and similar countries using Network Address Translation (NAT) technology. This is aside from a virtually limitless address space (32-bit address achieved by showing service providers that there is already to 128 bit address), it has the following features as an a clear and easy path to migration by using a similar NAT improvement from IPv4: a New header format designed to technology, NAT Ipv6 to IPv4 (NAT64). This was done through minimize overhead, an efficient and hierarchical addressing experimental and live laboratory network tests using NAT44 and routing infrastructure with the use of IPv6 global and NAT64 technologies to show that NAT64s performance is comparable to current NAT44 networks. The setup was addresses, stateless and stateful address configuration for implemented using Linux based software and systems to be easy host configuration, support for IPSec, better support cost-effective in the translation. Throughput and Round Trip for prioritized delivery with the use of flow labels in the Time (RTT) were used to compare the experimental networks. IPv6 header and a new protocol for neighboring node Results showed that NAT64 has a slight improvement over interaction and extensibility for new features by adding NAT44 networks in terms of throughput.
    [Show full text]
  • RV220W Wireless-N Network Security Firewall Administration Guide
    ADMINISTRATION GUIDE Cisco Small Business RV220W Wireless-N Network Security Firewall Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) © 2011 Cisco Systems, Inc. All rights reserved. 78-19743-01 D0 Contents Chapter 1: Introduction 11 Product Overview 11 Configuring the RV220W 12 Logging In 12 Setting Up the Cisco RV220W Using the Setup Wizard 13 Using the Getting Started Page 13 Features of the User Interface 14 Suggested Next Steps 15 Chapter 2: Configuring Networking 16 WAN Settings for IPv4 16 Configuring the IPv4 WAN Settings 17 PPPoE Profiles for Point-to-Point Protocol over Ethernet Connections 20 Managing PPPoE Profiles 20 Adding and Editing PPPoE Profile Settings 21 LAN Configuration for IPv4 22 IPv4 LAN (Local Network) 22 VLAN Membership 24 Multiple VLAN Subnets 26 Viewing the Multiple VLAN Subnets Table 26 Entering the Multiple VLAN Subnets Properties 26 Static DHCP 28 Advanced DHCP Configuration 29 DHCP Leased Clients 30 Jumbo Frames 30 Routing 31 Routing Mode 31 Routing Table 32 Static Routes 33 Managing Static Routes 33 Configuring Static Routes 34 Dynamic Routing 35 Port Management 37 Cisco RV220W Administration Guide 3 Contents Dynamic DNS 38 IPv6 39 IP Mode 39 IPv6 WAN (Internet)
    [Show full text]
  • 3.2 Neighbor Discovery Protocol NDP
    Islamic University of Gaza Deanery of Higher Studies Faculty of Engineering Computer Engineering Department Operating System Response to Router Advertisement Packet in IPv6. استجابة أنظمة التشغيل للحزم اﻻعﻻنية للموجهات في برتوكولIPv6 Submitted by: Saeb Reyad Abd El Nabi Supervisor: Prof. Mohammad Mikki A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in computer engineering 2015 - 1436 DEDICATION To my great father and my great mother To my wife and my sons To my sisters and my brothers And to all my supported friends ii ACKNOWLEDGEMENTS My thanks to all those who generously contributed their help, this work would have never been possible iii TABLE OF CONTENTS DEDICATION ......................................................................................................................... ii ACKNOWLEDGEMENTS .................................................................................................... iii TABLE OF CONTENTS .........................................................................................................iv LIST OF FIGURES .................................................................................................................vi LIST OF TABLES .................................................................................................................. vii LIST OF ABBREVIATIONS ................................................................................................ viii LIST OF APPENDICES .........................................................................................................
    [Show full text]
  • DNSNA: DNS Name Autoconfiguration for Internet Of
    DNSNA: DNS Name Autoconfiguration for Internet of Things Devices Sejun Lee∗, Jaehoon (Paul) Jeong† and Jung-Soo Park‡ ∗ Department of Computer Science & Engineering, Sungkyunkwan University, Republic of Korea † Department of Interaction Science, Sungkyunkwan University, Republic of Korea ‡ Electronics and Telecommunications Research Institute, Republic of Korea Email: {sejunlee,pauljeong}@skku.edu, [email protected] Abstract—This paper proposes a DNS Name Autoconfiguration Also, the number of IoT devices will increase to almost 26 (called DNSNA) for not only the global DNS names, but also the billion units by 2020 [5]. Since there exist so many devices local DNS names of Internet of Things (IoT) devices. Since there in IoT environments, it is inefficient to manually configure exist so many devices in the IoT environments, it is inefficient to manually configure the Domain Name System (DNS) names their domain names in the Domain Name System (DNS) which of such IoT devices. By this scheme, the DNS names of IoT allows translation between domain names and IP addresses devices can be autoconfigured with the device’s category and by DNS servers. Especially, this work is motivated by the model in IPv6-based IoT environments. This DNS name lets observed trend that the DNS name of an IoT device can be user easily identify each IoT device for monitoring and remote- autoconfigured with the device category and model without a controlling in IoT environments. In the procedure to generate and register an IoT device’s DNS name, the standard protocols user’s intervention. The user can easily identify IoT devices by of Internet Engineering Task Force (IETF) are used.
    [Show full text]
  • Cisco RV130/RV130W Administration Guide
    ADMINISTRATION GUIDE Cisco RV130 Multifunction VPN Router Cisco RV130W Wireless Multifunction VPN Router Revised August 2014 Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Contents Chapter 1: Introduction 6 Verifying the Hardware Installation 6 Using the Setup Wizard 7 Configuration Next Steps 8 Using the Getting Started Page 8 Connecting to Your Wireless Network 10 Chapter 2: Viewing Device Status 12 Viewing the Dashboard 12 Viewing the System Summary 13 Viewing Active TCP/IP Services 15 Viewing Wireless Statistics 15 Viewing Captive Portal Status 15 Viewing Site-to-Site IPsec VPN Connection Status 15 Viewing the IPsec VPN Server Status 16 Viewing PPTP Server 16 Viewing Logs 16 Viewing Connected Devices 17 Viewing Port Statistics 18 Viewing the Mobile Network Status 18 Chapter 3: Configuring Networking 20 Configuring WAN Settings 21 Configuring Wired WAN Connections 21 Configuring DHCP 21 Configuring Static IP 22 Configuring PPPoE 22 Configuring PPTP 24 Configuring L2TP 26 Configuring Optional Settings 28 Configuring a Mobile Network 30 Configuring Global Mobile Network Settings 30 Cisco RV130/RV130W Wireless Multifunction VPN Router Administration Guide 1 Contents Configuring Mobile
    [Show full text]
  • TOBY-L2 Series Networking Modes Application Note
    TOBY-L2 series Networking modes Application note Abstract This document describes the two operational modes of the TOBY-L2 / MPCI-L2 module and how to provide connectivity to customer modems. www.u-blox.com UBX-14000479 - R05 TOBY-L2 series - Application note Document information Title TOBY-L2 series Subtitle Networking modes Document type Application note Document number UBX-14000479 Revision and date R05 10-Jun-2020 Disclosure restriction Product status Corresponding content status Functional sample Draft For functional testing. Revised and supplementary data will be published later. In development / Objective specification Target values. Revised and supplementary data will be published later. Prototype Engineering sample Advance information Data based on early testing. Revised and supplementary data will be published later. Initial production Early production information Data from product verification. Revised and supplementary data may be published later. Mass production / Production information Document contains the final product specification. End of life This document applies to the following products: Product name TOBY-L2 series MPCI-L2 series u-blox or third parties may hold intellectual property rights in the products, names, logos and designs included in this document. Copying, reproduction, modification or disclosure to third parties of this document or any part thereof is only permitted with the express written permission of u-blox. The information contained herein is provided “as is” and u-blox assumes no liability for its use. No warranty, either express or implied, is given, including but not limited to, with respect to the accuracy, correctness, reliability and fitness for a particular purpose of the information. This document may be revised by u-blox at any time without notice.
    [Show full text]
  • A Crash Course: DNS & BIND
    A Crash Course: DNS & BIND If you are familiar with the DNS and operating BIND, then this appendix is probably irrelevant to you. But if you have never set up a name server before, doing so may be a daunting task. To get started, this section provides the absolutely necessary basics, so you might get away without reading some more advanced documentation, like Albitz’ and Liu’s “DNS and BIND” [2] or the “BIND 9 Administrator Reference Manual” [73] for now. To keep things simple, we ignore IPv6 and just focus on IPv4 addresses. A.1 Domain Name System (DNS) Basics The domain name system (DNS) takes a domain name and uses it to look up resource records (RRs) associated with that name. Each RR consists of a domain name,arecord type,arecord class which is always IN for “Internet” for our purposes, a time to live (TTL) that specifies how long the entry may be cached, and finally the associated data. If we want to surf “www.example.com”, our web server uses the resolver li- brary to send a forward query to a name server, asking for the “type A” records associated with the domain name “www.example.com.”tolearnaboutthe IP address of the web server with that name. The web server, when accepting the connection from the web browser, may use the IP address used by the browser to do a reverse lookup, making the resolver turn the IP address into a funny-looking domain name that can be queried for the associated “type PTR” record. This record should contain the host name of the machine we run the web browser on.
    [Show full text]