virtualsquare / virtualsquare/vde-2
vde_switch doesn't have -tap option (mac os x)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 255
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the vde_switch command and its displayed option list, then compare that behavior with the vde_switch man page on macOS. Reproduce the missing -t and -tap options using the reported Homebrew-installed vde 2.3.2 package and determine whether tap-interface support is absent from the macOS build; done means the platform behavior and supported invocation are documented or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100