Provided by: vuos-cmds_0.9.1-1_amd64 bug

NAME

       vustack – set the default networking stack

SYNOPSIS

       vustack [options ...]  stack command [args]

DESCRIPTION

       vunet is the VUOS module for networking virtualization.  Networking stacks can be loaded using vumount(1)
       and  are  identified  by  a  pathname:  the  mount  point.   vustack selects the stack to use among those
       available; command runs using the stack selected vustack.

OPTIONS

       -h, --help
              Print a short help message and exit.  If combined with -v print also the list of  protocol  family
              names.

       -s, --supported
              select the stack only for the protocol families supported by stack.

       -f list, --family list, --families list
              select  the  stack  for the protocol families in list.  list is a comma separated list of protocol
              names or numbers.

       -v, --verbose
              print the list of protocol families object of the stack selection.

EXAMPLES

       Load vunet and mount a stack:

              $ vu_insmod vunet
              $ vumount -t vunetvdestack vde:// /dev/net/vde

       Run ip link using the stack mounted in /dev/net/vde:

              $ vustack /dev/net/vde ip link
              1: lo: *LOOPBACK* mtu 65536 qdisc noop state DOWN mode DEFAULT group default qlen 1000
                  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
              2: vde0: *BROADCAST,MULTICAST* mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
                  link/ether 5a:1e:97:fa:ab:a3 brd ff:ff:ff:ff:ff:ff

       Run ip link set vde0 up selecting /dev/net/vde only for the families supported by vunetvdestack:

              $ vustack -s -v /dev/net/vde ip link set vde0 up
              Using /dev/net/vde for the following address families:
                  inet(2) inet6(10) netlink(16) packet(17)

       mount a null stack and use it to disable netlink:

              $ vumount -t vunetnull vde:// /dev/net/null
              $ exec vustack -f netlink -v /dev/net/null bash
              Using /dev/net/null for the following address families:
                  netlink(16)
              $ ip addr
              Cannot open netlink socket: Address family not supported by protocol

SEE ALSO

       umvu(1), vumount(1)

AUTHOR

       VirtualSquare.  Project leader: Renzo Davoli

VirtualSquare-VUOS                                November 2024                                       VUSTACK(1)