I suspect you have static, i.e. fixed addressing on both connections.
If you want a dynamic network connection at home and a static address for use at work, go to the Network and Sharing Center > Change adapter settings (in the left pane) > Right-click or press and hold the connection, click or tap Properties at the bottom > and scroll down to Internet Protocol Version 4 (TCP/IPv4) and double-click or double-tap it. Click or tap the Alternate Configuration Tab > Put a check in User configured and fill in the rest of the details. The General Tab refers to dynamic addressing (DHCP), set this up first.