title: Disable ipv4/ipv6 programmatically
body: <p>Is it possible to disable/enable ipv4/ipv6 functionality programmatically on linux? By disabling ipv4 I mean that the system should not respond to or initiate any ipv4 traffic. And enabling ipv4 will have the system respond to ipv4 traffic.</p>
  
  <p>Thanks!</p>