Thank you for your reply but both of your suggestions did not help. In any event, the IP numbers that I gave earlier were all wrong; they should have started with 192.168 prefix.
By the way, I should provide a bit more relevant information. WhenI connect my MacBook directly to the modem, I...