Reactions of Ni(II) complexes of the type [Ni(polyamine)_n ]^(2+) (n = 1, 2, 3) and [Fe(CN)_6]^(3-) commonly lead to cyanometallate networks by formation of cyanide bridges Fe(III)--C-N-Ni(II). The resulting [Ni(polyamine)_n]_x[Fe(CN)_6]_y structures often exhibit ferromagnetism caused by magnetic coupling of unpaired electrons of the Ni(II) and Fe(III) ions through the cyanide bridges. The polyamine ligands block coordination sites of Ni(II) which limits the possibilities to form cyanide bridges. This favors a low-dimensional (1D, 2D) arrangement of the cyanometallates. Diamines or tetramines are typically used for this purpose as they have high affnity to Ni(II). In this work such low-dimensional cyanometallates are embedded in SiO_2 by means of sol-gel processing. A chemical link is established between the cyanometallate and SiO_2 matrix to make the cohesion more stable. This is achieved by introducing linker groups into the organic blocking ligands. The linker consists of an alkyl chain with a trialkoxysilyl group that reacts with the SiO_2 precursor tetraethoxysilane (TEOS) during sol-gel processing, thus forming covalent bonds. The infuence of this process on the structure of the cyanometallate network and its magnetic properties is studied by FTIR spectroscopy, SEM, EDX, SWAXS and SQUID.