I tried to duplicate the configuration on a machine with rl(4) interface and I
cannot reproduce... em(4) issue perhaps ?

On Fri, Jan 08, 2016 at 07:08:26PM +0100, Denis Fondras wrote:
> Hello,
> 
> I am using svlan(4) and when I add a new svlan(4) interface after the system 
> has
> booted I always get a duplicated IPv6 and the new interface is not usable. If 
> I
> add a /etc/hostname.svlan file and I reboot, everything is fine.
> Any idea why ?
> 
> Thanks,
> Denis
> 
> Example (after boot) :
> # ifconfig
> [...]
> svlan1001: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:15:17:c1:71:fc
>         priority: 0
>         vlan: 1001 parent interface: em0
>         groups: svlan
>         status: active
>         inet 100.67.233.1 netmask 0xfffffffc broadcast 100.67.233.3
>         inet6 fe80::215:17ff:fec1:71fc%svlan1001 prefixlen 64 scopeid 0x9
>         inet6 2001:db8:ffff::1001:ff01 prefixlen 126
> svlan1002: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:15:17:c1:71:fc
>         priority: 0
>         vlan: 1002 parent interface: em0
>         groups: svlan
>         status: active
>         inet 100.67.234.1 netmask 0xfffffffc broadcast 100.67.234.3
>         inet6 fe80::215:17ff:fec1:71fc%svlan1002 prefixlen 64 scopeid 0xa
>         inet6 2001:db8:ffff::1002:ff01 prefixlen 126
> svlan1003: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:15:17:c1:71:fc
>         priority: 0
>         vlan: 1003 parent interface: em0
>         groups: svlan
>         status: active
>         inet 100.67.235.1 netmask 0xfffffffc broadcast 100.67.235.3
>         inet6 fe80::215:17ff:fec1:71fc%svlan1003 prefixlen 64 scopeid 0xb
>         inet6 2001:db8:ffff::1003:ff01 prefixlen 126
> [...]
> # ifconfig svlan1000 vlandev em0
> # ifconfig svlan1000 inet6 2001:db8:ffff::1000:ff01/126 
> # ifconfig
> [...]
> svlan1000: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:15:17:c1:71:fc
>         priority: 0
>         vlan: 1000 parent interface: em0
>         groups: svlan
>         status: active
>         inet 100.67.230.1 netmask 0xfffffffc broadcast 100.67.230.3
>         inet6 fe80::215:17ff:fec1:71fc%svlan1000 prefixlen 64 duplicated 
> scopeid
> 0xf
>         inet6 2001:db8:ffff::1000:ff01 prefixlen 126 duplicated
> [...]
> 
> # uname -a 
> OpenBSD rt-net 5.9 GENERIC.MP#1783 amd64
> 
> OpenBSD 5.9-beta (GENERIC.MP) #1783: Sun Dec 27 17:08:42 MST 2015
>      dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>  RTC BIOS diagnostic error 9<fixed_disk>
>  real mem = 8565923840 (8169MB)
>  avail mem = 8302190592 (7917MB)
>  mpath0 at root
>  scsibus0 at mpath0: 256 targets
>  mainbus0 at root
>  bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9fa32000 (67 entries)
>  bios0: vendor Intel Corporation version "S5000.86B.15.00.0101.110920101604"
> date 11/09/2010
>  bios0: Rackable Systems Inc. S5000PSL
>  acpi0 at bios0: rev 2
>  acpi0: sleep states S0 S1 S4 S5
>  acpi0: tables DSDT FACP APIC SPCR HPET MCFG SSDT SSDT SSDT HEST BERT ERST 
> EINJ
>  acpi0: wakeup devices SLPB(S5) PEX0(S5) PS2M(S1) PS2K(S1) UAR1(S5) UAR2(S5)
> UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) PCIX(S5) PCIO(S5) PCIP(S5) 
> PCIQ(S5)
> PCIF(S5) [...]
>  acpitimer0 at acpi0: 3579545 Hz, 24 bits
>  acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>  cpu0 at mainbus0: apid 0 (boot processor)
>  cpu0: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2494.11 MHz
>  cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>  cpu0: 6MB 64b/line 16-way L2 cache
>  cpu0: smt 0, core 0, package 0
>  mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
>  cpu0: apic clock running at 332MHz
>  cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE
>  cpu1 at mainbus0: apid 2 (application processor)
>  cpu1: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2493.76 MHz
>  cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>  cpu1: 6MB 64b/line 16-way L2 cache
>  cpu1: smt 0, core 2, package 0
>  cpu2 at mainbus0: apid 1 (application processor)
>  cpu2: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2493.76 MHz
>  cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>  cpu2: 6MB 64b/line 16-way L2 cache
>  cpu2: smt 0, core 1, package 0
>  cpu3 at mainbus0: apid 3 (application processor)
>  cpu3: Intel(R) Xeon(R) CPU L5420 @ 2.50GHz, 2493.76 MHz
>  cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>  cpu3: 6MB 64b/line 16-way L2 cache
>  cpu3: smt 0, core 3, package 0
>  ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
>  ioapic1 at mainbus0: apid 9 pa 0xfec80000, version 20, 24 pins
>  acpihpet0 at acpi0: 14318179 Hz
>  acpimcfg0 at acpi0 addr 0xa0000000, bus 0-255
>  acpiprt0 at acpi0: bus 0 (PCI0)
>  acpiprt1 at acpi0: bus 12 (PC32)
>  acpiprt2 at acpi0: bus 11 (PEX0)
>  acpiprt3 at acpi0: bus -1 (PEX1)
>  acpiprt4 at acpi0: bus -1 (PEX2)
>  acpiprt5 at acpi0: bus -1 (PEX3)
>  acpiprt6 at acpi0: bus 1 (PCIE)
>  acpiprt7 at acpi0: bus 5 (PCIX)
>  acpiprt8 at acpi0: bus 2 (PCIW)
>  acpiprt9 at acpi0: bus 3 (PCIO)
>  acpiprt10 at acpi0: bus -1 (PCIP)
>  acpiprt11 at acpi0: bus 4 (PCIQ)
>  acpiprt12 at acpi0: bus 7 (PCIF)
>  acpiprt13 at acpi0: bus 8 (PCIG)
>  acpiprt14 at acpi0: bus 9 (PCIH)
>  acpicpu0 at acpi0: !C2(750@40 io@0x162), C1(1000@20 halt), PSS
>  acpicpu1 at acpi0: !C2(750@40 io@0x162), C1(1000@20 halt), PSS
>  acpicpu2 at acpi0: !C2(750@40 io@0x162), C1(1000@20 halt), PSS
>  acpicpu3 at acpi0: !C2(750@40 io@0x162), C1(1000@20 halt), PSS
>  acpibtn0 at acpi0: SLPB
>  acpibtn1 at acpi0: PWRB
>  ipmi at mainbus0 not configured
>  cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2497, 1998 MHz
>  pci0 at mainbus0 bus 0
>  pchb0 at pci0 dev 0 function 0 "Intel 5000P Host" rev 0xb1
>  ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE x8" rev 0xb1
>  pci1 at ppb0 bus 1
>  ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
>  pci2 at ppb1 bus 2
>  ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
>  pci3 at ppb2 bus 3
>  ppb3 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01
>  pci4 at ppb3 bus 4
>  em0 at pci4 dev 0 function 0 "Intel 80003ES2" rev 0x01: msi, address
> 00:15:17:c1:71:fc
>  em1 at pci4 dev 0 function 1 "Intel 80003ES2" rev 0x01: msi, address
> 00:15:17:c1:71:fd
>  ppb4 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
>  pci5 at ppb4 bus 5
>  ppb5 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0xb1
>  pci6 at ppb5 bus 6
>  ppb6 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0xb1: msi
>  pci7 at ppb6 bus 7
>  em2 at pci7 dev 0 function 0 "Intel I350 Fiber" rev 0x01: msi, address
> 6c:b3:11:41:07:e4
>  em3 at pci7 dev 0 function 1 "Intel I350 Fiber" rev 0x01: msi, address
> 6c:b3:11:41:07:e5
>  em4 at pci7 dev 0 function 2 "Intel I350 Fiber" rev 0x01: msi, address
> 6c:b3:11:41:07:e6
>  em5 at pci7 dev 0 function 3 "Intel I350 Fiber" rev 0x01: msi, address
> 6c:b3:11:41:07:e7
>  ppb7 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0xb1
>  pci8 at ppb7 bus 8
>  ppb8 at pci0 dev 6 function 0 "Intel 5000 PCIE x8" rev 0xb1: msi
>  pci9 at ppb8 bus 9
>  ppb9 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0xb1
>  pci10 at ppb9 bus 10
>  pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1
>  pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1
>  pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1
>  pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1
>  pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1
>  pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1
>  pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1
>  ppb10 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09: msi
>  pci11 at ppb10 bus 11
>  uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 8 int 23
>  uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 8 int 22
>  uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 8 int 23
>  uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: apic 8 int 22
>  ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 8 int 23
>  usb0 at ehci0: USB revision 2.0
>  uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
>  ppb11 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9
>  pci12 at ppb11 bus 12
>  12:12:0: mem address conflict 0xfffe0000/0x20000
>  radeondrm0 at pci12 dev 12 function 0 "ATI ES1000" rev 0x02
>  drm0 at radeondrm0
>  radeondrm0: apic 8 int 17
>  pcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09
>  pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel > 0
> configured to compatibility, channel 1 configured to compatibility
>  pciide0: channel 0 disabled (no drives)
>  pciide0: channel 1 disabled (no drives)
>  ahci0 at pci0 dev 31 function 2 "Intel 6321ESB AHCI" rev 0x09: apic 8 int 20,
> AHCI 1.1
>  ahci0: port 1: 3.0Gb/s
>  scsibus1 at ahci0: 32 targets
>  sd0 at scsibus1 targ 1 lun 0: <ATA, OCZ-AGILITY3, 2.50> SCSI3 0/direct fixed
> naa.5e83a97e3b11f548
>  sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
>  ichiic0 at pci0 dev 31 function 3 "Intel 6321ESB SMBus" rev 0x09: apic 8 int 
> 20
>  iic0 at ichiic0
>  usb1 at uhci0: USB revision 1.0
>  uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  usb2 at uhci1: USB revision 1.0
>  uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  usb3 at uhci2: USB revision 1.0
>  uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  usb4 at uhci3: USB revision 1.0
>  uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
>  isa0 at pcib0
>  isadma0 at isa0
>  com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
>  com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
>  pckbc0 at isa0 port 0x60/5 irq 1 irq 12
>  pckbd0 at pckbc0 (kbd slot)
>  wskbd0 at pckbd0: console keyboard
>  pcppi0 at isa0 port 0x61
>  spkr0 at pcppi0
>  uhidev0 at uhub2 port 1 configuration 1 interface 0 "vendor 0x0dc6 USB
> keyboard" rev 1.10/1.03 addr 2
>  uhidev0: iclass 3/1
>  ukbd0 at uhidev0: 8 variable keys, 6 key codes
>  wskbd1 at ukbd0 mux 1
>  uhidev1 at uhub2 port 1 configuration 1 interface 1 "vendor 0x0dc6 USB
> keyboard" rev 1.10/1.03 addr 2
>  uhidev1: iclass 3/1
>  ums0 at uhidev1: 3 buttons, Z dir
>  wsmouse0 at ums0 mux 0
>  vscsi0 at root
>  scsibus2 at vscsi0: 256 targets
>  softraid0 at root
>  scsibus3 at softraid0: 256 targets
>  root on sd0a (0bdea91e0a96c676.a) swap on sd0b dump on sd0b
>  radeondrm0: 1280x1024
>  wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
>  wskbd1: connecting to wsdisplay0
>  wsdisplay0: screen 1-5 added (std, vt100 emulation)

Reply via email to