Re: FreeBSD network failover

2008-12-16 Thread Shteryana Shopova
Maybe try lagg(4) in Failover mode? On Tue, Dec 16, 2008 at 12:57 PM, Randy Bush ra...@psg.com wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated

Re: FreeBSD network failover

2008-12-16 Thread Nikolay Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16 Dec, 2008, at 11:56 , Gabe wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated if the

RE: About netstat -m: What is mbuf+clusters out of packet secondary zone in use ?

2008-12-16 Thread Yony Yossef
I'm testing an Ethernet driver on FreeBSD 6.3. Running netstat -m during an ethernt stress test I see that the mbuf+clusters out of packet secondary zone in use number is growing gradualy. Problem is it never goes down after I stop the test, so it's pushing the mbufs in use up

Re: FreeBSD network failover

2008-12-16 Thread Randy Bush
On 08.12.16 18:56, Gabe wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated if the external side fails so that outbound traffic still flows. Any of

Re: FreeBSD network failover

2008-12-16 Thread Shteryana Shopova
On Tue, Dec 16, 2008 at 4:14 PM, Gabe n...@att.net wrote: Maybe try lagg(4) in Failover mode? Lagg wouldn't work on my setup because the dsl connection would be almost completely independent. Unless you can provide an example. Bind the two connection to the lagg, configure both IPs on the

bsnmpd 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Hello. Some weird thing has happened with 64bit counters: % snmpwalk -v2c -cpublic localhost ifInOctets IF-MIB::ifInOctets.1 = Counter32: 4107815474 ... IF-MIB::ifInOctets.16 = Counter32: 2894713654 % snmpwalk -v2c -cpublic localhost ifHCInOctets IF-MIB::ifHCInOctets.1 = Counter64:

RE: FreeBSD network failover

2008-12-16 Thread Gabe
On 08.12.16 18:56, Gabe wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated if the external side fails so that outbound traffic still flows. Any

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Sergey Matveychuk wrote: Hello. Some weird thing has happened with 64bit counters: % snmpwalk -v2c -cpublic localhost ifInOctets IF-MIB::ifInOctets.1 = Counter32: 4107815474 ... IF-MIB::ifInOctets.16 = Counter32: 2894713654 % snmpwalk -v2c -cpublic localhost ifHCInOctets

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SMHello. SM SMSome weird thing has happened with 64bit counters: SM SM% snmpwalk -v2c -cpublic localhost ifInOctets SMIF-MIB::ifInOctets.1 = Counter32: 4107815474 SM... SMIF-MIB::ifInOctets.16 = Counter32: 2894713654 SM SM% snmpwalk -v2c -cpublic

Re: FreeBSD network failover

2008-12-16 Thread Valentin Bud
On Tue, Dec 16, 2008 at 4:14 PM, Gabe n...@att.net wrote: Maybe try lagg(4) in Failover mode? On Tue, Dec 16, 2008 at 12:57 PM, Randy Bush ra...@psg.com wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a

Re: FreeBSD network failover

2008-12-16 Thread Randy Bush
I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated if the external side fails so that outbound traffic still flows. Any of you know of a way to accomplish

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Sergey Matveychuk
Harti Brandt wrote: On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SMHello. SM SMSome weird thing has happened with 64bit counters: SM SM% snmpwalk -v2c -cpublic localhost ifInOctets SMIF-MIB::ifInOctets.1 = Counter32: 4107815474 SM... SMIF-MIB::ifInOctets.16 = Counter32: 2894713654 SM SM%

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Bruce Simpson
Harti Brandt wrote: The highspeed counters are only there if this is a high-speed interface. High speed means that the baudrate in the interface MIB (the one in the kernel) must be larger than 20Mbaud. Does it look at the if_baudrate member? em(4) and other drivers will set if_baudrate

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SMHarti Brandt wrote: SM On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM SM SMHello. SM SM SM SMSome weird thing has happened with 64bit counters: SM SM SM SM% snmpwalk -v2c -cpublic localhost ifInOctets SM SMIF-MIB::ifInOctets.1 = Counter32:

Re: FreeBSD network failover

2008-12-16 Thread Bruce Simpson
Randy Bush wrote: ... freebsd does not allow metrics on static routes, which would be the 'normal' hack. i.e. you can not have two default routes with different weights. If you look in my 1 currently owned PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71474 ...this ticket

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Bruce Simpson wrote: BSHarti Brandt wrote: BS The highspeed counters are only there if this is a high-speed interface. BS High speed means that the baudrate in the interface MIB (the one in the BS kernel) must be larger than 20Mbaud. BS BS BSDoes it look at the if_baudrate

RE: FreeBSD network failover

2008-12-16 Thread Gabe
Maybe try lagg(4) in Failover mode? On Tue, Dec 16, 2008 at 12:57 PM, Randy Bush ra...@psg.com wrote: I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated

RE: About netstat -m: What is mbuf+clusters out of packet secondary zone in use ?

2008-12-16 Thread Yony Yossef
Hi All, I'm testing an Ethernet driver on FreeBSD 6.3. Running netstat -m during an ethernt stress test I see that the mbuf+clusters out of packet secondary zone in use number is growing gradualy. Problem is it never goes down after I stop the test, so it's pushing the

Re: PPP / Routing table

2008-12-16 Thread Denis Mysenko
I guess I found the source of the problem - it is route_Add() function from route.c (a part of /usr/sbin/ppp) which modifies routing table of the machine upon a new connection. As a quick solution, I created a ppp.linkup file: /sbin/route del $1 /sbin/route add -host $1 -iface $2 that deletes

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Andrew Thompson
On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM SM The highspeed counters are only there if this is a high-speed interface. SM High speed means that the baudrate in the interface MIB (the one in the SM kernel) must be larger than

