Added internal_ip segment

Closes #826