Re: sVLAN and IPv6 duplicates
Hi, > I tried to duplicate the configuration on a machine with rl(4) interface and I > cannot reproduce... em(4) issue perhaps ? > When I untag the switch port, I can add the interface and IPv6 address. Re-tagging the port and everything is fine after that.
Re: sVLAN and IPv6 duplicates
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 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 0xfffc broadcast 100.67.233.3 > inet6 fe80::215:17ff:fec1:71fc%svlan1001 prefixlen 64 scopeid 0x9 > inet6 2001:db8:::1001:ff01 prefixlen 126 > svlan1002: flags=8843 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 0xfffc broadcast 100.67.234.3 > inet6 fe80::215:17ff:fec1:71fc%svlan1002 prefixlen 64 scopeid 0xa > inet6 2001:db8:::1002:ff01 prefixlen 126 > svlan1003: flags=8843 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 0xfffc broadcast 100.67.235.3 > inet6 fe80::215:17ff:fec1:71fc%svlan1003 prefixlen 64 scopeid 0xb > inet6 2001:db8:::1003:ff01 prefixlen 126 > [...] > # ifconfig svlan1000 vlandev em0 > # ifconfig svlan1000 inet6 2001:db8:::1000:ff01/126 > # ifconfig > [...] > svlan1000: flags=8843 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 0xfffc broadcast 100.67.230.3 > inet6 fe80::215:17ff:fec1:71fc%svlan1000 prefixlen 64 duplicated > scopeid > 0xf > inet6 2001:db8:::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 > 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 0xfee0: 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:
sVLAN and IPv6 duplicates
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 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 0xfffc broadcast 100.67.233.3 inet6 fe80::215:17ff:fec1:71fc%svlan1001 prefixlen 64 scopeid 0x9 inet6 2001:db8:::1001:ff01 prefixlen 126 svlan1002: flags=8843 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 0xfffc broadcast 100.67.234.3 inet6 fe80::215:17ff:fec1:71fc%svlan1002 prefixlen 64 scopeid 0xa inet6 2001:db8:::1002:ff01 prefixlen 126 svlan1003: flags=8843 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 0xfffc broadcast 100.67.235.3 inet6 fe80::215:17ff:fec1:71fc%svlan1003 prefixlen 64 scopeid 0xb inet6 2001:db8:::1003:ff01 prefixlen 126 [...] # ifconfig svlan1000 vlandev em0 # ifconfig svlan1000 inet6 2001:db8:::1000:ff01/126 # ifconfig [...] svlan1000: flags=8843 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 0xfffc broadcast 100.67.230.3 inet6 fe80::215:17ff:fec1:71fc%svlan1000 prefixlen 64 duplicated scopeid 0xf inet6 2001:db8:::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 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 0xfee0: 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 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 9 pa 0xfec8, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xa000, 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 a