|You cannot. As soon as you format the computer you want to install the OS on you would lose the LAN connection. |
There are ways of installing an OS over a LAN but it requires hardware and software specifically designed for the purpose.
The easiest solution would be to go out and buy a new CD drive. They are not expensive.