Have a look in the FAQ forum - there is a topic which deals with getting IP address in both TS and MetaFrame environments.