Have you tried the @IPADDRESSx macro yet?

Check it out.