Results 1 to 2 of 2

Thread: DHCP Lease too short, won't detect static IP

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    1

    Question DHCP Lease too short, won't detect static IP

    I'm using the BT4 VMware image, and the DHCP lease time is around 30 minutes. I can't change this setting via VMware while its in bridged mode. I followed the instructions in "How To Start Networking in Backtrack" to no avail.

    Here is the contents of /etc/network/interfaces

    Code:
    auto eth0
    iface eth0 inet static
    address 192.168.0.100
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1
    and the contents of resolv.conf

    Code:
    domain localdomain
    search localdomain
    nameserver 209.18.47.61
    nameserver 209.18.47.62
    Also (just noticed) that it seems to have reverted my nameservers to the default? I had them changed to OpenDNS.

    Thanks for any help. This is totally ruining my port forwarding with reverse-connecting metasploit payloads.

  2. #2
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010
    Posts
    2,943

    Default Re: DHCP Lease too short, won't detect static IP

    Weird. Try configuring the interface using ifconfig and manually setting default route and DNS as opposed to doing whatever you are doing now (running "/etc/init.d/networking start" I assume). It sounds like the dhcp client (dhclient from memory) is somehow getting triggered and used for the interface configuration, so configuring things manually in the simplest and most straightforward manner possible might allow you to avoid whatever is causing this. At minimum, trying different methods of configuration may allow you to narrow down the cause of the problem.

    Alternatively, you could configure the DHCP server to assign you a fixed address and the correct DNS servers, assuming you control that server.
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

Similar Threads

  1. Adding Numbers To Make Short Words 8 Characters Long
    By Sulegna in forum Beginners Forum
    Replies: 1
    Last Post: 09-04-2010, 03:14 PM
  2. Bonjour - A short hello
    By MaximilianK in forum OLD Newbie Area
    Replies: 2
    Last Post: 03-01-2009, 08:16 PM
  3. check dhcp recent clients..even after lease expired? time runing out
    By MonkeyPoo in forum OLD BackTrack 3 Final
    Replies: 5
    Last Post: 12-09-2008, 06:58 AM
  4. TCP Flags that can be used with Nmap --scanflags short Tutorial
    By demonize in forum OLD Tutorials and Guides
    Replies: 1
    Last Post: 08-03-2008, 11:06 AM
  5. alfa usb disconnects after short period !
    By the-BIG-one in forum OLD BT3beta General
    Replies: 4
    Last Post: 02-22-2008, 08:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •