Add ipv6 support and more.

Add inet family as attribute.
Add posibility to set 'up'/'down' as string or array.