text: Well, the lipo part of the lipopolysaccharide sits in the membrane and the polysaccharide part sticks on the outside.  I think for the most part they function in cell-cell recognition because the sequence of sugars acts as a tag that proteins can recognize.