Re: netisr+lagg+fragments=80% packet loss

2012-02-24 Thread Andrew Thompson
2012/2/25 Eugene Grosbein : > 25.02.2012 00:14, Eugene Grosbein пишет: >> This problem occurs only when net.isr.direct=0/net.isr.direct_force=0. >> And only when lagg1 has both ports up and running. And when I use oversized >> pings. >> At the same time, transit oversized pings go through this BRA

Re: Fwd: bridge interface type

2012-03-04 Thread Andrew Thompson
On 5 March 2012 18:46, Julian Elischer wrote: > On 3/4/12 1:36 PM, hiren panchasara wrote: >> >> Is this the correct mailer for such questions? > > > probably n...@freebsd.org would be better. > > I do not understand why a bridge needs an interface type at all > it seems a very odd way to implemen

Re: bridge interface type

2012-03-04 Thread Andrew Thompson
> From: hiren panchasara > > I created bridge1 this way: > > $ sudo ifconfig bridge create > Password: > bridge1 > > $ ifconfig bridge1 > bridge1: flags=8802 metric 0 mtu 1500 >    ether 02:32:c8:92:b6:01 >    nd6 options=29 >    id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 >    max

Re: STP on netgraph bridge node

2012-03-13 Thread Andrew Thompson
On 14 March 2012 09:40, Julian Elischer wrote: > On 3/11/12 1:06 AM, h bagade wrote: >> >> Hi all, >> >> Is there any way to add STP and RSTP protocols to bridge node on >> netgraph? Should I implement it on the node or it has done before? >> ___ >> free

Re: LACP kernel panics: /* unlocking is safe here */

2012-04-07 Thread Andrew Thompson
On 3 April 2012 00:35, John Baldwin wrote: > On Friday, March 30, 2012 6:04:24 pm Andrew Boyer wrote: >> While investigating a LACP issue, I turned on LACP_DEBUG on a debug kernel. > In this configuration it's easy to panic the kernel - just run 'ifconfig lagg0 > laggproto lacp' on a lagg that's a

getifaddrs & ipv6 scope

2012-04-12 Thread Andrew Thompson
Hi, I have noticed that getifaddrs() does not have sin6_scope_id set to the interface id for link local addresses on AF_INET6 types. Running the following program gives different results on Linux FreeBSD: dev: bge0 address: scope 0 dev: xl0 address: scope 0 dev: lo0 address: <:

Re: getifaddrs & ipv6 scope

2012-04-13 Thread Andrew Thompson
On 13 April 2012 18:41, Rainer Bredehorn wrote: > Hi! > >> I have noticed that getifaddrs() does not have sin6_scope_id set to >> the interface id for link local addresses on AF_INET6 types. Running >> the following program gives different results on Linux > > ifconfig shows the scopeid according

Re: getifaddrs & ipv6 scope

2012-04-15 Thread Andrew Thompson
On 14 April 2012 06:03, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Fri, 13 Apr 2012 20:01:39 +1200 >>>>>> Andrew Thompson said: > > thompsa> On 13 April 2012 18:41, Rainer Bredehorn wrote: >> Hi! >> >>> I have noticed that

Re: lagg(4) MAC address selection proposal

2012-04-17 Thread Andrew Thompson
On 18 April 2012 12:39, Ed Maste wrote: > When a new lagg(4) interface is created the link layer address from the > first port in the group is assigned to the lagg and to all other lagg > port members.  This means the address assigned to the lagg is different > if specified as, for example, "laggp

Re: 'ifconfig tun0 destroy' gets stuck

2012-06-07 Thread Andrew Thompson
On 7 June 2012 19:08, Andriy Gapon wrote: > > I experience a problem where vpnc can not exit cleanly and gets stuck. > pstree shows this chain: >  |-+= 31375 root vpnc >  | \-+- 13412 root /bin/sh /usr/local/sbin/vpnc-script-custom >  |   \--- 13446 root ifconfig tun0 destroy > > $ procstat -k 134

Re: Panic with if_bridge when removing components

2012-06-10 Thread Andrew Thompson
On 10 June 2012 02:27, Gustau Perez Querol wrote: >  Hi, > >  I'm seeing panics when removing an interface of a bridge. The system runs > HEAD/AMD64 r236733. I see no changes to if_bridge.c in the last two days, so > I would say the problem's still there. I also checked stable and the problem > sh

Re: lagg speed trouble

2012-07-04 Thread Andrew Thompson
On 4 July 2012 23:30, Vyacheslav Kulikovskyy wrote: > i have sever with two 1G links (em) aggregated by lagg0 > > after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 > or em1 > > I'm using nginx in own CDN. and server don't limited my mbufs, irq, or > anything else.. only lag

Re: lagg speed trouble

2012-07-05 Thread Andrew Thompson
On 6 July 2012 04:43, Vyacheslav Kulikovskyy wrote: > 2012/7/4 Andrew Thompson >> >> On 4 July 2012 23:30, Vyacheslav Kulikovskyy wrote: >> > i have sever with two 1G links (em) aggregated by lagg0 >> > >> > after 1700Megabits i have collisions/errors

