Not all everything can connect to my network
I have several items in my home connected to my network. 2 MacBooks, an iPhone, an iPod and a printer. Today one of the MacBooks was not connecting to the internet but was connecting to the network. I did a network diagnostic, restarted my airport extreme and restarted the computer. It connected to the internet, but now my iPad and iPhone will not connect to the network. This happened a few times before and suddenly corrected itself. I don't understand how one computer, overnight, suddenly can't connect but the others still do, then, when I get that one to connect I lose service on other devices. Can someone explain this and tell me how to keep it from happening again? I'm getting tired of constantly having to set up a new network over and over to get everything to work again.
PowerMac, OS X Yosemite (10.10.2), Airport extreme