The VLAN and PTM endpoint should only be defined in the modem, not the router.
As for dynamic IPv4 addresses, that is what most CPs/ISPs provide for their broadband access services to the Internet. If you have a requirement for a static IP address, you will need to subscribe to a CP/ISP who provides such a service.