Re: [CFT] if_transmit method for lagg(4)

2012-09-20 Thread Andrew Thompson
On 20 September 2012 19:47, Gleb Smirnoff wrote: > Hi, > > Yet another patch to test. Was suprising to me that lagg(4), which > aims at high-performance, still utilizes if_start. > > Attached is patch that converts lagg(4) to use if_transmit. I'd > appreciate if someone who do use lagg(4) te

Re: [CFT] if_transmit method for lagg(4)

2012-09-20 Thread Andrew Thompson
On 20 September 2012 20:48, Gleb Smirnoff wrote: > Hi! > > On Thu, Sep 20, 2012 at 08:37:19PM +1200, Andrew Thompson wrote: > A> > Yet another patch to test. Was suprising to me that lagg(4), which > A> > aims at high-performance, still utilizes if_start. > A

Re: 8.2-PRERELEASE: if_bridge ARP and broadcasts issues

2011-01-25 Thread Andrew Thompson
On 26 January 2011 02:32, Alexander Zagrebin wrote: > Hi! > > I've found some issues with the if_bridge on 8.2-PRERELEASE. > > 1. An ARP issue > > Suppose we have a box with the 4 interfaces: nic0, nic1, nic2, nic3. > The interfaces are linked pairwise using 2 bridge(4) interfaces: bridge0 > and b

Re: Can we turn off WPI_DEBUG

2009-10-27 Thread Andrew Thompson
On Tue, Oct 27, 2009 at 03:29:11PM -0700, Doug Barton wrote: > I cc'ed those who seem to have put the most/recent effort into > sys/dev/wpi. > > Is there any objection to turning off WPI_DEBUG by default? it creates > a lot of spam that the average user doesn't need. I use my 3945abg > every day a

Re: uath under FreeBSD 8.0-STABLE

2009-12-22 Thread Andrew Thompson
On Tue, Dec 22, 2009 at 05:54:25PM -0500, Steven Friedrich wrote: > On Tuesday 22 December 2009 02:31:04 pm Weongyo Jeong wrote: > > On Tue, Dec 15, 2009 at 04:03:31PM -0500, Steven Friedrich wrote: > > > Ok, I am able to load firmware with: > > > uathload -d /dev/ugen4.3 > > > but it also appears

Re: uath under FreeBSD 8.0-STABLE

2009-12-22 Thread Andrew Thompson
On Wed, Dec 23, 2009 at 12:01:22PM +1300, Andrew Thompson wrote: > On Tue, Dec 22, 2009 at 05:54:25PM -0500, Steven Friedrich wrote: > > On Tuesday 22 December 2009 02:31:04 pm Weongyo Jeong wrote: > > > On Tue, Dec 15, 2009 at 04:03:31PM -0500, Steven Friedrich wrote: > &

Re: Why lagg(4) wants ~IFF_DRV_OACTIVE?

2010-03-08 Thread Andrew Thompson
On Mon, Mar 08, 2010 at 11:12:25AM -0800, Xin LI wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > Maybe this is a stupid question but I really don't understand why a > interface with IFF_DRV_OACTIVE can't be added to a lagg(4) interface. > Looking at OpenBSD code, they do this

Re: Running rtadvd or DHCPv6 server via if_bridge interface

2010-03-18 Thread Andrew Thompson
On Thu, Mar 18, 2010 at 11:27:43PM +0100, Stefan Bethke wrote: > Am 11.12.2009 um 07:51 schrieb Chris Cowart: > > > Bruce Cran wrote: > >> I have a router configured using if_bridge with a 4-port NIC that's > >> serving addresses over DHCP. I'd like to add in either rtadvd or > >> DHCPv6, but neit

Re: Bringing VLANs created with rc.conf vlans_ 'up' on boot?

2010-05-17 Thread Andrew Thompson
On Mon, May 17, 2010 at 10:08:36AM -0700, Peter Kieser wrote: > Hello, > > I am experimenting with FreeBSD vlan's using the vlans option in > rc.conf, my configuration is as follows: > > ifconfig_em1="up" > vlans_em1="100 101 102 103 104 105 106 107 108 109 110" > autobridge_interfaces="bridge0"

Link state changes

2010-06-01 Thread Andrew Thompson
> Revision 205024 - (annotate) > Thu Mar 11 17:56:46 2010 UTC (2 months, 3 weeks ago) by qingli > > The if_tap interface is of IFT_ETHERNET type, but it > does not set or update the if_link_state variable. > As such RT_LINK_IS_UP() fails for the if_tap interface. > > Also, the RT_LINK_IS_UP() needs

Re: ndis: fix ugly code

2010-10-05 Thread Andrew Thompson
On 6 October 2010 09:19, Paul B Mahol wrote: > Hi, > > If clang did not complain, I would probbaly never spot it. > > Patch attached. Committed. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscrib

Re: Use lagg(4) or Use Layer-4 Load Balancing?

