Well, here is the thing. it all about where the electrons go, generally non-metals are electronegative (meaning that they have power to pull away electrons from another element), ionic bonding occurs when bonding non-metals and metals because metals are least electronegative(in the first group of metals it is much easier to have nobel gas electronic configuration by losing 1 electron rather than gaining another 7, therfore least electronegative group) while nonmetals are most electronegative, meaning that they will not share the bonded electrons but instead the non-metals will take it all together, hence forming an ionic bond.
Now aluminium is a tricky one, Aluminium, a metal is in group 3 and at the borderline between metals and non-metals. therefore it is more electrongetive than other metal groups in the same period. so it is less easy for an electronegative non-metal to take all its valence electrons, therefore there is a probability they might be shared. HOWEVER, i believe it depends on the non-metal you are combining it with, Nitogen, Oxygen, Flourine and somewhat Chlorine are the most electronegative elements, therefore would have the greatest potential to pull electrons towards them, thus form ionic bonds with metals. in this case i am asking about aluminium chloride (AlCl3), i believe it should be an ionic compound with some covalent character,in other words electrons are pulled towards chlorine but not as close as with other less electronegative metals. i also think that if alumnium is combined to less electronegative elements such as iodine it would definetly form covalent bonds.
But what about Al2Cl6 i was asking about too... we know that when AlCl3 is formed , there are 2 lone pairs of electrons used, thus is AlCl3 is heated to about 180oC becomes a gas and forms a dimer , where 2 chlorines form a dative covalent bond with aluminium, hence i believe Al2Cl6 is a covalent compound.
My problem is that i have very reliable sources telling me differnet facts...
I hope someone will help me with a suitable explanation and thank you,