Re: ifconfig(8) bridge(4) ifcost not working?

Previous thread: hotplugd and auto mount UI by Jean-Francois on Saturday, December 11, 2010 - 6:46 am. (2 messages)

Next thread: invitatie cursuri gratuite online by invitatie cursuri gratuite online on Saturday, December 11, 2010 - 7:07 am. (1 message)
From: Insan Praja SW
Date: Saturday, December 11, 2010 - 6:59 am

Hi All@,
Has anyone trying to set an interface cost on a bridge(4) devices? It  
doesn't seem to work to me.

What I'm trying to do is to create a link with L2 redundancy. I can't use  
trunk due to the nature of multi operator network. So I create both  
vlan(s) on both links and higher the cost on backup links. I can't do it  
on the backbone switch because this is a "shared" multipoint backbone.

When I tried;
#ifconfig bridge0 ifcost vlan4010 1000

The machines replies;
ifconfig: bridge0: 1000: invalid argument

dmesg:

OpenBSD 4.8-current (GENERIC.MP) #11: Sun Nov 21 06:48:46 WIT 2010
     root@Border-RF.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error f<fixed_disk,invalid_time>
cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
GHz
cpu0:  
FPU,V86,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,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
real mem  = 2142744576 (2043MB)
avail mem = 2097610752 (2000MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @  
0x7fbe4000 (43 entries)
bios0: vendor Intel Corporation version  
"S3000.86B.02.00.0054.061120091710" date 06/11/2009
bios0: Intel S3000AH
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT SSDT SSDT  
SSDT HEST BERT ERST EINJ
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4)  
UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
GHz
cpu1:  ...
From: Claudio Jeker
Date: Saturday, December 11, 2010 - 7:46 am

You need to issue at least
ifconfig bridge0 stp vlan4010
first. I guess you may want to do a
ifconfig bridge0 proto rstp
as well.

After that the command works.

From: Insan Praja SW
Date: Saturday, December 11, 2010 - 9:10 am

Hi Claudio@,

On Sat, 11 Dec 2010 21:46:39 +0700, Claudio Jeker  

Thanks,


Insan Praja
-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/

Previous thread: hotplugd and auto mount UI by Jean-Francois on Saturday, December 11, 2010 - 6:46 am. (2 messages)

Next thread: invitatie cursuri gratuite online by invitatie cursuri gratuite online on Saturday, December 11, 2010 - 7:07 am. (1 message)