2008-06-18 Thread Andrew Thompson
On Tue, Jun 17, 2008 at 04:32:03AM -0400, Martes G Wigglesworth wrote: > Greetings all. > > I have been attempting to research what I have been informed is > actually accomplished with layer-4 load balancing. I have seen many > articles and reviews that indicate that lagg(4) will accomplish the

Re: Use lagg(4) multiple switches

2008-06-18 Thread Andrew Thompson
On Wed, Jun 18, 2008 at 04:20:48PM -0300, Alexandre Biancalana wrote: > Hi list, > > We have one machine with 3 nics configured with lagg(4). Each nic is > connected to a different switch, but only one is in active mode. > > $ ifconfig -v lagg0 > lagg0: flags=8843 metric 0 mtu 1500 > opt

Re: kern/125003: incorrect EtherIP header format.

2008-06-26 Thread Andrew Thompson
The following reply was made to PR kern/125003; it has been noted by GNATS. From: Andrew Thompson <[EMAIL PROTECTED]> To: Shunsuke SHINOMIYA <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: kern/125003: incorrect EtherIP header format. Date: Thu, 26 Jun 2008 07:34:24 -0700 Hi

Re: if_bridge turns off checksum offload of members?

2008-06-30 Thread Andrew Thompson
On Mon, Jun 30, 2008 at 07:16:29PM +0900, Pyun YongHyeon wrote: > On Mon, Jun 30, 2008 at 12:11:40PM +0300, Stefan Lambrev wrote: > > Greetings, > > > > I just noticed, that when I add em network card to bridge the checksum > > offload is turned off. > > I even put in my rc.conf: > > ifconf

Re: if_bridge turns off checksum offload of members?

2008-06-30 Thread Andrew Thompson
On Mon, Jun 30, 2008 at 07:16:29PM +0900, Pyun YongHyeon wrote: > On Mon, Jun 30, 2008 at 12:11:40PM +0300, Stefan Lambrev wrote: > > Greetings, > > > > I just noticed, that when I add em network card to bridge the checksum > > offload is turned off. > > I even put in my rc.conf: > > ifconf

Re: if_bridge turns off checksum offload of members?

2008-07-01 Thread Andrew Thompson
ported by all members. > 4) I'm not sure why bridge should not work with two interfaces one of which > support TX and the other does not? At least if I turn on checksum offload > only on one of the interfaces the bridge is still working ... > > Andrew Thompson wrote: >

Re: if_bridge turns off checksum offload of members?

2008-07-03 Thread Andrew Thompson
On Tue, Jul 01, 2008 at 01:10:09PM +0300, Stefan Lambrev wrote: > Hi, > > Sorry to reply to myself. > > Stefan Lambrev wrote: >> Hi, >> >> May be a stupid questions, but: >> >> 1) There are zero matches of IFCAP_TOE in kernel sources .. there is not >> support for TOE in 7.0, but may be this i

Re: kern/125181: [ndis] [patch] with wep enters kdb.enter.unknown, panics

2008-07-17 Thread Andrew Thompson
The following reply was made to PR kern/125181; it has been noted by GNATS. From: Andrew Thompson <[EMAIL PROTECTED]> To: Coleman Kane <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: kern/125181: [ndis] [patch] with wep enters kdb.enter.unknown, pani

Re: bridging wireless station

2008-08-04 Thread Andrew Thompson
On Mon, Aug 04, 2008 at 12:13:09PM -1000, David Cornejo wrote: > hi, > > i would like to bridge a wireless client to ethernet (in 8-CURRENT) - > the last bug in the if_bridge man page says this is a no-no. The bridge man page needs to be updated as its possible to do this now. > the question is

Re: lagg failover not automatic

2008-08-08 Thread Andrew Thompson
On Fri, Aug 08, 2008 at 11:49:27PM -0500, Jacob Owens wrote: > Hello. > > I've got a old sun V100 which features two gigabit ports (using dc driver). > I've been trying to get lagg failover working. on SPARC64 7.0 RELEASE > > On the box I put the following in /etc/rc.conf: > ifconfig_dc0="UP" > i

Re: Small patch to multicast code...

2008-08-29 Thread Andrew Thompson
On Fri, Aug 29, 2008 at 06:41:45PM +0200, Luigi Rizzo wrote: > On Fri, Aug 29, 2008 at 09:32:10AM -0700, Sam Leffler wrote: > > Luigi Rizzo wrote: > ... > > >and to be more explicit - the result of m_pullup is that > > >the number of bytes specified as m_pullup argument are in > > >a private piece

Re: if_gif/if_bridge problem

2008-09-04 Thread Andrew Thompson
On Fri, Sep 05, 2008 at 12:49:49AM +0800, Eugene Grosbein wrote: > On Thu, Sep 04, 2008 at 11:49:06AM -0400, Boris Kochergin wrote: > > > Ahoy. I've been using the patch for a while, and, recently, when the > > load on the wireless network I needed it for has increased, I've started > > getting

Re: bridged tap interfaces with stp

2008-09-22 Thread Andrew Thompson
On Mon, Sep 22, 2008 at 05:00:59PM +0300, Sergey Listopad wrote: > Hi! > > I am playing with bridge(4) stp feature. > > there are 2 boxes with 7.0-RELEASE-p4. > > rt1rt2 > ___ ___ > |

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

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>> > > >

