If you are using PPPoE only one device can get an IP address.
If you are using service provider DHCP only one device can get an IP address.
If you are using DHCP from a "modem" then many devices can get an IP address.
If you have a static /30 subnet then you can only put an IP address on one of the devices. If you have a larger subnet you can statically configure more devices.