Hi,
does anyone know of a way to set the fib of the encapsulated packets of a tun interface?
gif and gre take the parameter just fine:
I want clients connected via net/ocserv to drop into a different fib from fib0, and I'm fairly sure ocserv can only use tun interfaces for layer 3.
Scott
does anyone know of a way to set the fib of the encapsulated packets of a tun interface?
Code:
# ifconfig tun2 create
# ifconfig tun2 tunnelfib 1
ifconfig: ioctl (SIOCSTUNFIB): Invalid argument
gif and gre take the parameter just fine:
Code:
# ifconfig gif2 create
# ifconfig gif2 tunnelfib 1
# ifconfig gre2 create
# ifconfig gre2 tunnelfib 1
I want clients connected via net/ocserv to drop into a different fib from fib0, and I'm fairly sure ocserv can only use tun interfaces for layer 3.
Scott