Tell me more ×
IT Security Stack Exchange is a question and answer site for IT security professionals. It's 100% free, no registration required.

I always get same IP address for my wireless adapter.

so far i have tried

  • ipconfig /dnsflush followed by ipconfig /renew
  • net stop dnscache

but it still keeps getting me the same ip address.

does our router at workplace store mac address of machine & then assign same ip address again.

is there a way i can get completely different ip address for my win 7 32 bit laptop

share|improve this question
it depends on what is configured on your DHCP server.DHCP servers can be configured to offer the same IP every time (based on the mac address).(you have mentioned this in your question) – aRun Mar 19 at 4:21
Network configuration is not the topic of this site, please see the FAQ. If you can improve the quality of the question, I can migrate it over to our sister site Super User. See How to Ask. – AviD Mar 19 at 7:41

closed as off topic by Terry Chia, AviD Mar 19 at 7:39

Questions on IT Security Stack Exchange are expected to relate to IT security within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

2 Answers

It depends how the sysadmin has configured the DHCP server. From Wikipedia

dynamic allocation: A network administrator assigns a range of IP addresses to DHCP, and each client computer on the LAN is configured to request an IP address from the DHCP server during network initialization. The request-and-grant process uses a lease concept with a controllable time period, allowing the DHCP server to reclaim (and then reallocate) IP addresses that are not renewed.

automatic allocation: The DHCP server permanently assigns a free IP address to a requesting client from the range defined by the administrator. This is like dynamic allocation, but the DHCP server keeps a table of past IP address assignments, so that it can preferentially assign to a client the same IP address that the client previously had.

static allocation: The DHCP server allocates an IP address based on a table with MAC address/IP address pairs, which are manually filled in (perhaps by a network administrator). Only clients with a MAC address listed in this table will be allocated an IP address.

For details you may refer the RFC 2132

share|improve this answer

I believe you need to set static ip address in place of DHCP configured.

RHEL / Red hat / Fedora / CentOS Linux Static IP Configuration

Edit /etc/sysconfig/network-scripts/ifcfg-eth0

# Intel Corporation 82573E Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
DHCPCLASS=
HWADDR=00:30:48:56:A6:2E
IPADDR=192.168.1.10
NETMASK=255.255.255.0
ONBOOT=yes

For wlan0 you just have to find the appropriate file name. I believe its wlan0.

Alternate solution

You can also tell DHCP to not assign the particular IP address to the machine.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.