No, you are free to purchase your own modem and router and avoid the additional expense of renting a gateway from Xfinity. However, you will forgo the added security features that Xfinity offers with its xFi Gateway.