[Bug 263604] ifconfig: Low performance with many interface/IP

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Apr 2022 19:22:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263604

--- Comment #2 from Andrey Linkevich <dl@CyberPunk.ru> ---
Hello, Oliver

We use an analogue of qinq: vlan over eoip (mikrotik gre via netgraph).

The configuration is as close as possible to a typical rc.conf. In life we
often use service netif start ...

Config example:
In /etc/rc.conf
....
# eoip0559..eoip0562
. /etc/rc.conf.d/BALKAL17
...
In /etc/local/BALKAL17
...
#-------------------------------------------------------------
ifconfig_eoip0560_descr="BALKAL17-13#ether2: Radio10.67.184"
ifconfig_eoip0560="up"
# Radio devices
ifconfig_eoip0560_alias0="inet 10.67.184.1/24"
#-------------------------------------------------------------
ifconfig_eoip0561_descr="BALKAL17-13#ether4: BALKAL17-SW16...#1"
ifconfig_eoip0561="up"
#-------------------------------------------------------------
vlans_eoip0561=" \
100 103 104 ... \
"
#-------------------------------------------------------------
ifconfig_eoip0561_100_descr="MGMT BALKAL17-SW16...."
ifconfig_eoip0561_100="group CoNet group ipacc_output up"
ifconfig_eoip0561_100_alias0="inet 10.169.217.237/30"
#-------------------------------------------------------------
ifconfig_eoip0561_103_descr="BALKAL17-SW16#3: Radio10.64.205"
ifconfig_eoip0561_103="up"
# Client ...
ifconfig_eoip0561_103_alias0="inet 10.162.19.201/30"
# Radio devices
ifconfig_eoip0561_103_alias1="inet 10.64.205.1/24"
...

Of course this is an exotic setting? However the performance degradation is so
great that it is not a sin to fix it for everyone.

We do not insist . For ourselves, we have solved the problem with a patch so
far.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.