Hello,
I have one veb interface in OpenBSD 7.2 and 5 ethernet ports are paired
with this veb. As I understand from the ifconfig output, 4096 mac address
cache values can be kept in this veb interface .

ifconfig veb10
veb10: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
        index 12 llprio 3
        groups: veb
        em3 flags=3<LEARNING,DISCOVER>
                port 4 ifpriority 0 ifcost 0
        em0 flags=3<LEARNING,DISCOVER>
                port 1 ifpriority 0 ifcost 0
        em1 flags=3<LEARNING,DISCOVER>
                port 2 ifpriority 0 ifcost 0
        ix3 flags=3<LEARNING,DISCOVER>
                port 8 ifpriority 0 ifcost 0
        ix2 flags=3<LEARNING,DISCOVER>
                port 7 ifpriority 0 ifcost 0
        Addresses (max cache: 4096, timeout: 240):
                2c:f0:5d:73:f8:c4 em1 0 flags=0<>
....

When I tried to extend this limit value with the command "ifconfig veb10
maxaddr 4097", I got the following error message:
"ifconfig: veb10: Invalid argument"
The maximum value I can give without this error message is 4096. Isn't this
value a bit narrow?

I have tested that the mac addresses of the connected devices are not
recorded in the veb interface after exceeding the limit.

I want to switch from Cisco device to OpenBSD in a place where there are
more than 8 thousand MAC addresses, but I need to exceed this max cache
size value.
How can I increase this max cache size value 8192 or higher value?

Thank you in advance for your interest.

Reply via email to