title: How to add an interface programmatically on Linux?
body: <p>How to add any interface programmatically on Linux? </p>
  
  <p>Is there any way, to add eth, loop or tun interface? 
  Can it be done via netlink?</p>
  
  <p>Language is C++, OS is Ubuntu. </p>