Vale port naming

Brooks Davis brooks at freebsd.org
Mon Apr 4 22:37:55 UTC 2016


On Mon, Apr 04, 2016 at 11:29:31AM +0000, Matt Churchyard via freebsd-net wrote:
> From the little information I can find on the net it seems that valeX:Y is the format for a port on a vale switch.
> Some examples use vale0:1, others use a letter such as valeA:0. The only details I can find is a vague reference to a 15/16? character limit, although I don't know whether that applies to just the first part of the whole thing.
> 
> Can anyone clarify the valid format for a vale switch/port?
> Is there any length or character restriction on X & Y?

According to the vale.4 manpage:

        vale ports are named vale[bdg:][port] where vale is the prefix
        indicating a VALE switch rather than a standard interface, bdg
        indicates a specific switch (the colon is a separator), and port
        indicates a port within the switch.  Bridge and port names are
        arbitrary strings, the only constraint being that the full name
        must fit within 16 characters.

The manpage is confusing in that the name must be 15 characters plus the
NUL character.  Given the other limits, it looks like bdg can be up to 8
characters in practice.

-- Brooks

https://www.freebsd.org/cgi/man.cgi?query=vale&sektion=4&apropos=0&manpath=FreeBSD+10.1-RELEASE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20160404/13bbe8a3/attachment.sig>


More information about the freebsd-net mailing list