From the router? The switch itself doesn't do much other than forward frames at layer 2. The router will do the NAT for you, your hosts will do layer 2 with each other and the router through the switch. The switch itself doesn't have any IP dependencies.Where will than switch get inthernet?