I want to ask who assigns the IP address to a machine that connects to
the Internet? The ISP, the network card (i.e. MAC address??), or the
router?
The ISP controls the issuing of IP addresses.
It seems like my IP address is fixed everytime connected to the
Internet, it seems very unsecure because it allows hackers track the
computers more easily.
A fixed IP address is not less secure than a dynamic IP address; indeed,
dynamic IP addresses are the norm for consumer accounts, and "crackers"
(the malicious variety of hacker) have devised neat little applications
which can determine the IP address of an Internet connection, then phone
home. So malicious actors can track a particular computer on the Internet,
even if its IP address changes every minute.
I thought the IP address should be dynamic, and each time when we
connect to the Internet should have different IP address.
Do you have the standard SBC Express DSL package? If so, you do have a
dynamic IP address.
Is there a way that makes the IP address in my machine becomes dynamic?
I believe the standard IP address lease time for SBC DHCP addresses
(technically, these are PPP IP addresses, but they still have a DHCP lease
time) is about seven days. At about three and a half days, your router, or
modem will request a renewal; it will usually get the same IP address.
I have had the same SBC IP address for a long as eight days (196 hours). I
have also seen my SBC IP address change three times in one day. The best
way to ensure a new IP address lease from SBC is to shut down the PPPoE
device for a minimum of five minutes. That is, usually, long enough for
another SBC customer to pull the IP address you just gave up by shutting
down. When you next power up, you should see a new IP address.
Do you know which of your devices initiates the PPPoE session? When I was
running a Westell WireSpeed 36R516 ADSL modem, my router initiated the
PPPoE session, so I would reboot the router for a new IP address. I am now
running a SpeedStream 4100 ADSL modem, with the PPPoE session initiated
from the modem, so I would shut down the modem. If you are using a PPPoE
connection manager on the computer, you would need to shut down that PPPoE
manager.
OTOH, I don't see much point in forcing an IP address change, and I do have
an application running which requires having a known IP address on the
Internet, so I prefer not to change IP address any more often than
necessary; when it does change, it becomes necessary to change my DNS
settings for my domain.