Re: Surf outside Internet through VPN

2008-12-19 Thread Andrew Thompson
On Fri, Dec 19, 2008 at 03:23:57AM -0800, Noah Silverman wrote: > Hello, > > I want to find a way to pass ALL traffic from my laptop THROUGH my office > VPN and then out to the Internet. This is a "road warrior" setup. This > gives me a few benefits: 1) I can check my email securely through VP

Re: lagg failover mode and vlans

2009-01-31 Thread Andrew Thompson
On Tue, Jan 27, 2009 at 12:39:26PM -0500, Mike Tancsa wrote: ... > > but if I create some vlan interfaces off lagg0 > > lagg0.100: flags=8843 metric 0 mtu > 1500 > options=3 > ether 00:30:48:90:4c:fe > inet 192.168.100.1 netmask 0xff00 broadcast 192.168.100.255 >

Re: lagg LACP between two hosts

2009-04-30 Thread Andrew Thompson
On Thu, Apr 30, 2009 at 09:14:04PM +0200, and...@brancatelli.it wrote: > > Hello everybody, > > I have a strange curiosity maybe you can clarify me :-) > > Is it possible to do a LACP lagg connection directly between two hosts > using two gigalan and two crossed cables? Or maybe three... ;-) Ye

Re: New INTEL firmware v3.1 for device iwi (IPW 2200BG)

2009-05-03 Thread Andrew Thompson
On Sun, May 03, 2009 at 02:48:13PM +0200, Dieter Brozio wrote: > Hi there, > > To whom it may concern: > > INTEL released in March 2009 a new version 3.1 of its firmware version for > the WLAN iwi device (Pro/Wireless 2200BG). > > http://ipw2200.sourceforge.net/firmware.php > http://ipw2200.sou

Re: MAC locking and filtering in FreeBSD

2009-05-13 Thread Andrew Thompson
On Wed, May 13, 2009 at 10:48:02AM -0600, Brett Glass wrote: > I need to find a way to do "MAC address locking" in FreeBSD -- that is, to > ensure that only a machine with a particular MAC address can use a > particular IP address. Unfortunately, it appears that rules in FreeBSD's > IPFW are "st

Re: CFT: new trunk(4)

2007-04-01 Thread Andrew Thompson
On Sat, Mar 31, 2007 at 04:42:14PM +0300, Niki Denev wrote: > Andrew Thompson wrote: > > Hi, > > > > > > Here is a patch to add OpenBSD's trunk(4) interface, and also includes > > LACP support which came from agr(4) on NetBSD. Im interested in anyone > &

Re: CFT: new trunk(4)

2007-04-03 Thread Andrew Thompson
On Tue, Apr 03, 2007 at 09:37:57AM +0300, Niki Denev wrote: > > > > I have fixed this up, a couple of spaces slipped into the Makefile. > > > > > > I tried today to do the wireless/wired roaming, almost as given > in the man page, with the exception that my wireless interface (ath), > uses WPA,

Re: pf + scrub fragment reassemble + if_bridge = bad?

2007-04-07 Thread Andrew Thompson
On Sat, Apr 07, 2007 at 03:01:09PM -0500, David Duchscher wrote: > Ran into a problem the other day and wanted to drop a note and see > if I should followup with a PR. Running a box as a bridging firewall > and ran into problem with giant packets being reported by the router > on one end and OSPF

Re: CFT: new trunk(4)

2007-04-09 Thread Andrew Thompson
On Tue, Apr 03, 2007 at 09:37:57AM +0300, Niki Denev wrote: > >> Andrew Thompson wrote: > >>> Here is a patch to add OpenBSD's trunk(4) interface, and also includes > >>> LACP support which came from agr(4) on NetBSD. Im interested in anyone > >>

ipv6 multicast refcnt panic

2007-04-11 Thread Andrew Thompson
Hi, I have come across this panic which appears to be from incorrect refcounting on the inet6 multicast code. [EMAIL PROTECTED] ifconfig edsc0 create [EMAIL PROTECTED] ifconfig edsc0 inet6 f00f::01 [EMAIL PROTECTED] ifconfig edsc0 destroy Everything is ok... [EMAIL PROTECTED] ifconfig edsc0 cr

Re: ipv6 multicast refcnt panic

2007-04-12 Thread Andrew Thompson
On Thu, Apr 12, 2007 at 09:43:44AM +0100, Bruce M. Simpson wrote: > Andrew Thompson wrote: > >I have come across this panic which appears to be from incorrect > >refcounting on the inet6 multicast code. > > > I'm assuming this is in -CURRENT, as the refcount code has

Re: cvs commit: src/sbin/ifconfig Makefile ifconfig.8 iflagg.c iftrunk.c src/share/man/man4 Makefile lagg.4 trunk.4 src/sys/modules Makefile src/sys/modules/if_lagg Makefile src/sys/modules/if_trunk M

