networking - How can I determine the IP addresses allocated by DHCP on a router that I'm connected to?

06
2014-04
  • user234831

    This "router" is not a typical situation. I'm using my phone as a hotspot and can only configure a select number of DHCP options.

    • I can manage the limit on how many devices/clients can use my phone as a hotspot. I have to select from a radio-button list with the options: 2,3,4,5, or 8

    • I can specify the DHCP starting IP address. In this case, it begins at 192.168.6.106

    When I'm connected via WIFI to my phone, an ipconfig /all command shows me that the default gateway is 192.168.6.1 and my IPv4 address is 192.168.1.148. I have the luxury of connecting another device to the phone and that device was assigned 192.168.1.121.

    I've tried connecting to 192.168.6.1, hoping for some sort of router setup page that I'm used to seeing, but there is no such thing or maybe it's just a matter of incompatable operating systems.

    In summary, the "router" (phone) has an IP address of 192.168.6.1 and a DHCP server that begins at 192.168.6.106 and allows up to 8 connections. Normally, I would assume a range of 192.168.6.106 - 192.168.6.113, but connected clients are showing otherwise.

    How can I figure out which IP addresses are set aside by DHCP for clients?

  • Answers
  • Szymon Szydełko

    @Bryan told you what, here's how: Example attack: http://www.digininja.org/metasploit/dns_dhcp.php

    You can get Kali Linux (new BackTrack) with metasploit there: http://www.kali.org/downloads/


  • Related Question

    networking - Two routers with DHCP?
  • Sandeep Bansal

    My current network setup is like this:

    SKY Netgear Wireless Router (Downstairs) ----> Homeplug ----> DG834N Netgear Wireless Router (Upstairs)

    What I would like is to have DHCP enabled on both routers, for the upstairs connections to have their own ip address range and DNS Servers while the Downstairs connections to have another set.

    I have changed the DHCP settings etc. around but when it comes to wireless connections being made, it just doesn't work.

    Can anyone help me


  • Related Answers
  • tombull89

    You could either have one router serving DHCP and create a "bridge" to the other one. This means all devices would get their IP address from one router.

    The other method would be having DHCP enabled on both routers, just pushing different IP ranges, for example the first on an IP of 192.168.2.1 and pushing 192.168.2.2 through to 100, and the second on an IP of 192.168.2.101 and pushing 192.168.2.102 through 192.168.2.200. Not sure how well this would work though. Or you could even do a different subnet, so upstars is 192.168.2.x and downstairs is 192.168.3.x.