//AddIp it receives a CIDR Address and add it to the given interface
AddIp it receives a CIDR Address and add it to the given interface
// AddIp it receives a CIDR Address and add it to the given interface
func AddIp(ip, iface string) error {
	link, err := netlink.LinkByName(iface)
	if err != nil {
		return err
	}
	addr, err := netlink.ParseAddr(ip)
	if err != nil {
		return err
	}
	return netlink.AddrAdd(link, addr)
}
func AddIp ( ip , iface string ) error { link , err := netlink . LinkByName ( iface ) if err != nil { return err } addr , err := netlink . ParseAddr ( ip ) if err != nil { return err } return netlink . AddrAdd ( link , addr ) }
AddIp it receives a CIDR Address and add it to the given interface
AddIp it receives a CIDR Address and add it to the given interface