2007-04-18 Thread Andrew Thompson
Please note the following change. trunk was only in HEAD for a week so the few people who tried it out already need to be aware of the name change. Andrew On Tue, Apr 17, 2007 at 12:35:11AM +, Andrew Thompson wrote: > thompsa 2007-04-17 00:35:11 UTC > > FreeBSD src r

Re: driver packet coalesce

2007-05-30 Thread Andrew Thompson
On Wed, May 30, 2007 at 04:45:05PM -0700, Jack Vogel wrote: > Does any driver do this now? And if a driver were to coalesce > packets and send something up the stack that violates mss > will it barf? It would barf for things like bridging where the packet gets spit out a different interface. The b

bridge handbook section

2007-07-25 Thread Andrew Thompson
Hi, I have started updating the bridge section of the Handbook here, http://nzfug.nz.freebsd.org/nzfug/HandbookUpdates/NetworkBridging Any additions or corrections would be appreciated, just drop me an email. cheers, Andrew ___ freebsd-net@freebsd.o

Re: Creating a "non-bridge"

2007-07-31 Thread Andrew Thompson
On Tue, Jul 31, 2007 at 08:19:34PM -0600, Brett Glass wrote: > I'd like to create what might be called a "non-bridge" on a FreeBSD machine. > I'd like to put two Ethernet interfaces on the machine which have the same IP > address and subnet, and use those interfaces to communicate with clients.

LAGG handbook entry

2007-08-19 Thread Andrew Thompson
Hi, I have been putting together a chapter on 'Link Aggregation and Failover', any feedback/corrections/additions would be appreciated. http://nzfug.nz.freebsd.org/nzfug/HandbookUpdates/NetworkAggregation cheers, Andrew ___ freebsd-net@freebsd.org ma

Re: iwi(4)-related LOR

2007-08-30 Thread Andrew Thompson
On Thu, Aug 30, 2007 at 11:08:38AM +0300, Shteryana Shopova wrote: > Hi, > > I am getting the following LOR on my notebook - > > iwi0: mem 0xc840-0xc8400fff irq 21 > at device 4.0 on pci2 > iwi0: Ethernet address: 00:15:00:28:5c:dc > iwi0: [ITHREAD] > iwi0: link state changed to UP > iwi0: l

Re: If_bridge and MST

2007-09-03 Thread Andrew Thompson
On Mon, Sep 03, 2007 at 02:11:59PM +0100, Tom Judge wrote: > Hi, > > I was wondering if if_bridge had been taught how to speak multiple > instance spanning tree? Not yet. I havnt started it yet and I do not know of anyone else working on it. Andrew _

Re: Ethernet Bonding

2007-09-03 Thread Andrew Thompson
On Mon, Sep 03, 2007 at 02:16:20PM +0200, Christian Brueffer wrote: > On Mon, Sep 03, 2007 at 01:59:47PM +0200, mer mite wrote: > > Hi All, > > > > I'm looking for a way to provide ethernet interface bonding in FreeBSD > > similar to ipmp in Solaris or just ethernet bonding in Linux. Don't want t

Re: If_bridge and MST

2007-09-03 Thread Andrew Thompson
On Mon, Sep 03, 2007 at 10:21:20PM +0100, Tom Judge wrote: > Andrew Thompson wrote: > >On Mon, Sep 03, 2007 at 02:11:59PM +0100, Tom Judge wrote: > >>Hi, > >> > >>I was wondering if if_bridge had been taught how to speak multiple > >>instance spanning

ifconfig patch

2007-09-20 Thread Andrew Thompson
Hi, I have been digging into why the edsc module wasnt being loaded by ifconfig and now have a patch. A few printfs showed the problem. # ifconfig edsc0 create ifmaybeload(edsc0) trying to find if_edsc or edsc0 found @ ed Its comparing using the string length of the module name so any partial

Re: ifconfig patch

2007-09-20 Thread Andrew Thompson
On Fri, Sep 21, 2007 at 11:54:27AM +1200, Andrew Thompson wrote: > Hi, > > > I have been digging into why the edsc module wasnt being loaded by > ifconfig and now have a patch. > > A few printfs showed the problem. > > # ifconfig edsc0 create > ifmaybeload(edsc

Re: ifconfig patch

2007-09-20 Thread Andrew Thompson
On Thu, Sep 20, 2007 at 07:39:27PM -0500, Brooks Davis wrote: > On Fri, Sep 21, 2007 at 11:54:27AM +1200, Andrew Thompson wrote: > > Hi, > > > > > > I have been digging into why the edsc module wasnt being loaded by > > ifconfig and now have a patch. > >

Re: bridging ath

2007-09-27 Thread Andrew Thompson
On Wed, Sep 26, 2007 at 04:07:00PM -1000, Randy Bush wrote: > current i386 thinkpad t41 > > ifconfig_lo0="inet 127.0.0.1/8" > cloned_interfaces="bridge0" > ifconfig_bridge0="inet 192.168.0.3/24 addm em0 addm ath0 up" > ifconfig_em0="up" > ifconfig_ath0="ssid rgnet up" > defaultrouter="192.168.0.1"

Re: bridging ath

