Re: Can't change my internal and external ip addresses




Ο/Η Jason Edwards έγραψε:
> "Nicky" <hackeras@xxxxxxxxx> wrote in message
> news:1137156157.220873.51060@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Jason thanks for the answers bu here i have some more to ask on what
you said:

> > Whats is ipconfig /flushdns supposed to do?
>
> Deletes the contents of the DNS resolver cache on your PC.

Why we want to do that? The contents of the dns resolver would cotnail
the primary and secondary ip addresses of our isp.
By flush it we mean clear it? Delete it?
What good comes out of that? If we do this thwn our web pages could nto
be resolved. I just dont understand the use of it.

> > The release is for taking away the current ip address and return it to
> > the dhcp's ip address pool so to become avialabe again if sdomeone
> > requests it?

Is this correct?

> Renew means renew the lease, the IP address will not necessarily change. You
> will get the same IP as far as possible.
> If you haven't had an IP lease for a long time (maybe days) then that IP could
> be assigned to someone else and then you will get a different one.

I see. I tough that ipconfig /renew would just give me a brand new ip
address to use thats why i though it called renew, but i see now its
for the lease of the current ip address i was using before i ipconfig
/release it.

But what if i wanted a different one for example 10.0.0.2 or anyhting
random ie. 10.0.0.50?

The way ti works now i woudl always get 10.0.0.1.
This is because the dhcp server will assign the firt available ip
addres of the ip pool?

I have only 1 pc and iam experimenting with this things and i have set
the lease for ever. This emans that in autmatic mdoe i wont be abel to
get an ip differnet that 10.0.0.1? How can i change that? (except of
doign that manullay)

> > But as the word says it must be a
> > NEW ONE not the current one i always be given when i just do release in
> > the previous step.
>
> You will get the same IP address with a new lease.

So ipconfig /release clears my current ip address and i have nothing
and then ipconfig /renew gives me the same ip address with a ne lease.

2 questions.

a) How does it know what was the previous ip address i had before i
ipconfig /release it? Does it store it in someplace?

b) When we ipconfig /release then we say we get new lease.
Does that mean that we get the same lease we had before but just the
time starts from the beginning, so if it was for 1 week we ghet a lease
for a whole 7 days while before doing that maybe we where in in the
middle of our current lease week?

> > But the router's built-in dhcp server has a tendency of giving the same
> > one agian if we have it to automatc . why is that?
>
> Because that's how DHCP usually works. The MAC address (Physical address) of
> your network interface and your host name can all be used to identify your
> equipment and re issue the same IP.

But sicne it can identify my NIC(cause of the hardware address) and the
PC(cause of the hostname) then it always can identify my specific
equipment.
Changind the ip address wouldnt make a difference, would it?!

> > Manually i can set it to get 10.0.0.2 instead of 10.0.0.1 all the time
> > but why not automatically?
>
> It depends on what control you've got over the DHCP server and whether or not
> you can tell it to issue a particular IP to a paricular MAC/host

I have full control sicne iam the admin but i just want to know if ti
can be done in an automate way. Manually yes i know it works.

> > Also i want to change my external ip address(the routers one) since i
> > have dynamic contract with my ISP but no matter how many tiems i reboot
> > i always get the same one, 83.171.225.52.
>
> This is normal. Why do you want to change it?
> Dynamic does not mean that you get a new IP address every time you connect, it
> means that the IP address is assigned by DHCP.

Thank you for correcting me, this was indeed what i and many other
peple though when someone told us it had an Dynamic ip address, that i
would change on every rebbot of the machine or the router.

By DHCP you mean the ISP's DHCP server right in a same manner as we do
when we set our router's built-in dhcp to assign ip addresses for our
internal hosts.
Correct?

And if yes, we get this same ip address for how long?
Until the ISP's lease value for our ip address expires?

> DHCP will usually try to give you the same IP address as far as possible because
> this causes minimum disruption to your connection.

minimum disruption to your connection? Umm, how you mean please?

Sorry for my too many questions, but i need to get enlightend :-)

.



Relevant Pages

  • Re: Cant change my internal and external ip addresses
    ... > Jason thanks for the answers bu here i have some more to ask on what ... Try ipconfig /displaydns ... ipconfig /release releases your lease on the IP address you had. ... Then you have to be able to tell the DHCP server to issue the address you want. ...
    (comp.security.firewalls)
  • Re: What does XP do with lease for shutdown/restart?
    ... >> then they just set up the same lease when powered up. ... DHCP clients are supposed to explicitly send the ... > DHCP server a DHCP RELEASE when it's not going to use ... >> direct connection to Cox without the router. ...
    (microsoft.public.windowsxp.network_web)
  • Re: DHCP Lease Behaviour
    ... Here is the expected behavior for Windows CE dhcp client. ... ultimately it should detect the new DHCP server and try to obtain a lease. ... don't have a DHCP server on your customer's network or for some reason it is ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem with D-Link DSL-G624T
    ... there's your 1 hour disconnect. ... The DHCP client should start to try renewing the lease at 1/2 ... ipconfig /release ...
    (alt.internet.wireless)
  • RE: Random DHCP disconnects
    ... Is the 192.168.1.2 the IP Address that you client machine is requesting. ... The message indicates that the DHCP does not like this lease request by the ... Force the NIC on the DHCP Server to a specific Duplex and Speed. ...
    (microsoft.public.windows.server.networking)

Loading