Does Go offer a way to configure network interfaces? I found a very easy to use net.Interfaces method to get the information, but i want to modify the network configuration.
In order to modify your network config, the best way would be to call external tools like ip
, iptables
, ifconfig
, brctl
, etc.. This is the way we do in within docker (https://github.com/dotcloud/docker/blob/master/network.go#L72)