2007-09-27 Thread Andrew Thompson
On Thu, Sep 27, 2007 at 01:19:42PM -1000, Randy Bush wrote: > > Just to be sure... > > good questions, thanks for asking > > > net.inet.ip.forwarding=1 > > # sysctl net.inet.ip.forwarding > net.inet.ip.forwarding: 1 > > > net.link.ether.bridge.enable=1 > > net.link.ether.bridge.config=em0,ath0

Re: bridging ath

2007-09-29 Thread Andrew Thompson
On Fri, Sep 28, 2007 at 10:01:04PM -1000, Randy Bush wrote: > > I don't know what you're trying to do > > no surprise. i rarely do. :) > > > When you attach your wired nic to a bridge and and turn the bridge on > > the nic gets set in promiscuous mode. This is likely why you can > > ping the ot

Re: if_bridge on a vlan-trunk

2007-10-11 Thread Andrew Thompson
On Thu, Oct 11, 2007 at 09:42:15PM +0200, Jon Otterholm wrote: > Hi. > > Does anyone know if it is possible to put a transparent bridge on a > vlan-trunk? As from rev1.100 of if_bridge back in June it will correctly use the vlan number if the forwarding table so it is now possible to bridge a vla

Re: if_bridge on a vlan-trunk

2007-10-12 Thread Andrew Thompson
On Fri, Oct 12, 2007 at 02:59:44PM -0500, Erik Osterholm wrote: > On Fri, Oct 12, 2007 at 08:46:53AM +1300, Andrew Thompson wrote: > > On Thu, Oct 11, 2007 at 09:42:15PM +0200, Jon Otterholm wrote: > > > Hi. > > > > > > Does anyone know if it is possi

bridging vlan problem

2007-10-16 Thread Andrew Thompson
Hi, This problem has always existed but now in RELENG_7+ since the vlan tag is always stripped on the incoming packet its a little more obvious. The bridging output function puts the mbuf directly on the interfaces send queue so only network cards with VLAN_HWTAGGING will properly re-tag any out

Re: Secure Wireless Router using FreeBSD ...

2007-10-19 Thread Andrew Thompson
On Fri, Oct 19, 2007 at 02:27:02AM -0300, Marc G. Fournier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Within my Linksys, I can restrict wireless to MAC addresses, as well as using > stuff like WPA ... quick search on google, and I found: > >

Re: Maximum number of vlans on a freebsd box ???

2007-11-03 Thread Andrew Thompson
On Sat, Nov 03, 2007 at 08:23:20PM +0200, Ivo Vachkov wrote: > Hello all, > > I'd like to ask if someone has information how many vlans a freebsd > box can 'run' ? There is no limit. You can only add 4096 per interface of course as its a 12bit tag. If you are adding a lot then you should use the

Re: net-mgmt/bsd-airtools broken not because of gcc4

2007-11-07 Thread Andrew Thompson
On Thu, Nov 08, 2007 at 08:00:00AM +0300, Sergey Matveychuk wrote: > Denis Barov wrote: >> Hi all! >> I found, that port net-mgmt/bsd-airtools marked as broken: >> BROKEN= Does not compile with GCC 4.2 >> but, it's not really so. It's broken after Wed Jul 11 21:25:48 2007 UTC >> commit by

Re: net-mgmt/bsd-airtools broken not because of gcc4

2007-11-08 Thread Andrew Thompson
On Thu, Nov 08, 2007 at 12:22:41PM +0300, Denis Barov wrote: > On Thu Nov 08, 2007 at 18:50:10 +1300, Andrew Thompson wrote: > > On Thu, Nov 08, 2007 at 08:00:00AM +0300, Sergey Matveychuk wrote: > > > Denis Barov wrote: > > >> Hi all! > > >> I found,

Re: Aggregating many ports into one for tcpdump server.

2007-12-04 Thread Andrew Thompson
On Tue, Dec 04, 2007 at 04:25:01PM -0800, Peter Losher wrote: > I am currently working on a tcpdump collector where we have multiple > feeds coming in (via bge{0-8}). Since tcpdump can only poll one > interface per process, I was hoping to aggregate the traffic onto one > pseudo-interface for tcpd

Re: Aggregating many ports into one for tcpdump server. (also sampling before libpcap)

2007-12-08 Thread Andrew Thompson
On Sat, Dec 08, 2007 at 10:35:11AM +, Peter Wood wrote: > Morning, > > >>> Looking thru the archives, it seems ng_one2many (in this case > >>> 'many2one') is what I am looking for. Am I barking the right tree > here? > > Strangely enough this is the exact situation I was looking into on Frida

Re: Programming interface MAC filter without enabling PROMISC on an interface from user space.

2008-01-15 Thread Andrew Thompson
On Tue, Jan 15, 2008 at 09:59:22AM +, Tom Judge wrote: > Bruce M. Simpson wrote: >> Tom Judge wrote: > >>> Personally I can't see why this approach would be a problem, but I am >>> not a expert. The address is defined in IEEE Std 802.1D-2004 as to not >>> be forwarded by bridges (which I i

