see wtf??

when i //echo $ip i get 172.16.0.17 but when i dns myself i get 66.28.244.138 but when i try to send i send with 172.27.2.211 (this is all within mirc) I can't get mirc to recognize ONE IP, no matter what configuration i try... any suggestions?