I am not sure I understand your setup. Is your Mac connected directly to your modem by an ethernet cable? What do you mean by " the internet shares to WiFi"?
If your mac is connected directly to your router by an ethernet cable, go to your network preferences and tell us what your IP address is leaving off the last octet. (eg. 192.168.1.xxx)