FreeBSD network failover

2008-12-16 Thread Gabe
I have a nat'd box which obviously has an internal and external ip address. The box has a third interface which is configured to a DSL connection. My goal is for that interface to be activated if the external side fails so that outbound traffic still flows. Any of you know of a way to

RE: FreeBSD network failover

2008-12-16 Thread Michael K. Smith - Adhost
-Original Message- From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On Behalf Of Gabe Sent: Tuesday, December 16, 2008 6:14 AM To: freebsd-net@freebsd.org Subject: RE: FreeBSD network failover Maybe try lagg(4) in Failover mode? On Tue, Dec 16, 2008

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Max Laier
On Tuesday 16 December 2008 19:27:49 Andrew Thompson wrote: On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM SM The highspeed counters are only there if this is a high-speed interface. SM High speed means that the baudrate in

BCM43XX Wireless drivers

2008-12-16 Thread Alexey Ivanov
In my notebook i have nd...@pci0:48:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 broadcom wireless 1490 (dell)' class = network cap 01[40] = powerspec 3 supports D0 D1 D2 D3 current D0

Re: BCM43XX Wireless drivers

2008-12-16 Thread Glen Barber
On Tue, Dec 16, 2008 at 12:49 PM, Alexey Ivanov need4s...@bk.ru wrote: In my notebook i have nd...@pci0:48:0:0: class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4310 broadcom wireless 1490 (dell)' class =

working directory within kernel code

2008-12-16 Thread Ferner Cilloniz
I am trying to determine the current working directory when a system call is issued. im interested in determining this from a kernel module. however, because system calls are only given a thread* and a void*, which gets casted, is there any way i find out the cwd? thanks. -- Cilloniz Bicchi,

6to4 in 6.3-R?

2008-12-16 Thread Ivan Voras
Hi, I'm toying around with IPv6 and one thing I'd like to try is to set up an stf tunnel. The other types, like freenet6 and what sixxs uses work without problems, but on a 7-stable machine. I've followed various documents (like http://www.kfu.com/~nsayer/6to4/ but most are very similar) and it

Re: FreeBSD network failover

2008-12-16 Thread Randy Bush
On 08.12.17 03:11, Bruce Simpson wrote: Randy Bush wrote: ... freebsd does not allow metrics on static routes, which would be the 'normal' hack. i.e. you can not have two default routes with different weights. If you look in my 1 currently owned PRs:

Re: working directory within kernel code

2008-12-16 Thread Julian Elischer
Ferner Cilloniz wrote: I am trying to determine the current working directory when a system call is issued. im interested in determining this from a kernel module. however, because system calls are only given a thread* and a void*, which gets casted, is there any way i find out the cwd?

Re: bsnmpd 64bits counters problem

2008-12-16 Thread Andrew Thompson
On Tue, Dec 16, 2008 at 08:08:00PM +0100, Max Laier wrote: On Tuesday 16 December 2008 19:27:49 Andrew Thompson wrote: On Tue, Dec 16, 2008 at 07:12:24PM +0100, Harti Brandt wrote: On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM SM The highspeed counters are only there if this is a

loopback creation at boot

2008-12-16 Thread Steve Bertrand
Hi all, I'm curious to know if the creation of additional 'lo' interfaces is possible at boot via the traditional /etc/rc.conf as of yet. Forgive me if I've missed anything regarding this. I'm still trying to blend some functionality between FBSD and Quagga for certain routing functions. This

Re: HEADSUP: arp-v2 has been committed

2008-12-16 Thread Kip Macy
This was caused by a change I made today. Evidently we're trying to acquire a shared lock while holding an exclusive lock. I will take a look. -Kip On Wed, Dec 17, 2008 at 3:32 AM, Mike Tancsa m...@sentex.net wrote: At 01:34 AM 12/15/2008, Qing Li wrote: Hi All, The arp-v2 changes have

Re: HEADSUP: arp-v2 has been committed

2008-12-16 Thread Mike Tancsa
At 01:34 AM 12/15/2008, Qing Li wrote: Hi All, The arp-v2 changes have been committed into HEAD. Please report problems to me and Kip Macy. Not sure if its related or not, but if I create and destroy a lagg port, I get a panic e.g. 0[current]# ifconfig lagg0 laggproto failover laggport

Re: working directory within kernel code

2008-12-16 Thread Alfred Perlstein
* Ferner Cilloniz ferne...@gmail.com [081216 12:33] wrote: I am trying to determine the current working directory when a system call is issued. im interested in determining this from a kernel module. however, because system calls are only given a thread* and a void*, which gets casted, is

Re: HEADSUP: arp-v2 has been committed

2008-12-16 Thread Kip Macy
Try changeid 186209. Thanks, Kip On Wed, Dec 17, 2008 at 3:32 AM, Mike Tancsa m...@sentex.net wrote: At 01:34 AM 12/15/2008, Qing Li wrote: Hi All, The arp-v2 changes have been committed into HEAD. Please report problems to me and Kip Macy. Not sure if its related or not, but if I create

Re: kern/129647: [if_rl]: if_rl breakage

2008-12-16 Thread remko
Old Synopsis: if_rl breakage New Synopsis: [if_rl]: if_rl breakage Responsible-Changed-From-To: freebsd-i386-freebsd-net Responsible-Changed-By: remko Responsible-Changed-When: Wed Dec 17 06:58:06 UTC 2008 Responsible-Changed-Why: reassign to -net

Re: kern/129647: [if_rl]: if_rl breakage

2008-12-16 Thread yongari
Synopsis: [if_rl]: if_rl breakage Responsible-Changed-From-To: freebsd-net-yongari Responsible-Changed-By: yongari Responsible-Changed-When: Wed Dec 17 07:36:29 UTC 2008 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=129647