34 votes 34 votes Which one of the following protocols is NOT used to resolve one form of address to another one? $\textsf{DNS}$ $\textsf{ARP}$ $\textsf{DHCP}$ $\textsf{RARP}$ Computer Networks gatecse-2016-set1 computer-networks network-protocols normal + – Sandeep Singh asked Feb 12, 2016 • edited Jun 22, 2021 by Lakshman Bhaiya Sandeep Singh 18.5k views answer comment Share Follow See all 9 Comments See all 9 9 Comments reply Show 6 previous comments bhuv commented Jan 5, 2018 reply Follow Share The point to note here is both ARP, RARP are used when "static assignments of IPs" are done i.e. IP given generally set by Admin. But DHCP is formed to solve this issue too, so it provides dynamic IP's to host that are requesting a IP(see carefully it is not a conversation of MAC to IP but an assignment i.e a new entry is added in Router table for the Host MAC and IP while in ARP and RARP both MAC and IP were already present they is conversion of IP to MAC and vice-versa (no Assignment)). 2 votes 2 votes Shiva Sagar Rao commented Jan 9, 2021 i edited by Shiva Sagar Rao Jan 10, 2021 reply Follow Share Official answer key was option C i.e., DHCP Source of following links are from GATE 2019 website or archive in PreExam Previous year Question papers or archive and Previous year Answer Keys or archive. So they are authentic. GATE 2016 Set 1 Question Paper: https://drive.google.com/file/d/11OOjvNF_zzeeeB2oHAi8R5fndsikrjJi/view or archive GATE 2016 Set 1 Answer Key: https://drive.google.com/file/d/1mbJkwNpy0GMA1zF-CwPjS9rsO8JoxOn5/view or archive 0 votes 0 votes milinbhade commented Dec 29, 2021 reply Follow Share In order to assign IP address to a device it must have to save somewhere that this device has been assigned this IP address, For this it must save info about this device, which is the MAC address, isn’t this conversion needed in DHCP? 0 votes 0 votes Please log in or register to add a comment.
Best answer 36 votes 36 votes A) $\textsf{DNS}$ - host name to IP address B) $\textsf{ARP}$ - IP to MAC D) $\textsf{RARP}$ - MAC to IP So ANSWER is C abhilashpanicker29 answered Feb 12, 2016 • edited Jun 22, 2021 by Lakshman Bhaiya abhilashpanicker29 comment Share Follow See all 23 Comments See all 23 23 Comments reply Anurag_s commented Feb 14, 2016 i edited by Anurag_s Feb 14, 2016 reply Follow Share DHCP can also do conversion Mac to IP ,its dynamic but static can also be done just as in RARP. my doubt is In dhcp also clients want IP Address, Client sends his mac address in a broadcast packet , he gets IP. Isnt this a conversion. Also for servers generally we use same ip(will not change) so everytime it 'll convert given MAC to same IP Address. When a computer or other networked device connects to a network, the DHCP client software sends a broadcast query requesting necessary information. Any DHCP server on the network may service the request. The DHCP server manages a pool of IP addresses and information about client configuration parameters such as default gateway, domain name, the name servers, and time servers. On receiving a request, the server may respond with specific information for each client, as previously configured by an administrator, or with a specific address and any other information valid for the entire network and for the time period for which the allocation (lease) is valid. Manual allocation: commonly called Static allocation, the DHCP server allocates an IP address based on a preconfigured mapping to each client's MAC address. This feature is variously called static DHCP assignment by DD-WRT, fixed-address by the dhcpd documentation, address reservation by Netgear, DHCP reservation or static DHCP by Cisco and Linksys, and IP address reservation or MAC/IP address binding by various other router manufacturers. 3 votes 3 votes abhilashpanicker29 commented Feb 15, 2016 i edited by abhilashpanicker29 Feb 15, 2016 reply Follow Share I tried to refer Ross and also Peterson and Davie, for DHCP.. nowhere i could find the part you mentioned about static allocation.. can you please give me some reference to a book or similar, where I can read more about this? 1 votes 1 votes Anurag_s commented Feb 15, 2016 reply Follow Share http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dhcp/configuration/12-4t/dhcp-12-4t-book/dhcp-overview.pdf 0 votes 0 votes Koushik Sinha commented Feb 16, 2016 reply Follow Share DAMN SURE ,DNS WILL BE THE ANSWER HERE . ARP (IP->MAC) RARP , DHCP ( JUST EXTENDED VERSION OF RARP , IT USE DYNAMIC MAPPING AND RARP USE STATIC MAPPING BUT BOTH WORK SAME (MAC->IP)) . SO ANS A SHOULD BE CORRECT HERE 5 votes 5 votes Arjun commented Feb 16, 2016 reply Follow Share probably you are right. 1 votes 1 votes Anurag_s commented Feb 16, 2016 reply Follow Share @Arjun, in dns is hostname really an address. I am bit confused on this. If that is the case then this question shouldn't hv such options. 0 votes 0 votes abhilashpanicker29 commented Feb 16, 2016 reply Follow Share if what you are saying is right.. then i feel it should be a Marks to All.. Because then all do address conversion.. DNS converts domain names to IP address.. IP address we know is already a address, This is what i read from wiki:- https://en.wikipedia.org/wiki/Domain_name "Domain names are used in various networking contexts and application-specific naming and addressing purposes." now in dns:- https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanismThe very basic purpose of DNS is ADDRESS RESOLUTION itself.. So, how can it be the answer..?? I learnt from Ross, there the explanation was something on these lines.. There are two ways of saying your Home addresses.. 1. I Say i live at XYZ BUilding, ABC STREET, DELHI (similar to DOMAIN NAME in networking,which is user friendly, i can remember easily a website URL address..) 2. i can say my address is 51° 28′ 38″ N (similar to IP address in networking) 2 votes 2 votes Koushik Sinha commented Feb 16, 2016 reply Follow Share is domain name itself a address?? #abhilashkiller 1 votes 1 votes Anurag_s commented Feb 16, 2016 reply Follow Share Another interesting info: Domain names are used to identify one or more IP addresses. For example, the domain name microsoft.com represents about a dozen IP addresses 2 votes 2 votes abhilashpanicker29 commented Feb 16, 2016 reply Follow Share i think it is.. See what DNS does.. suppose i want to access www.gateoverflow.in.. We give this URL which is itself called a website ADDRESS.. isnt it?? https://en.wikipedia.org/wiki/Uniform_Resource_Locator URL is also known as website address... DNS resolves this web site address into the IP address of the website.. Dont you agree?? for converting it may use recursive queries.. but eventually it does address conversion.. 0 votes 0 votes Anurag_s commented Feb 16, 2016 reply Follow Share But why nowhere domain name is given as a address, n why we dnt include it when we say type of addresses ip address, mac address.. There must be some reason its called a domain name and not domain address. Website is not a physical entity i think.So we cannot say its an address. Wheras mac n ip represents some particular host. 0 votes 0 votes abhilashpanicker29 commented Feb 16, 2016 i edited by abhilashpanicker29 Feb 16, 2016 reply Follow Share but isnt URL an address too? you give a URL in your browser,who resolves it?? DNS gets you the IP address..it may use various level of domain names, and recursive queries.. but eventually, DNS resolver get the IP address of the required host.. So dns is converting URL to IP address.. isnt it a address conversion also?? 0 votes 0 votes Anurag_s commented Feb 16, 2016 reply Follow Share I think domain name is just a name.. www.microsoft.com .. Its not a particular host/file /anything else its name of website Dns will give an ip address corresponding to one of multiple servers of Microsoft which will handle our requests may be the closest one. But it doesnt make Microsoft.com an address its still a name 0 votes 0 votes abhilashpanicker29 commented Feb 16, 2016 reply Follow Share https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanism See the diagram over the right.. what is written..A DNS recursor consults three name servers to resolve the address www.wikipedia.org. Also coming to your question.. yes domain name itself is not a particular file,agreed.. like .com,.in,etc are also domains.. but arent addresses.. BUT, www.gateoverflow.in is a complete WEBSITE ADDRESS (Also called URL).. And DNS reolves this address.. it will contact the .in Top level domain, then the authoritative domain ... etc.. but eventually.. DNS is converting the URL aka WEBSITE ADDRESS to the IP Address of the specific site we want to access.. thats what I am saying.. and this is an address conversion I believe.. 1 votes 1 votes Anurag_s commented Feb 17, 2016 reply Follow Share Domain Name System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates easily memorized domain names to the numerical IP addresses needed for the purpose of locating computer services and devices worldwide Uniform Resource Locator A Uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource. For Instance http://en.wikipedia.org/wiki/Dom... is a URL where asen.wikipedia.org is the domain name named using the DNS. Let's wait for keys 1 votes 1 votes abhilashpanicker29 commented Feb 18, 2016 i edited by abhilashpanicker29 Feb 18, 2016 reply Follow Share https://tools.ietf.org/html/rfc3467 RFC 3467 Role of Domain Name System " 1. Introduction The DNS was designed as a replacement for the older "host table" system. Both were intended to provide names for network resources at a more abstract level than network (IP) addresses " By the way. http://www.cs.princeton.edu/courses/archive/spr08/cos461/slides/08Mapping.ppt See this ppt.. if this ppt is right, then it should be Marks to All. 0 votes 0 votes Anurag_s commented Feb 18, 2016 reply Follow Share yes it could be marks to all. am agreeing that dns do convert a name to ip of a server that they registered, still i have some doubt that it can be actually called an address to address conversion. Haven't found any material yet that clarifies this doubt that domain name is an address /not and if its address why don't they call it a address. In above doc also notice they used 'provide names for network resources ' still they dnt call first one an address they call it 'a name'. 0 votes 0 votes abhilashpanicker29 commented Feb 18, 2016 i edited by abhilashpanicker29 Feb 18, 2016 reply Follow Share https://www.youtube.com/watch?v=q3MwN9R0Br4 Lec 34, Computer Networks by Prof.S.Ghosh, Department of Computer Science & Engineering, I.I.T.,Kharagpur Watch from 3:00 to 6:00 He clearly says.. "Names - This is also some kind of address".. then he continues giving example of RARP and ARP too.. just like the sequence of options in the question asked :P and also herehttp://www.cs.princeton.edu/courses/archive/spr08/cos461/slides/08Mapping.ppt It is given as an address explicitly.. Getting ready for answer debate :) 5 votes 5 votes Koushik Sinha commented Feb 18, 2016 i edited by Koushik Sinha Feb 18, 2016 reply Follow Share @abhilash panicker sir wants to say that the way we convert ip->mac or mac->ip is similiar to this . cause here we convert domain name to ip . sir use domain is "SOME KIND OF address" not directly saying it is address . if u have still confusion in that i have taken screen-shot from wikipedia attached to it , plzz read , and the link is https://en.wikipedia.org/wiki/Address_Resolution_Protocol and go " Inverse ARP and Reverse ARP" 0 votes 0 votes abhilashpanicker29 commented Feb 18, 2016 reply Follow Share This is what he exactly said.. "What is a name, afterall - it is supposed to map to some particular machine or site or whatever.. so, this is also in some sense, this is ALSO SOME KIND OF an address.. So, we have a third layer which are the domain names.." https://en.wikipedia.org/wiki/Domain_name There is a line here. in second paragraph.. please read this."Domain names are used in various networking contexts and application-specific naming and addressing purposes. " Also, see herehttp://www.cs.princeton.edu/courses/archive/spr08/cos461/slides/08Mapping.ppt It is given as a type of address, with IP Address and MAC Address.. Coming to what you said about DHCP, is right.. i am saying MARKS SHOULD BE GIVEN TO ALL.. 0 votes 0 votes mcjoshi commented Jan 24, 2017 reply Follow Share Were marks given to all? 1 votes 1 votes MahanthMaha commented Dec 25, 2022 reply Follow Share Dynamic Host Configuration Protocol (DHCP) is a network protocol that is used to assign IP addresses and other network configuration parameters to devices on a network. It enables devices such as computers, smartphones, and tablets to communicate with each other and access the internet. DHCP does not directly convert one form of address to another. Instead, it assigns IP addresses to devices on a network and manages the allocation of IP addresses to ensure that each device on the network has a unique IP address. This process is known as IP address assignment. When a device connects to a network, it sends a broadcast message requesting an IP address. The DHCP server receives the request and assigns an available IP address to the device. The DHCP server also provides the device with the necessary information for accessing other network resources, such as the default gateway and the DNS server. In summary, DHCP assigns IP addresses to devices on a network and manages the allocation of IP addresses, but it does not directly convert one form of address to another. 1 votes 1 votes saheb sarkar1997 commented Dec 29, 2022 reply Follow Share Dhcp has both dynamic and static databases for every query at first check static mapping if it does not get then assign a random IP here also mapping is done na because we have a static database present. 0 votes 0 votes Please log in or register to add a comment.
30 votes 30 votes Answer is DHCP as given in gate 2016 key too. Because it assigns an ip address to a host connected to internet. It does not convert any address to another. sushmita answered Dec 1, 2017 sushmita comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments biswajitbora commented Sep 12, 2021 i reshown by biswajitbora Sep 17, 2023 reply Follow Share If that is the case, then RARP should also be wrong answer. RARP also assigns. It doesn’t convert. DHCP works the same way RARP does except for the fact that RARP doesn’t have any relay agent and is static. DHCP is both static and dynamic. It has a mapping table with the MAC addresses and their corresponding IPs (in the static part of the table, of course). Which means it too converts the MAC address to the corresponding IP address (using the static part of the table) and sends the IP address back to the device who was asking for it (just like RARP or BOOTP). Hence option D should also be wrong that way. 0 votes 0 votes Rutuja Desai commented Jan 17, 2022 reply Follow Share what about bootp ? 0 votes 0 votes satyaAchar commented Mar 31 reply Follow Share sushmita but in DHCP table there was a field called mac address. Does this assign mac address after getting ip. 0 votes 0 votes Please log in or register to add a comment.
22 votes 22 votes A) DNS - host name to IP address or vice versaB) ARP - IP to MAC c) DHCP-MAC to IPD) RARP - MAC to IP So answer will be A only because host name is not an adress as in other options. Rajat Sharma 1 answered Feb 15, 2016 Rajat Sharma 1 comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Rajat Sharma 1 commented Feb 15, 2016 reply Follow Share Lets wait for key ,Everything will be clear :) 0 votes 0 votes abhilashpanicker29 commented Feb 18, 2016 reply Follow Share https://www.youtube.com/watch?v=q3MwN9R0Br4Lec 34, Computer Networks by Prof.S.Ghosh, Department of Computer Science & Engineering, I.I.T.,KharagpurWatch from 3:00 to 6:00 He clearly says.. "Names - This is also some kind of address"..and also herehttp://www.cs.princeton.edu/courses/archive/spr08/cos461/slides/08Mapping.pptIt is given as an address explicitly.. 0 votes 0 votes cse7 commented Sep 18, 2016 reply Follow Share So, what is the answer here ? 0 votes 0 votes Please log in or register to add a comment.
4 votes 4 votes Answer would be C as per my knowledge. G VENKATESWARLU answered Feb 19, 2016 G VENKATESWARLU comment Share Follow See all 0 reply Please log in or register to add a comment.