Due to the importance of all-optical demultiplexers (DEMUXs) in optical communication networks, this study aims to design and simulate a novel type of DEMUX using 2D photonic crystals (2D-PhCs). The proposed structure consists of one input waveguide and eight output channels considering linear and point defects. To design this DEMUX, silicon dielectric rods with the refractive index of 3.45 are employed in the air background, the radius of which is equal to R=0.21Ʌ (Ʌ = 0.522µm) where Ʌ is the lattice constant. The photonic band gap (PBG) and output spectrum of the structure are analyzed by the plane wave expansion (PWE) and finite-difference time-domain (FDTD) methods, respectively. The simulation results indicate the average quality factor and transmission efficiency are 3,602 and 98%, respectively, and inter-channel crosstalk ranges from -60.5 to -25.5 dB.