We have a router that connects 4 cities to the Internet using iBGP and eBGP. We are using OpenBGP for this function. Each city reaches the router via VLANs created on the lagg interface: # ifconfig lagg1 lagg1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO> ether 00:15:17:8c:81:d6 inet6 fe80::215:17ff:fe8c:81d6%lagg1 prefixlen 64 scopeid 0xd nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active laggproto lacp lagghash l2,l3,l4 laggport: em5 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> laggport: em2 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING> # ifconfig vlan0 vlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 00:15:17:8c:81:d6 inet 186.xxx.xx.1 netmask 0xffffffe0 broadcast 186.xxx.xx.31 inet6 fe80::215:17ff:fe8c:81d6%vlan0 prefixlen 64 scopeid 0xe inet6 2804:xxxx:dead::1 prefixlen 64 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active vlan: 3081 parent interface: lagg1 # ifconfig vlan1 vlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 00:15:17:8c:81:d6 inet 177.xx.xxx.254 netmask 0xffffffe0 broadcast 177.xx.xxx.255 inet6 fe80::215:17ff:fe8c:81d6%vlan1 prefixlen 64 scopeid 0xf inet6 2804:xxxx:cafe::1 prefixlen 64 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active vlan: 3082 parent interface: lagg1 # ifconfig vlan2 vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 00:15:17:8c:81:d6 inet 186.xxx.xx.1 netmask 0xffffffe0 broadcast 186.xxx.xx.31 inet6 fe80::215:17ff:fe8c:81d6%vlan2 prefixlen 64 scopeid 0x10 inet6 2804:xxxx:cade::1 prefixlen 64 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active vlan: 2126 parent interface: lagg1 # ifconfig vlan3 vlan3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=103<RXCSUM,TXCSUM,TSO4> ether 00:15:17:8c:81:d6 inet 186.xxx.xx.1 netmask 0xffffffe0 broadcast 186.xxx.xx.31 inet6 fe80::215:17ff:fe8c:81d6%vlan3 prefixlen 64 scopeid 0x11 inet6 2804:xxxx:bad::1 prefixlen 64 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect status: active vlan: 3088 parent interface: lagg1 So far everything works perfectly. But when I did: # ifconfig vlan4 create All my routing stopped, nor the killing bgpd process and restarting it did back operation. This did not happen in FreeBSD 9.2. The system only returned to work after the router rebooted. This problem does not happen if I start the router with the settings of the new vlan on /etc/rc.conf. I see this as a serious problem for a router. How-To-Repeat: With OpenBGP running, run the following command: # ifconfig vlanX create
Aditional Information: dmesg: Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-STABLE #5 r264032: Wed Apr 2 23:32:55 BRT 2014 root@rt01.intnet.com.br:/usr/obj/usr/src/sys/INTNET10 amd64 FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 CPU: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (3192.82-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x206a7 Family = 0x6 Model = 0x2a Stepping = 7 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x1fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7988715520 (7618 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL S1200BTS> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 ioapic0 <Version 2.0> irqs 0-23 on motherboard kbd1 at kbdmux0 random: <Software, Yarrow> initialized cryptosoft0: <software crypto> on motherboard acpi0: <INTEL> on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, 9d000 (3) failed cpu0: <ACPI CPU> on acpi0 cpu1: <ACPI CPU> on acpi0 cpu2: <ACPI CPU> on acpi0 cpu3: <ACPI CPU> on acpi0 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 em0: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x5020-0x503f mem 0xc1c60000-0xc1c7ffff,0xc1c40000-0xc1c5ffff irq 16 at device 0.0 on pci1 em0: Using an MSI interrupt em0: Ethernet address: 00:15:17:86:d2:de em1: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x5000-0x501f mem 0xc1c20000-0xc1c3ffff,0xc1c00000-0xc1c1ffff irq 17 at device 0.1 on pci1 em1: Using an MSI interrupt em1: Ethernet address: 00:15:17:86:d2:df pcib2: <ACPI PCI-PCI bridge> irq 17 at device 1.1 on pci0 pci2: <ACPI PCI bus> on pcib2 em2: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x4020-0x403f mem 0xc1b60000-0xc1b7ffff,0xc1b40000-0xc1b5ffff irq 17 at device 0.0 on pci2 em2: Using an MSI interrupt em2: Ethernet address: 00:15:17:8c:81:d6 em3: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x4000-0x401f mem 0xc1b20000-0xc1b3ffff,0xc1b00000-0xc1b1ffff irq 18 at device 0.1 on pci2 em3: Using an MSI interrupt em3: Ethernet address: 00:15:17:8c:81:d7 em4: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x6040-0x605f mem 0xc1d00000-0xc1d1ffff,0xc1d70000-0xc1d70fff irq 19 at device 25.0 on pci0 em4: Using an MSI interrupt em4: Ethernet address: 00:1e:67:77:de:63 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xc1d60000-0xc1d603ff irq 22 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0 on ehci0 pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0 pci3: <ACPI PCI bus> on pcib3 em5: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x3020-0x303f mem 0xc1060000-0xc107ffff,0xc1040000-0xc105ffff irq 16 at device 0.0 on pci3 em5: Using an MSI interrupt em5: Ethernet address: 00:15:17:86:b8:d6 em6: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x3000-0x301f mem 0xc1020000-0xc103ffff,0xc1000000-0xc101ffff irq 17 at device 0.1 on pci3 em6: Using an MSI interrupt em6: Ethernet address: 00:15:17:86:b8:d7 pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0 pci4: <ACPI PCI bus> on pcib4 em7: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x2000-0x201f mem 0xc1a00000-0xc1a1ffff,0xc1a20000-0xc1a23fff irq 16 at device 0.0 on pci4 em7: Using MSIX interrupts with 3 vectors em7: Ethernet address: 00:1e:67:77:de:62 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xc1d50000-0xc1d503ff irq 20 at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci1 pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci5: <ACPI PCI bus> on pcib5 vgapci0: <VGA-compatible display> mem 0xc0000000-0xc0ffffff at device 2.0 on pci5 vgapci0: Boot video device isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 ahci0: <Intel Cougar Point AHCI SATA controller> port 0x6090-0x6097,0x6080-0x6083,0x6070-0x6077,0x6060-0x6063,0x6020-0x603f mem 0xc1d40000-0xc1d407ff irq 21 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich2: <AHCI channel> at channel 2 on ahci0 ahcich3: <AHCI channel> at channel 3 on ahci0 ahcich4: <AHCI channel> at channel 4 on ahci0 ahcich5: <AHCI channel> at channel 5 on ahci0 ahciem0: <AHCI enclosure management bridge> on ahci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button0: <Sleep Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 acpi_tz1: <Thermal Zone> on acpi0 battery0: <ACPI Control Method Battery> on acpi0 battery1: <ACPI Control Method Battery> on acpi0 battery2: <ACPI Control Method Battery> on acpi0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xccfff,0xcd000-0xcdfff,0xce000-0xcefff,0xcf000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xd2000-0xd2fff,0xd3000-0xd3fff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 est1: <Enhanced SpeedStep Frequency Control> on cpu1 p4tcc1: <CPU Frequency Thermal Control> on cpu1 est2: <Enhanced SpeedStep Frequency Control> on cpu2 p4tcc2: <CPU Frequency Thermal Control> on cpu2 est3: <Enhanced SpeedStep Frequency Control> on cpu3 p4tcc3: <CPU Frequency Thermal Control> on cpu3 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled DUMMYNET 0 with IPv6 initialized (100409) load_dn_sched dn_sched FIFO loaded load_dn_sched dn_sched PRIO loaded load_dn_sched dn_sched QFQ loaded load_dn_sched dn_sched RR loaded load_dn_sched dn_sched WF2Q+ loaded random: unblocking device. usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <Intel> at usbus0 uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 ugen1.1: <Intel> at usbus1 uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <WDC WD10EARS-00Y5B1 80.00A80> ATA-8 SATA 2.x device ada0: Serial Number WD-WCAV5U676716 ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada0: quirks=0x1<4K> ada0: Previously was known as ad4 pass1 at ahciem0 bus 0 scbus6 target 0 lun 0 pass1: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device SMP: AP CPU #2 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC-low" frequency 1596409044 Hz quality 1000 Root mount waiting for: usbus1 usbus0 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen1.2: <vendor 0x8087> at usbus1 uhub2: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus1 ugen0.2: <vendor 0x8087> at usbus0 uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus0 Root mount waiting for: usbus1 usbus0 uhub2: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered ugen1.3: <Cypress Semiconductor> at usbus1 Root mount waiting for: usbus1 ugen1.4: <USB> at usbus1 ukbd0: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on usbus1 kbd2 at ukbd0 Trying to mount root from ufs:/dev/label/rootfs [rw]... lagg1: IPv6 addresses on em2 have been removed before adding it as a member to prevent IPv6 address scope violation. lagg1: IPv6 addresses on em5 have been removed before adding it as a member to prevent IPv6 address scope violation. uhid0: <Cypress Semiconductor USB to Serial, class 0/0, rev 1.00/0.00, addr 3> on usbus1 uhid1: <USB USB Keykoard, class 0/0, rev 1.10/1.10, addr 4> on usbus1 ================================================================================ My kernel: cpu HAMMER ident INTNET10 options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options TCP_OFFLOAD # TCP offload options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options QUOTA # Enable disk quotas for UFS options MD_ROOT # MD is a potential root device options NFSCL # New Network Filesystem Client options NFSD # New Network Filesystem Server options NFSLOCKD # Network Lock Manager options NFS_ROOT # NFS usable as /, requires NFSCL options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization options COMPAT_FREEBSD32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options CAPABILITY_MODE # Capsicum capability mode options CAPABILITIES # Capsicum capabilities options PROCDESC # Support for process descriptors options INCLUDE_CONFIG_FILE # Include this file in kernel options SMP # Symmetric MultiProcessor Kernel device cpufreq device acpi device pci device ahci # AHCI-compatible SATA controllers device ata # Legacy ATA/SATA controllers options ATA_STATIC_ID # Static device numbering device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA device scbus # SCSI bus (required for ATA/SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct ATA/SCSI access) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver options VESA # Add support for VESA BIOS Extensions (VBE) device splash # Splash screen and screen saver support device sc options SC_PIXEL_MODE # add support for the raster text mode device agp # support several AGP chipsets device uart # Generic UART driver device em # Intel PRO/1000 Gigabit Ethernet Family device igb # Intel PRO/1000 PCIE Server Gigabit Family device ixgbe # Intel PRO/10GbE PCIE Ethernet Family device loop # Network loopback device random # Entropy device device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module device bpf # Berkeley packet filter options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_NAT options LIBALIAS options DUMMYNET options IPDIVERT options ROUTETABLES=2 options IPSTEALTH options TCP_SIGNATURE #include support for RFC 2385 options IPSEC device crypto options DEVICE_POLLING options HZ=3000 # (32 bits UP, HZ=2000 32bits SMP, HZ=2000 UP 64bits, HZ=XXX - empirico, SMP 64bits) device carp device lagg device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build loader.conf: loader_logo="beastie" if_lagg_load="YES" speaker_load="YES" aio_load="YES" # Async IO system calls autoboot_delay="5" # reduce boot menu delay from 10 to 3 seconds sysctl.conf: net.inet.ip.forwarding=1 net.inet.ip.fastforwarding=1 net.inet6.ip6.forwarding=1 kern.ipc.somaxconn=4096 # 128 default net.inet.tcp.syncookies=1 net.inet.ip.redirect=1 # do not send IP redirects net.inet.ip.accept_sourceroute=0 # drop source routed packets since they can not be trusted net.inet.ip.sourceroute=0 # if source routed packets are accepted the route data is ignored net.inet.tcp.drop_synfin=1 # SYN/FIN packets get dropped on initial connection net.inet.udp.blackhole=1 # drop udp packets destined for closed sockets net.inet.tcp.blackhole=2 # drop tcp packets destined for closed ports security.bsd.see_other_uids=0 # hide processes for root from user uid's net.inet.ip.fw.dyn_buckets=65536 net.inet.ip.fw.dyn_max=65536 hw.intr_storm_threshold=9000 net.inet.ip.dummynet.pipe_slot_limit=800 kern.ipc.nmbclusters=262144 kern.ipc.maxsockets=204800 /etc/make.conf: WITHOUT_X11=yes WITH_PKGNG=yes - OpenBGP compiled from ports. - Commodity Hardware./ - no pfsync or carp use. - kernel load: 1.64 hw.machine: amd64 hw.model: Intel(R) Xeon(R) CPU E31230 @ 3.20GHz hw.ncpu: 4 hw.byteorder: 1234 hw.physmem: 8286969856/
Responsible Changed From-To: freebsd-amd64->freebsd-net reclassify.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped