If you connect directly with PPPoE, your computer is automatically assigned an IP by the service provider.
More likely though, the modem has a built-in router which takes care of the PPPoE connection and assigns local, dynamic IPs to other computers on the local network automatically via DHCP.