Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vde_switch doesn't have -tap option (mac os x) #29

Open
TheFausap opened this issue Aug 19, 2021 · 2 comments
Open

vde_switch doesn't have -tap option (mac os x) #29

TheFausap opened this issue Aug 19, 2021 · 2 comments

Comments

@TheFausap
Copy link

Hello,

I installed vde package (2.3.2) using brew under Mac OS X Big Sur 11.5.2
I used before vde under Linux, but I tried the same approach with Mac OS without success. The main issue is related to the '-t' option that seems is missing.


sudo vde_switch -t tap0

vde_switch: unrecognized option `-t'
Usage: vde_switch [OPTIONS]
Runs a VDE switch.
(global opts)
  -h, --help                 Display this help and exit
  -v, --version              Display informations on version and exit
  -n  --numports             Number of ports (default 32)
  -x, --hub                  Make the switch act as a hub
  -F, --fstp                 Activate the fast spanning tree protocol
      --macaddr MAC          Set the Switch MAC address
      --priority N           Set the priority for FST (MAC extension)
      --hashsize N           Hash table size
(opts from datasock module)
  -s, --sock SOCK            control directory pathname
  -s, --vdesock SOCK         Same as --sock SOCK
  -s, --unix SOCK            Same as --sock SOCK
  -m, --mode MODE            Permissions for the control socket (octal)
      --dirmode MODE         Permissions for the sockets directory (octal)
  -g, --group GROUP          Group owner for comm sockets
(opts from consmgmt module)
  -d, --daemon               Daemonize vde_switch once run
  -p, --pidfile PIDFILE      Write pid of daemon to PIDFILE
  -f, --rcfile               Configuration file (overrides /etc/vde2/vde_switch.rc and ~/.vderc)
  -M, --mgmt SOCK            path of the management UNIX socket
      --mgmtmode MODE        management UNIX socket access mode (octal)
      --mgmtgroup GROUP      management UNIX socket group name

Report bugs to info@v2.cs.unibo.it

If I run also a man vde_switch, I have

vde_switch [ -hub ] [ -sock commdirpath ] [ -mod octal-mode ] [ -group NAME ] [ -tap interface ] [ -daemon ]

but even if I try with '-tap', I have the same error.

Please, can you help me?

thanks
Fausto

@mremars
Copy link

mremars commented Oct 20, 2022

Hello,

same issue with vde package from Macports vde2 @2.3.2_0+experimental+pcap+tuntap (active)

Best regards

@danielinux
Copy link
Member

Not a MacOS user, but it could be that the brew package has been compiled without tap support.

  • Could you try compiling vde from sources using configure/make and see if the tap support works?
  • Is there a /dev/tap0 and Library/Extensions/tap.next in your system? By looking at our autoconf scripts, it looks like there might be an extra package dependency such as tuntaposx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants