Add internal_ip segment

Closes #857
Merge pull request #1010 from ZyX-I/internal_ip

Add internal_ip segment

Closes #857
Fixes #826