Dear Olivier,

I have a strange effect when creating vlan interface. I am using:
# show version
BSD Router Project version: 1.93
   Console: serial
Based on: FreeBSD 12.0-STABLE amd64
# uname -a
FreeBSD host2 12.0-STABLE FreeBSD 12.0-STABLE #0 r348234M: Fri May 24
15:01:39 CEST 2019
oliv...@lame4.bsdrp.net:/usr/local/BSDRP/workdir/BSDRPstable.amd64/usr/local/BSDRP/BSDRPstable/FreeBSD/src/amd64.amd64/sys/amd64
 amd64

# dmesg | grep igb1
...
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port ....
....

# ifconfig igb1
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=e120bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6>
ether xx:xx:xx:xx:xx:xx
inet6 YYYYYYYYYYYYY%igb1 prefixlen 64 scopeid 0x2
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

When I create vlan interface the vlandev interface goes down and then up
causing all vlan interfaces configured on this vlandev interface to flap:

ifconfig igb1.2000 create vlan 2000 vlandev igb1

in /var/log/messages I get:
Sep 24 06:47:21 host2 kernel: igb1: link state changed to DOWN
Sep 24 06:47:21 host2 kernel: igb1.1105: link state changed to DOWN
Sep 24 06:47:21 host2 kernel: igb1.1198: link state changed to DOWN
Sep 24 06:47:21 host2 kernel: igb1.1122: link state changed to DOWN
.....
.....

Sep 24 06:47:25 host2 kernel: igb1: link state changed to UP
Sep 24 06:47:25 host2 kernel: igb1.1105: link state changed to UP
Sep 24 06:47:25 balkan2 kernel: igb1.1198: link state changed to UP
Sep 24 06:47:25 balkan2 kernel: igb1.1122: link state changed to UP

I have less than 30 interfaces configured on that system.
Any ideas how to track this?

Regards,

Lyubo
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to