Good afternoon all, I've come to a temporary solution to the problem I've been having with softether:
First, softether uses DLPI to access the network, and there are 2 ways to do attach to an interface. One involves opening the root node of a network device (like /dev/bnx) and then attaching to the device number (0, 1, etc). Unfortunately, that doesn't work with crossbow vnics, which exist only as /dev/net/net0, for example. So when softether was trying to connect to /dev/net, it was attempting to open a directory and silently failing. A permanent fix will require some code changes in Softether. As a side note, I've also seen this problem in some code built using libnet, which just assumes network devices are located at /dev/interfacename. The other part of the problem is that in order to receive data destined for all of the VPN clients that will be connected, the interface will need to receive unicast packets for multiple mac addresses. The datalink property to allow that is called "promisc-filtered", and it's normally set to "on". dladm can be used to change that property, but it isn't persistent across zone restarts, which leads me to my next question: Does anyone know how to get the promisc-filtered=off property to remain across reboots? If I use dladm to turn it off, it comes back on when the zone restarts. It seems that allow_unfiltered_promisc is only allowed for KVM zones... Bill January 28, 2018 10:22 AM, "H. William Welliver III" <[email protected] (mailto:%22H.%20William%20Welliver%20III%22%20<[email protected]>)> wrote: Yes, I assumed that was necessary, however I’ve confirmed that the interface is running without protections (as shown below). The vpn server logs indicate that it’s trying to fetch an address using DHCP, but I don’t see any DHCP packets going out the interface. Is there something special about VNICs that I’m missing? dladm show-linkprop net0 LINK PROPERTY PERM VALUE DEFAULT POSSIBLE ... ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