Re: if_bridge forwarding incorrectly forwarding ethernet link local addressed packets (e.g. lldp)

2008-01-16 Thread Andrew Thompson
On Thu, Jan 17, 2008 at 02:22:53AM +, Tom Judge wrote: > > Hi, > > As brought up in the thread "Programming interface MAC filter without > enabling PROMISC on an interface from user space." it would seem that > if_bridge does not conform to IEEE 802.1D-2004. Which states: > > > 7.12.6 Reser

Re: Multiple if_bridge devices

2008-01-29 Thread Andrew Thompson
On Tue, Jan 29, 2008 at 11:58:53AM -0800, Chris wrote: > (I am reposting this. I posted to FreeBSD-Questions but > it appears OT for that list. I didn't come here first > because I felt it was too non-technical, but I'd appreciate > any insights) > > I have 3 transparent firewalls on 3 T1s with a L

Re: if_gif/if_bridge problem

2008-02-26 Thread Andrew Thompson
On Tue, Feb 26, 2008 at 11:51:38AM -0500, Boris Kochergin wrote: > Eugene Grosbein wrote: >> On Tue, Feb 26, 2008 at 09:57:48AM -0500, Boris Kochergin wrote: >> >> >>> bridge0: flags=8843 metric 0 mtu >>> 1500 >>>ether 3e:7f:e8:ef:f6:a4 >>>inet 192.168.0.1 netmask 0xff00 bro

Re: VLAN trunking and fragmentation

2008-03-12 Thread Andrew Thompson
On Wed, Mar 12, 2008 at 12:38:06PM -0700, Sean Chittenden wrote: >> interface ethernet 1/g1 >> switchport mode trunk >> switchport trunk allowed vlan add 10 >> exit > > I think this is an issue with default VLAN membership. I have this config > running on *hundreds* of servers without issue. Sin

Re: ifconfig ath0 unable to get channel information

2008-04-22 Thread Andrew Thompson
On Wed, Apr 23, 2008 at 01:03:25AM +0900, Randy Bush wrote: > current of Apr 21 23:09 gmt. soekris 5501 with metrix minipci. this > worked in build of 31 march. > > # ifconfig ath0 channel 11 ssid rgnet-aden wep wepkey thirteenletrs > weptxkey 1 mediaopt hostap up > ifconfig: unable to get chann

Re: VLAN Trunking with Freebsd

2008-04-27 Thread Andrew Thompson
On Sun, Apr 27, 2008 at 11:42:39AM -0400, Martes G Wigglesworth wrote: > I am sure this topic has been discussed before, however, I have been > coming across unanswered inquiries within the last two months about > possibly using the trunking aspect of 802.1q standard network routing, > with only fr

Re: Testing lagg

2008-05-28 Thread Andrew Thompson
On Wed, May 28, 2008 at 05:28:34PM +0200, Andrea Venturoli wrote: > Hello. > > I've got a new box which features two gigabit ports and I though I'd try > lagg with LACP. > > On the box I put the following in /etc/rc.conf: > > ifconfig_em0="up" > ifconfig_em1="up" > ifconfig_lagg0="laggproto lac

RFC: if_bridge

2005-05-30 Thread Andrew Thompson
Hi, I am looking for testers and code review for if_bridge, the bridge implementation from NetBSD (and OpenBSD). The patch and instructions can be found at: http://people.freebsd.org/~thompsa/ Highlights include: - 802.1d spanning tree support - management of the bridge MAC table - view brid

Re: RFC: if_bridge

2005-05-31 Thread Andrew Thompson
On Tue, May 31, 2005 at 07:48:16PM -0400, Brian Fundakowski Feldman wrote: > On Tue, May 31, 2005 at 11:25:54AM +1200, Andrew Thompson wrote: > > Hi, > > > > I am looking for testers and code review for if_bridge, the bridge > > implementation from NetBSD (and OpenB

xxconfig for if_bridge

2005-06-02 Thread Andrew Thompson
Hi, The if_bridge code that will soon be committed can be configured using either brconfig or ifconfig. http://people.freebsd.org/~thompsa/ Only one tool will be committed and I would like to get opinions on which one ppl prefer brconfig - new util to /sbin + same as NetBSD/OpenBSD - would

Re: xxconfig for if_bridge

2005-06-03 Thread Andrew Thompson
On Fri, Jun 03, 2005 at 02:00:36PM -0700, Julian Elischer wrote: > what does if_bridge give you that cannot be achieved with > ng_bridge+ng_eiface? > Well, I guess it has some spanning tree algorythm in it, but it might be > as easy to put > that in ng_bridge and a lot more flexible, > We had t

Re: HEADSUP: internal network interface changes

2005-06-10 Thread Andrew Thompson
On Fri, Jun 10, 2005 at 09:57:24AM -0700, Brooks Davis wrote: > On Fri, Jun 10, 2005 at 09:26:00AM -0700, Brooks Davis wrote: > > Look out! :-) > > > > This change is incoming sortly (pending final cvs updates). > > I've committed the change bumping __FreeBSD_version. Hopefully the > ride won't

Re: inet6_pfil_hook undefined on -HEAD

2005-08-04 Thread Andrew Thompson
On Wed, Aug 03, 2005 at 11:58:02PM -0700, Darcy Buskermolen wrote: > In an effort to test the bridge device, I followed the instructions in > man if_bridge to create the bridge, I received an SIOCIFCREATE Invalid > argument, so I figured I needed to load the bridging code module. When I > attemp

Re: if_bridge and IPv6?

2005-08-29 Thread Andrew Thompson
On Mon, Aug 29, 2005 at 01:17:23PM -0700, Bruce A. Mah wrote: > Hi folks-- > > Can anyone tell me if I should be able to run IPv6 over an if_bridge > interface? The bridge is layer2 so you should be able to use any layer3 protocol. > IPv4 seems to work fine over this; I can assign an IPv4 addre

Re: if_bridge and IPv6?

2005-08-29 Thread Andrew Thompson
On Mon, Aug 29, 2005 at 06:19:42PM -0700, Bruce A. Mah wrote: > If memory serves me right, Bruce A. Mah wrote: > > If memory serves me right, Andrew Thompson wrote: > > > > > From what I can tell this is from the bridge itself, does bridging work > > > between

Re: sparc64 if_bridge broken between BETA4 and BETA5

2005-09-21 Thread Andrew Thompson
On Wed, Sep 21, 2005 at 07:23:43PM +0200, Peter van Dijk wrote: > Hello, > > with 6.0-BETA4 (from september 10th) if_tap and if_bridge cooperate > perfectly. > > After upgrading to BETA5 my machine panics seconds after I ifconfig > bridge0 up.. I tested if_tap independently and it is fine; if_bri

Re: cvs commit: src/sbin/ifconfig ifbridge.c

2005-10-06 Thread Andrew Thompson
Hi, I'd really like to get this into 6.0. When setting up a bridge with spanning tree its essential to know what state each port is in (forwarding, blocked, ...) I cant think of any bad things this will do (to scripts and such) but its getting so close to the release... Does anyone object to th

vlan patch

2005-10-19 Thread Andrew Thompson
Hi, It has always bugged me how the vlan code traverses the linked-list for each incoming packet to find the right ifvlan, I have this patch which attempts to fix this. What it does is replace the linear search for the vlan with a constant time lookup. It does this by allocating an array for

Re: vlan patch

2005-10-19 Thread Andrew Thompson
On Wed, Oct 19, 2005 at 01:19:27PM +0200, Andre Oppermann wrote: > Andrew Thompson wrote: > > > > Hi, > > > > It has always bugged me how the vlan code traverses the linked-list for > > each incoming packet to find the right ifvlan, I have this patch which >

Re: vlan patch

2005-10-20 Thread Andrew Thompson
On Thu, Oct 20, 2005 at 11:00:54AM +0400, Gleb Smirnoff wrote: > Andrew, > > On Wed, Oct 19, 2005 at 11:25:59PM +1300, Andrew Thompson wrote: > A> It has always bugged me how the vlan code traverses the linked-list for > A> each incoming packet to find the right ifvlan, I

Re: Dependency between interfaces

2005-10-20 Thread Andrew Thompson
On Thu, Oct 20, 2005 at 08:20:34PM +, Wojciech A. Koszek wrote: > Hello, > > Is EVENTHANDLER(9) proper way of notification for standalone driver about > network interface attach/detach operations? I've met simple problem in > ef(4), which causes machine freeze in following situation: load NIC

Re: Dependency between interfaces

2005-10-22 Thread Andrew Thompson
On Sat, Oct 22, 2005 at 01:37:35PM +, Wojciech A. Koszek wrote: > On Fri, Oct 21, 2005 at 09:23:27AM +1300, Andrew Thompson wrote: > > On Thu, Oct 20, 2005 at 08:20:34PM +, Wojciech A. Koszek wrote: > > > Hello, > > > > > [..] > > > > Is it s

Re: Dependency between interfaces

2005-10-22 Thread Andrew Thompson
On Sat, Oct 22, 2005 at 01:37:35PM +, Wojciech A. Koszek wrote: > On Fri, Oct 21, 2005 at 09:23:27AM +1300, Andrew Thompson wrote: > > On Thu, Oct 20, 2005 at 08:20:34PM +, Wojciech A. Koszek wrote: > > > Hello, > > > > > [..] > > > > Is it s

Re: -current link layer spaghetti diagram

2005-10-26 Thread Andrew Thompson
On Wed, Oct 26, 2005 at 06:46:03PM -0700, Julian Elischer wrote: > A first attempt can be seen at: > http://www.freebsd.org/~julian/layer2-current.pdf > > this is not a call graph, but a diagram of where packets can be passed. > > comments from vlan, pfil, CARP. if_bridge developers are welcome.

Re: if_bridge and vlan

2005-10-29 Thread Andrew Thompson
On Sat, Oct 29, 2005 at 06:32:31PM +0200, Jon Otterholm wrote: > > Hi. > > Does anyone know if if_bridge supports vlan-interfaces? > Yes it does. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubsc

  1   2   >