From owner-freebsd-net@FreeBSD.ORG Sun May 14 00:40:36 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B335616A408 for ; Sun, 14 May 2006 00:40:36 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout04-04.prod.mesa1.secureserver.net (smtpout04-04.prod.mesa1.secureserver.net [64.202.165.199]) by mx1.FreeBSD.org (Postfix) with SMTP id 02D4043D46 for ; Sun, 14 May 2006 00:40:35 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 2480 invoked from network); 14 May 2006 00:40:35 -0000 Received: from unknown (24.144.77.138) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 14 May 2006 00:40:31 -0000 Message-ID: <44667C7E.1020401@seclark.us> Date: Sat, 13 May 2006 20:40:30 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce M Simpson References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> <20060512131227.GD79277@spc.org> <20060513230315.GE79277@spc.org> In-Reply-To: <20060513230315.GE79277@spc.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Robert Watson , pavlin@icir.org, atanu@icir.org Subject: Re: [PATCH] Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 00:40:36 -0000 Bruce M Simpson wrote: >Hello, > >On Fri, May 12, 2006 at 02:12:27PM +0100, Bruce M Simpson wrote: > > >>Therefore, joining the same group 20 times on different interfaces >>would exceed IP_MAX_MEMBERSHIPS. >>Fixing this in any way would still break the ip_mroute_kmod ABI and >>as such is a HEAD change. >> >> > >A patch for this issue, against FreeBSD 6.1-RELEASE, is now available >at this location: > http://people.freebsd.org/~bms/ipmaxgroups.diff > >The general logic of the patch should also be applicable to other >4.4BSD-derived operating systems; the patch will probably also apply >to HEAD with little or no fuzz. > >I have performed some initial testing (using mtest driven via jot to >join a set of ephemeral multicast groups) on a 2-cpu system and it >looks good from here. > >I would greatly appreciate further testing, particularly in a production >routing environment such as yours, if at all possible. > >When I receive more feedback I will be happy to commit the patch. > >Because of the nature of this patch, it will break the ABI with regards >to the ip_mroute kernel module (IPv4 multicast routing), therefore the >patch can only be committed to HEAD for the time being. > >Regards, >BMS >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > Hello Bruce, Thanks for your effort - I will try it on monday at work in a test configuration I have setup with a hundred gre/vpn tunnels and ospf. This configuration needs a multicast membership group of 100. I worked over the weekend a couple of weeks ago and ported our software to 6.x now 6.1. We are deploying this version for our highend systems for the HQ. I'll let you know how it turns out. Thanks again, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-net@FreeBSD.ORG Sun May 14 01:50:22 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9379616A415; Sun, 14 May 2006 01:50:22 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 291A343D62; Sun, 14 May 2006 01:49:52 +0000 (GMT) (envelope-from asstec@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k4E1ngQB051505; Sat, 13 May 2006 22:49:42 -0300 (BRT) (envelope-from asstec@matik.com.br) From: AT Matik To: freebsd-ipfw@freebsd.org Date: Sat, 13 May 2006 22:49:38 -0300 User-Agent: KMail/1.9.1 References: <4465A8F8.2020601@elischer.org> In-Reply-To: Organization: Infomatik MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605132249.39497.asstec@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-net@freebsd.org, Vadim Goncharov , Julian Elischer Subject: Re: [patch] ipfw packet tagging X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 01:50:26 -0000 On Saturday 13 May 2006 07:08, Vadim Goncharov wrote: > > > > would be cool however. > > May be, but I can't imagine a real situation where it can be useful, > as tables already contain IP adresses. Can you give a real-life > example where it helps ? cool = good may be = wonderful can't imagine = even worse means I need to read the intire thread = bad not cool J. A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-net@FreeBSD.ORG Sun May 14 14:00:53 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19F0416A400; Sun, 14 May 2006 14:00:53 +0000 (UTC) (envelope-from bms@spc.org) Received: from mindfull.spc.org (mindfull.spc.org [83.167.185.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB7F643D5E; Sun, 14 May 2006 14:00:48 +0000 (GMT) (envelope-from bms@spc.org) Received: from arginine.spc.org ([83.167.185.2]) by mindfull.spc.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1FfH9I-0005ge-Ev; Sun, 14 May 2006 15:00:44 +0100 Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 3732165499; Sun, 14 May 2006 15:00:46 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17032-05; Sun, 14 May 2006 15:00:45 +0100 (BST) Received: by arginine.spc.org (Postfix, from userid 1078) id 05A07653F9; Sun, 14 May 2006 15:00:44 +0100 (BST) Date: Sun, 14 May 2006 15:00:44 +0100 From: Bruce M Simpson To: Stephen Clark Message-ID: <20060514140044.GF79277@spc.org> Mail-Followup-To: Bruce M Simpson , Stephen Clark , Robert Watson , freebsd-net@freebsd.org, pavlin@icir.org, atanu@icir.org References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> <20060512131227.GD79277@spc.org> <20060513230315.GE79277@spc.org> <44667C7E.1020401@seclark.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44667C7E.1020401@seclark.us> User-Agent: Mutt/1.4.1i Organization: Incunabulum X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mindfull.spc.org X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - spc.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-net@freebsd.org, Robert Watson , pavlin@icir.org, atanu@icir.org Subject: Re: [PATCH] Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 14:00:53 -0000 Hello, On Sat, May 13, 2006 at 08:40:30PM -0400, Stephen Clark wrote: > Thanks for your effort - I will try it on monday at work in a test > configuration I have setup with > a hundred gre/vpn tunnels and ospf. This configuration needs a > multicast membership group > of 100. Thank you! I have extended Robert's netinet regression test framework to cover IP_ADD_MEMBERSHIP also and will be committing this update along with an update to the manual page. Initial tests with the regression framework suggest that joining more than 4095 groups on the same interface is likely to cause churn with structures further below in the stack, so whilst this is probably a scalable enough solution for yours (and everyone else's) needs, it probably doesn't need to be this scalable 'in real life', without changing many of the structures further down in net and/or netinet. IPv6 is likely to run into similar churn anyway, given that the KAME stack holds per-socket multicast memberships in a doubly linked list. So I will be updating the patch in the next 24 hours. Given that it seems stable for values 2047 <= n <= 4095 with SOCK_DGRAM I am inclined to commit with the maximum raised to 4095 and lazy allocation in place. Regards, BMS From owner-freebsd-net@FreeBSD.ORG Sun May 14 14:26:28 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BB4016A402; Sun, 14 May 2006 14:26:28 +0000 (UTC) (envelope-from bms@spc.org) Received: from mindfull.spc.org (mindfull.spc.org [83.167.185.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C56E943D45; Sun, 14 May 2006 14:26:27 +0000 (GMT) (envelope-from bms@spc.org) Received: from arginine.spc.org ([83.167.185.2]) by mindfull.spc.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1FfHY7-0005zi-HR; Sun, 14 May 2006 15:26:23 +0100 Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 083E665499; Sun, 14 May 2006 15:26:26 +0100 (BST) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17163-05; Sun, 14 May 2006 15:26:25 +0100 (BST) Received: by arginine.spc.org (Postfix, from userid 1078) id 073C1653F9; Sun, 14 May 2006 15:26:25 +0100 (BST) Date: Sun, 14 May 2006 15:26:24 +0100 From: Bruce M Simpson To: Stephen Clark , Robert Watson , freebsd-net@freebsd.org, pavlin@icir.org, atanu@icir.org Message-ID: <20060514142624.GG79277@spc.org> Mail-Followup-To: Bruce M Simpson , Stephen Clark , Robert Watson , freebsd-net@freebsd.org, pavlin@icir.org, atanu@icir.org References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> <20060512131227.GD79277@spc.org> <20060513230315.GE79277@spc.org> <44667C7E.1020401@seclark.us> <20060514140044.GF79277@spc.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060514140044.GF79277@spc.org> User-Agent: Mutt/1.4.1i Organization: Incunabulum X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mindfull.spc.org X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - spc.org X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: [PATCH] Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 14:26:28 -0000 On Sun, May 14, 2006 at 03:00:44PM +0100, Bruce M Simpson wrote: > So I will be updating the patch in the next 24 hours. Given that it > seems stable for values 2047 <= n <= 4095 with SOCK_DGRAM I am inclined > to commit with the maximum raised to 4095 and lazy allocation in place. Committed on HEAD with some fixups, after regression testing on an SMP (dual i386) machine. The default number of multicast groups per socket available is now 31, with a final maximum of 4095. The structures are lazy-allocated. Sockets which do not use IPv4 multicast need not waste memory. Thanks, BMS From owner-freebsd-net@FreeBSD.ORG Sun May 14 22:06:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF8D716A400; Sun, 14 May 2006 22:06:13 +0000 (UTC) (envelope-from flag@newluxor.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED2443D46; Sun, 14 May 2006 22:06:13 +0000 (GMT) (envelope-from flag@newluxor.wired.org) Received: from newluxor.wired.org (ip-89-202.sn2.eutelia.it [83.211.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id 5674A11B1C4; Mon, 15 May 2006 00:06:12 +0200 (CEST) Received: from newluxor.wired.org (localhost [127.0.0.1]) by newluxor.wired.org (8.13.6/8.13.6) with ESMTP id k4EM5o0k000871; Mon, 15 May 2006 00:05:50 +0200 (CEST) (envelope-from flag@newluxor.wired.org) Received: (from flag@localhost) by newluxor.wired.org (8.13.6/8.13.6/Submit) id k4EM5nKo000870; Mon, 15 May 2006 00:05:49 +0200 (CEST) (envelope-from flag) Date: Mon, 15 May 2006 00:05:49 +0200 From: Paolo Pisati To: FreeBSD_Net Message-ID: <20060514220549.GA721@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Cc: FreeBSD_Ipfw Subject: [6.x patchset] Ipfw nat and libalias modules X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 22:06:14 -0000 Released a new revision of my libalias+ipfw work as a patchset for 6.x, get it here: http://mercurio.srv.dsi.unimi.it/~pisati/libalias/libalias-6.x.tgz fixed the checksum corruption occurring to redirected/generated traffic to/by a local interface on the nat box. For more info: http://wikitest.freebsd.org/moin.cgi/PaoloPisati -- Paolo "le influenze esterne sono troppe, il mondo reale non e' mica quello fatato dei komunisti :-p" - Anonymous Lumbard From owner-freebsd-net@FreeBSD.ORG Mon May 15 01:45:52 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34EC16A402 for ; Mon, 15 May 2006 01:45:52 +0000 (UTC) (envelope-from xyzzy@sysabend.org) Received: from moo.sysabend.org (moo.sysabend.org [66.111.41.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 846B643D49 for ; Mon, 15 May 2006 01:45:50 +0000 (GMT) (envelope-from xyzzy@sysabend.org) Received: by moo.sysabend.org (Postfix, from userid 14) id BE4B01E2A; Sun, 14 May 2006 18:45:49 -0700 (PDT) Date: Sun, 14 May 2006 18:45:49 -0700 From: Tom Arnold To: freebsd-net@freebsd.org Message-ID: <20060515014549.GF33316@moo.sysabend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The Sysabend Dump X-Operating-System: CPM2.2 X-8-Bit-Samples-And-Analog-Filters: Rah! X-Bucket-Brigade-Devices: Rah! Subject: Carp Problem - FreeBSD6 - seems to be bound to loopback? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: xyzzy@sysabend.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 01:45:53 -0000 I'm trying to get CARP up and running on a pair of BSD6 boxes. Box1 rc.conf exerpts: ifconfig_bge0="inet 192.168.100.41 netmask 255.255.255.0" ifconfig_bge1="inet 192.168.101.101 netmask 255.255.255.0" cloned_interfaces="carp0 carp1" ifconfig_carp0="vhid 10 pass redgiant advskew 10 192.168.100.40/24" ifconfig_carp1="vhid 20 pass whitedwarf advskew 10 192.168.101.100/24" Box2 rc.conf exerpts: ifconfig_bge0="inet 192.168.100.42 netmask 255.255.255.0" ifconfig_bge1="inet 192.168.101.102 netmask 255.255.255.0" cloned_interfaces="carp0 carp1" ifconfig_carp0="vhid 10 advskew 100 pass redgiant 192.168.100.40/24" ifconfig_carp1="vhid 20 advskew 100 pass whitedwarf 192.168.101.100/24" Carp is up. I can fail state back and forth, but the VIP is not pingable from outside whichever box is the master. A look at ifconfig reveals : on box 1: carp0: flags=49 mtu 1500 inet 192.168.100.40 netmask 0xffffff00 carp: MASTER vhid 10 advbase 1 advskew 10 carp1: flags=49 mtu 1500 inet 192.168.101.100 netmask 0xffffff00 carp: MASTER vhid 20 advbase 1 advskew 10 and on box 2: carp0: flags=49 mtu 1500 inet 192.168.100.40 netmask 0xffffff00 carp: BACKUP vhid 10 advbase 1 advskew 100 carp1: flags=49 mtu 1500 inet 192.168.101.100 netmask 0xffffff00 carp: BACKUP vhid 20 advbase 1 advskew 100 I have a working 5.4 box running carp with a pretty much identical config and, well, its working. I just cant seem to make these BSD6 boxes behave. Any suggestions? -- -------------------------------------------------------------------- - Tom Arnold - "...is it a virus, a drug, or a religion?" - Sysabend Caretaker - Juanita Shrugs. "What's the difference?" ------------------------ -- Neal Stephenson, Snow Crash From owner-freebsd-net@FreeBSD.ORG Mon May 15 11:02:54 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B8FC16A403 for ; Mon, 15 May 2006 11:02:54 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1768B43D49 for ; Mon, 15 May 2006 11:02:54 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4FB2rPP075274 for ; Mon, 15 May 2006 11:02:53 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4FB2qL4075268 for freebsd-net@freebsd.org; Mon, 15 May 2006 11:02:52 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 15 May 2006 11:02:52 GMT Message-Id: <200605151102.k4FB2qL4075268@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 11:02:54 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/01/30] kern/92552 net A serious bug in most network drivers fro a [2006/02/12] kern/93220 net [inet6] nd6_lookup: failed to add route f 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit o [2006/04/03] kern/95267 net packet drops periodically appear 2 problems total. From owner-freebsd-net@FreeBSD.ORG Mon May 15 23:04:04 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F6B916A64D for ; Mon, 15 May 2006 23:04:04 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46CF243D4C for ; Mon, 15 May 2006 23:04:03 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 62FE8119CCF for ; Tue, 16 May 2006 01:02:36 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id AJvpZP4l3Jax for ; Tue, 16 May 2006 01:02:36 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id EB1D3119CA2 for ; Tue, 16 May 2006 01:02:35 +0200 (CEST) Message-ID: <000c01c67873$dc8a9680$0201a8c0@oxy> From: "OxY" To: Date: Tue, 16 May 2006 01:04:04 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 23:04:04 -0000 hi! i have a little irregular problem with default route.. here are the details: have two interfaces with the same ip, em0 connected to another server = with crosslink,=20 em1 is the public, can be reached from the internet connected to a = switch. em0: flags=3D8843 mtu 1500 options=3Db inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 ether 00:13:d4:46:ae:91 media: Ethernet autoselect (1000baseTX ) status: active em1: flags=3D8843 mtu 1500 options=3Db inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 ether 00:0e:0c:a2:ac:42 media: Ethernet autoselect (100baseTX ) status: active in rc.conf i have: defaultrouter=3D"195.38.96.65" ifconfig_em0=3D"inet 195.38.96.89 netmask 255.255.255.192" ifconfig_em1=3D"inet 195.38.96.89 netmask 255.255.255.192" with these the OS puts the default route to em0, however i want to = communicate with the world on em1 and use em0 to connect to the other server on lan.. default gateway. UGS 0 8065787 em0 <----need = em1 here i can't change ip, it must be the same on both interfaces.. how can i change the interface for defaultroute? thank you for help! From owner-freebsd-net@FreeBSD.ORG Mon May 15 23:10:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9136116B2F6 for ; Mon, 15 May 2006 23:10:06 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25C3943D45 for ; Mon, 15 May 2006 23:10:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 5DAF85FE6; Mon, 15 May 2006 19:10:05 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LWlHFjyitZY4; Mon, 15 May 2006 19:10:04 -0400 (EDT) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 3C6665FD1; Mon, 15 May 2006 19:10:04 -0400 (EDT) In-Reply-To: <000c01c67873$dc8a9680$0201a8c0@oxy> References: <000c01c67873$dc8a9680$0201a8c0@oxy> Mime-Version: 1.0 (Apple Message framework v750) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 15 May 2006 19:10:03 -0400 To: OxY X-Mailer: Apple Mail (2.750) Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 23:10:08 -0000 On May 15, 2006, at 7:04 PM, OxY wrote: > have two interfaces with the same ip, em0 connected to another > server with crosslink, em1 is the public, can be reached from the > internet connected to a switch. Don't do that. Use bridging instead, if appropriate. -- -Chuck From owner-freebsd-net@FreeBSD.ORG Mon May 15 23:37:14 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7FBB16A6F7 for ; Mon, 15 May 2006 23:37:14 +0000 (UTC) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (ns.live555.com [66.80.62.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CAE943D46 for ; Mon, 15 May 2006 23:37:13 +0000 (GMT) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (localhost.live555.com [127.0.0.1]) by ns.live555.com (8.13.4/8.13.4) with ESMTP id k4FNbBC6016342 for ; Mon, 15 May 2006 16:37:11 -0700 (PDT) (envelope-from rsf@ns.live555.com) Received: (from rsf@localhost) by ns.live555.com (8.13.4/8.13.4/Submit) id k4FNbBu1016339; Mon, 15 May 2006 16:37:11 -0700 (PDT) (envelope-from rsf) Message-Id: <7.0.1.0.1.20060515163433.01dc8008@live555.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 15 May 2006 16:37:01 -0700 To: freebsd-net@freebsd.org From: Ross Finlayson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: named "not enough free resources" error X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 23:37:14 -0000 May 15 16:05:30 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:38 ns last message repeated 2 times May 15 16:05:39 ns named[398]: client 66.80.0.9#1096: error sending response: not enough free resources May 15 16:05:47 ns last message repeated 2 times May 15 16:05:56 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:58 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:58 ns named[398]: client 66.80.0.9#1096: error sending response: not enough free resources %netstat -m 231/294/525 mbufs in use (current/cache/total) 106/156/262/8896 mbuf clusters in use (current/cache/total/max) 106/150 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 269K/385K/655K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/4/2480 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines %cat /etc/motd FreeBSD 6.1-STABLE (GENERIC) #3: Tue May 9 19:36:33 PDT 2006 Any ideas? (Is this a known issue that has been fixed since May 9th?) Also, FWIW, the client to named was using the "ath0" interface. Ross. From owner-freebsd-net@FreeBSD.ORG Tue May 16 04:58:38 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1413116A4D0 for ; Tue, 16 May 2006 04:58:38 +0000 (UTC) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnes44.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC14C43D49 for ; Tue, 16 May 2006 04:58:32 +0000 (GMT) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnaa05.telusplanet.net ([142.179.216.126]) by priv-edtnes44.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060516045831.VZZL2325.priv-edtnes44.telusplanet.net@priv-edtnaa05.telusplanet.net> for ; Mon, 15 May 2006 22:58:31 -0600 Received: from ephialtes (s142-179-216-126.ab.hsia.telus.net [142.179.216.126]) by priv-edtnaa05.telusplanet.net (BorderWare MXtreme Infinity Mail Firewall) with SMTP id 56QKBGR4MS for ; Mon, 15 May 2006 22:58:30 -0600 (MDT) Message-ID: <002901c678a5$147cfbb0$6f3010ac@ephialtes> From: "sfp" To: Date: Mon, 15 May 2006 22:56:21 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 04:58:40 -0000 Google & the handbook hasn't helped on this one... Is it possible to disable a driver compiled into a 4.10 kernel at boot = time by feeding a (set?) command to the loader? In this case I want to turf the EM(4) driver that was compiled into the = kernel I've inherited and substitute it with a new if_em.ko using = kldload. I don't have the option of recompiling the kernel to exclude EM(4). Any = chance this can be achieved by specifying a kernel.conf sans EM(4)... = but that leads to the question of how I'd construct said kernel.conf = given that I only have the kernel and nothing else to work with. Thanks in advance. From owner-freebsd-net@FreeBSD.ORG Tue May 16 12:13:43 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE68816A417; Tue, 16 May 2006 12:13:43 +0000 (UTC) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD7D043D5A; Tue, 16 May 2006 12:13:42 +0000 (GMT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from impact.jinmei.org (unknown [3ffe:501:100f:1010:d435:78f6:660a:b974]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id AF2F61521A; Tue, 16 May 2006 21:13:41 +0900 (JST) Date: Tue, 16 May 2006 21:13:32 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Hideki Yamamoto In-Reply-To: <20060508.054451.41688849.yamamoto436@oki.com> References: <20060508.054451.41688849.yamamoto436@oki.com> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org, freebsd-pf@freebsd.org Subject: Re: IPv6 raw socket to send original udp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 12:13:47 -0000 >>>>> On Mon, 08 May 2006 05:44:51 +0900 (JST), >>>>> Hideki Yamamoto said: > I wonder if IPv6 raw socket can be used only for ICMPv6. No, you can use any non built-in protocols on an IPv6 raw socket. In fact, IPv6 PIM daemons use IPv6 raw sockets for IPPROTO_PIM. But... > I would like to use IPv6 raw socket for original udp packet. you cannot do this, and, even if it's a PIM packet (for example), I'm afraid the socket does not meet your requirement: you cannot specify an arbitrary source address for the packets, which I guess is one of your goals. With the IPv6 socket API you can only specify a node's own address as the source address of outgoing packets sent from an AF_INET6 socket. This is a deliberate design choice of the API (RFC2292 or RFC3542). I don't know the original intent of IP_HDRINCL, that is, whether it intentionally allows the specification of an arbitrary source address, but at least one clear purpose of this option is to allow the user to specify the value of some specific fields of the IP header. Since RFC3542 (and RFC3493) provide dedicated API knobs for this purpose, however, we don't need to provide an IPv6 version of IP_HDRINCL. So, if a program needs to specify an arbitrary source IPv6 address for outgoing packets, it should use other "packet injection" interface such as BPF. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp From owner-freebsd-net@FreeBSD.ORG Tue May 16 12:20:40 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F21316A44A for ; Tue, 16 May 2006 12:20:40 +0000 (UTC) (envelope-from markus@brueffer.de) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B43943D78 for ; Tue, 16 May 2006 12:20:31 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 277EA2717B7 for ; Tue, 16 May 2006 14:20:30 +0200 (CEST) Received: from mail-in-03.arcor-online.net (mail-in-06.arcor-online.net [151.189.21.46]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 509F6177386 for ; Tue, 16 May 2006 14:20:29 +0200 (CEST) Received: from ramses.kicks-ass.net (dslb-084-061-046-200.pools.arcor-ip.net [84.61.46.200]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 0324414BE1E for ; Tue, 16 May 2006 14:20:25 +0200 (CEST) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 3711AB83D for ; Tue, 16 May 2006 14:20:24 +0200 (CEST) From: Markus Brueffer To: freebsd-net@freebsd.org Date: Tue, 16 May 2006 14:20:07 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3079012.1qzZspZehC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605161420.16557.markus@brueffer.de> Subject: Netgraph: node and type list without root privileges X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 12:20:43 -0000 --nextPart3079012.1qzZspZehC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi all, is it possible to somehow obtain a list of nodes of a specific type without= =20 root privileges? Background: I need this in order to do autodetection of hci nodes (port of= =20 kde-bluetooth and new libhci) from a regular user account. Thanks for your time, Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart3079012.1qzZspZehC Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEacOA1I0Qcnj4qNQRAjAbAKDnsMKlrwBGQm5JB6jnkCp4yIxY6gCfdE6A qFMEcYM6hMTnovinuc7zh3c= =eSLr -----END PGP SIGNATURE----- --nextPart3079012.1qzZspZehC-- From owner-freebsd-net@FreeBSD.ORG Tue May 16 12:42:55 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EC5E16A458 for ; Tue, 16 May 2006 12:42:55 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCF2443D46 for ; Tue, 16 May 2006 12:42:54 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (apatmz@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4GCgmar006843 for ; Tue, 16 May 2006 14:42:53 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4GCgmS8006842; Tue, 16 May 2006 14:42:48 +0200 (CEST) (envelope-from olli) Date: Tue, 16 May 2006 14:42:48 +0200 (CEST) Message-Id: <200605161242.k4GCgmS8006842@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <002901c678a5$147cfbb0$6f3010ac@ephialtes> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 16 May 2006 14:42:53 +0200 (CEST) Cc: Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 12:42:57 -0000 sfp wrote: > Is it possible to disable a driver compiled into a 4.10 kernel at > boot time by feeding a (set?) command to the loader? > > In this case I want to turf the EM(4) driver that was compiled into > the kernel I've inherited and substitute it with a new if_em.ko using > kldload. That's not possible. You might disable a driver through loader variables (or kernel hints, or whatever), but the driver will still be present in the kernel image, so you cannot load a module that uses the same symbols. You will have to compile a kernel that does not include the driver. > I don't have the option of recompiling the kernel to exclude EM(4). Too bad. (Why don't you have that option?) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. With Perl you can manipulate text, interact with programs, talk over networks, drive Web pages, perform arbitrary precision arithmetic, and write programs that look like Snoopy swearing. From owner-freebsd-net@FreeBSD.ORG Tue May 16 13:20:44 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A6A316A405 for ; Tue, 16 May 2006 13:20:44 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B8F343D45 for ; Tue, 16 May 2006 13:20:43 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FfzTT-00078M-ED; Tue, 16 May 2006 17:20:31 +0400 Message-ID: <4469D19F.9060700@FreeBSD.org> Date: Tue, 16 May 2006 17:20:31 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-net@FreeBSD.org X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: max@love2party.net, Florent Thoumie Subject: iwi(4) problem on start X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 13:20:44 -0000 I have the configuration at home: notebook with iwi(4) - ZyXel AP - 100Mb switch - desktopPC(s) When I boot my notebook it's not available outside - from desktopPC. But when I do ping (or any network activity) from notebook, everything starts work. Any comments? PS. It's CURRENT a week ago age and the freshest iwi-firmware-kmod port. -- Sem. From owner-freebsd-net@FreeBSD.ORG Tue May 16 13:23:05 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52F7C16A40D; Tue, 16 May 2006 13:23:05 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from relay-er5.mbrd.ru (relay-er5.mbrd.ru [194.117.71.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC8243D55; Tue, 16 May 2006 13:23:04 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from msd.mbrd.ru ([172.16.33.193]) by relay-er5.mbrd.ru with esmtpa (Exim 4.x) id 1FfzVu-0007M5-0f; Tue, 16 May 2006 17:23:02 +0400 Message-ID: <4469D236.8000304@FreeBSD.org> Date: Tue, 16 May 2006 17:23:02 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Sergey Matveychuk References: <4469D19F.9060700@FreeBSD.org> In-Reply-To: <4469D19F.9060700@FreeBSD.org> X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, Florent Thoumie , max@love2party.net Subject: Re: iwi(4) problem on start X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 13:23:05 -0000 Sergey Matveychuk wrote: > I have the configuration at home: > notebook with iwi(4) - ZyXel AP - 100Mb switch - desktopPC(s) > > When I boot my notebook it's not available outside - from desktopPC. But > when I do ping (or any network activity) from notebook, everything > starts work. > > Any comments? > > PS. It's CURRENT a week ago age and the freshest iwi-firmware-kmod port. Oh, forgot to say, AP is in BSS network-mode with 64-bit WEP encryption. -- Sem. From owner-freebsd-net@FreeBSD.ORG Tue May 16 13:53:38 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1615916A40B for ; Tue, 16 May 2006 13:53:38 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BC1643D45 for ; Tue, 16 May 2006 13:53:37 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 0F895119CCF; Tue, 16 May 2006 15:52:06 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id vYM7qeiHb9zT; Tue, 16 May 2006 15:52:05 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id C240E119CA2; Tue, 16 May 2006 15:52:05 +0200 (CEST) Message-ID: <000601c678f0$22472590$0201a8c0@oxy> From: "OxY" To: "Charles Swiger" References: <000c01c67873$dc8a9680$0201a8c0@oxy> <1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com> Date: Tue, 16 May 2006 15:53:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 13:53:38 -0000 any other solution? can i solve it with static routing? ----- Original Message ----- From: "Charles Swiger" To: "OxY" Cc: Sent: Tuesday, May 16, 2006 1:10 AM Subject: Re: changing default route > On May 15, 2006, at 7:04 PM, OxY wrote: >> have two interfaces with the same ip, em0 connected to another >> server with crosslink, em1 is the public, can be reached from the >> internet connected to a switch. > > Don't do that. Use bridging instead, if appropriate. > > -- > -Chuck > From owner-freebsd-net@FreeBSD.ORG Tue May 16 14:19:25 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E50B16A414 for ; Tue, 16 May 2006 14:19:25 +0000 (UTC) (envelope-from lists@wm-access.no) Received: from lakepoint.domeneshop.no (lakepoint.domeneshop.no [194.63.248.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD7043D53 for ; Tue, 16 May 2006 14:19:23 +0000 (GMT) (envelope-from lists@wm-access.no) Received: from [192.168.9.8] (gw1.arcticwireless.no [80.203.184.14]) (authenticated bits=0) by lakepoint.domeneshop.no (8.13.6/8.13.6) with ESMTP id k4GEJFOV025962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 May 2006 16:19:15 +0200 Message-ID: <4469DF5E.20301@wm-access.no> Date: Tue, 16 May 2006 16:19:10 +0200 From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: OxY References: <000c01c67873$dc8a9680$0201a8c0@oxy> In-Reply-To: <000c01c67873$dc8a9680$0201a8c0@oxy> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 14:19:25 -0000 OxY wrote: > hi! >=20 > i have a little irregular problem with default route.. > here are the details: >=20 > have two interfaces with the same ip, em0 connected to another server w= ith crosslink,=20 > em1 is the public, can be reached from the internet connected to a swit= ch. >=20 > em0: flags=3D8843 mtu 1500 > options=3Db > inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 > ether 00:13:d4:46:ae:91 > media: Ethernet autoselect (1000baseTX ) > status: active > em1: flags=3D8843 mtu 1500 > options=3Db > inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 > ether 00:0e:0c:a2:ac:42 > media: Ethernet autoselect (100baseTX ) > status: active >=20 > in rc.conf i have: > defaultrouter=3D"195.38.96.65" > ifconfig_em0=3D"inet 195.38.96.89 netmask 255.255.255.192" > ifconfig_em1=3D"inet 195.38.96.89 netmask 255.255.255.192" >=20 > with these the OS puts the default route to em0, however i want to comm= unicate with the world on em1 and > use em0 to connect to the other server on lan.. >=20 > default gateway. UGS 0 8065787 em0 <----need e= m1 here >=20 > i can't change ip, it must be the same on both interfaces.. > how can i change the interface for defaultroute? >=20 > thank you for help! One side has to have a netmask of 255.255.255.255 -or- use bridging Are you sure the way you do it will work at all? --=20 Sten Daniel S=F8rsdal From owner-freebsd-net@FreeBSD.ORG Tue May 16 14:30:19 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 253BC16A4D3 for ; Tue, 16 May 2006 14:30:19 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8092243D7B for ; Tue, 16 May 2006 14:30:15 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (ipyjsb@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4GEU8ZP010881 for ; Tue, 16 May 2006 16:30:13 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4GEU8xA010880; Tue, 16 May 2006 16:30:08 +0200 (CEST) (envelope-from olli) Date: Tue, 16 May 2006 16:30:08 +0200 (CEST) Message-Id: <200605161430.k4GEU8xA010880@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <000601c678f0$22472590$0201a8c0@oxy> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Tue, 16 May 2006 16:30:14 +0200 (CEST) Cc: Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 14:30:20 -0000 OxY wrote: > any other solution? > can i solve it with static routing? You cannot have the same IP address on different interfaces (connected to different networks) at the same time. Why do you think that you must use the same IP address? Just use a different IP (and/or different network) on the internal LAN. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" -- Tom Cargil, C++ Journal From owner-freebsd-net@FreeBSD.ORG Tue May 16 14:31:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6CE716A49E for ; Tue, 16 May 2006 14:31:06 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4229F43D5D for ; Tue, 16 May 2006 14:31:06 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1Fg0ZM-0003kn-4s; Tue, 16 May 2006 16:30:40 +0200 Date: Tue, 16 May 2006 16:31:04 +0200 From: Marcin Jessa To: "OxY" Message-Id: <20060516163104.4d33e2c1.lists@yazzy.org> In-Reply-To: <000601c678f0$22472590$0201a8c0@oxy> References: <000c01c67873$dc8a9680$0201a8c0@oxy> <1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com> <000601c678f0$22472590$0201a8c0@oxy> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 14:31:15 -0000 On Tue, 16 May 2006 15:53:38 +0200 "OxY" wrote: > any other solution? > can i solve it with static routing? Create a bridge interface, assign both the nics as it's members and assign the IP to it. Marcin. > ----- Original Message ----- > From: "Charles Swiger" > To: "OxY" > Cc: > Sent: Tuesday, May 16, 2006 1:10 AM > Subject: Re: changing default route > > > > On May 15, 2006, at 7:04 PM, OxY wrote: > >> have two interfaces with the same ip, em0 connected to another > >> server with crosslink, em1 is the public, can be reached from the > >> internet connected to a switch. > > > > Don't do that. Use bridging instead, if appropriate. > > > > -- > > -Chuck > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue May 16 14:42:21 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B7D716A646 for ; Tue, 16 May 2006 14:42:21 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2A6943D70 for ; Tue, 16 May 2006 14:42:20 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 67E82119CCF; Tue, 16 May 2006 16:40:50 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id HwZpgFY3-5W0; Tue, 16 May 2006 16:40:50 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id 1FA33119CA2; Tue, 16 May 2006 16:40:50 +0200 (CEST) Message-ID: <001001c678f6$f17b37b0$0201a8c0@oxy> From: "OxY" To: "Marcin Jessa" References: <000c01c67873$dc8a9680$0201a8c0@oxy><1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com><000601c678f0$22472590$0201a8c0@oxy> <20060516163104.4d33e2c1.lists@yazzy.org> Date: Tue, 16 May 2006 16:42:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 14:42:21 -0000 but bridging needs ipfw (or pf) and with heavy traffic it needs lots of cpu. ----- Original Message ----- From: "Marcin Jessa" To: "OxY" Cc: Sent: Tuesday, May 16, 2006 4:31 PM Subject: Re: changing default route > On Tue, 16 May 2006 15:53:38 +0200 > "OxY" wrote: > >> any other solution? >> can i solve it with static routing? > > Create a bridge interface, assign both the nics as it's members and > assign the IP to it. > > Marcin. > >> ----- Original Message ----- >> From: "Charles Swiger" >> To: "OxY" >> Cc: >> Sent: Tuesday, May 16, 2006 1:10 AM >> Subject: Re: changing default route >> >> >> > On May 15, 2006, at 7:04 PM, OxY wrote: >> >> have two interfaces with the same ip, em0 connected to another >> >> server with crosslink, em1 is the public, can be reached from the >> >> internet connected to a switch. >> > >> > Don't do that. Use bridging instead, if appropriate. >> > >> > -- >> > -Chuck >> > >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue May 16 15:02:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BF2B16A516 for ; Tue, 16 May 2006 15:02:13 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 040D343D53 for ; Tue, 16 May 2006 15:02:12 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fg13p-000MYj-SA; Tue, 16 May 2006 18:02:10 +0300 From: Iasen Kostov To: OxY In-Reply-To: <000c01c67873$dc8a9680$0201a8c0@oxy> References: <000c01c67873$dc8a9680$0201a8c0@oxy> Content-Type: text/plain Date: Tue, 16 May 2006 18:02:09 +0300 Message-Id: <1147791729.26749.12.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:02:17 -0000 On Tue, 2006-05-16 at 01:04 +0200, OxY wrote: > hi! > > i have a little irregular problem with default route.. > here are the details: > > have two interfaces with the same ip, em0 connected to another server with crosslink, > em1 is the public, can be reached from the internet connected to a switch. > > em0: flags=8843 mtu 1500 > options=b > inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 > ether 00:13:d4:46:ae:91 > media: Ethernet autoselect (1000baseTX ) > status: active > em1: flags=8843 mtu 1500 > options=b > inet 195.38.96.13 netmask 0xffffffc0 broadcast 195.38.96.127 > ether 00:0e:0c:a2:ac:42 > media: Ethernet autoselect (100baseTX ) > status: active > > in rc.conf i have: > defaultrouter="195.38.96.65" > ifconfig_em0="inet 195.38.96.89 netmask 255.255.255.192" > ifconfig_em1="inet 195.38.96.89 netmask 255.255.255.192" > > with these the OS puts the default route to em0, however i want to communicate with the world on em1 and > use em0 to connect to the other server on lan.. > > default gateway. UGS 0 8065787 em0 <----need em1 here > > i can't change ip, it must be the same on both interfaces.. > how can i change the interface for defaultroute? > > thank you for help! > > remove defaultrouter and add this: static_routes="default" route_default="default 195.38.96.65 -ifp em1" From owner-freebsd-net@FreeBSD.ORG Tue May 16 15:08:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0500916A5D9 for ; Tue, 16 May 2006 15:08:26 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A5B843D77 for ; Tue, 16 May 2006 15:08:19 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.witelcom.com ([84.247.144.144] helo=marcin) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1Fg19N-0001r0-OT; Tue, 16 May 2006 17:07:54 +0200 Date: Tue, 16 May 2006 17:08:17 +0200 From: Marcin Jessa To: "OxY" Message-Id: <20060516170817.8585ea6c.lists@yazzy.org> In-Reply-To: <001001c678f6$f17b37b0$0201a8c0@oxy> References: <000c01c67873$dc8a9680$0201a8c0@oxy> <1A527B5C-C505-46A7-BA90-C5329C667FE1@mac.com> <000601c678f0$22472590$0201a8c0@oxy> <20060516163104.4d33e2c1.lists@yazzy.org> <001001c678f6$f17b37b0$0201a8c0@oxy> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-net@freebsd.org Subject: Re: changing default route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:08:27 -0000 On Tue, 16 May 2006 16:42:23 +0200 "OxY" wrote: > but bridging needs ipfw (or pf) and with heavy traffic > it needs lots of cpu. No, bridging does not need any firewalling. Run something like: ifconfig bridge0 create ifconfig bridge0 addm em0 addm em1 ifconfig bridge0 inet 12.23.34.45 netmask 255.255.255.0 Or put to rc.conf: cloned_interfaces="bridge0" ifconfig_bridge0="inet 12.23.34.45 netmask 255.255.255.0 addm em0 addm em1 up" And please stop top posting. Marcin. > ----- Original Message ----- > From: "Marcin Jessa" > To: "OxY" > Cc: > Sent: Tuesday, May 16, 2006 4:31 PM > Subject: Re: changing default route > > > > On Tue, 16 May 2006 15:53:38 +0200 > > "OxY" wrote: > > > >> any other solution? > >> can i solve it with static routing? > > > > Create a bridge interface, assign both the nics as it's members and > > assign the IP to it. > > > > Marcin. > > > >> ----- Original Message ----- > >> From: "Charles Swiger" > >> To: "OxY" > >> Cc: > >> Sent: Tuesday, May 16, 2006 1:10 AM > >> Subject: Re: changing default route > >> > >> > >> > On May 15, 2006, at 7:04 PM, OxY wrote: > >> >> have two interfaces with the same ip, em0 connected to another > >> >> server with crosslink, em1 is the public, can be reached from > >> >> the internet connected to a switch. > >> > > >> > Don't do that. Use bridging instead, if appropriate. > >> > > >> > -- > >> > -Chuck > >> > > >> _______________________________________________ > >> freebsd-net@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-net > >> To unsubscribe, send any mail to > >> "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to > > "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue May 16 17:26:46 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C48B16A96D for ; Tue, 16 May 2006 17:26:46 +0000 (UTC) (envelope-from cegaspar@ifi.unicamp.br) Received: from terra.ifi.unicamp.br (terra.ifi.unicamp.br [143.106.6.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 067FA43DD2 for ; Tue, 16 May 2006 17:25:36 +0000 (GMT) (envelope-from cegaspar@ifi.unicamp.br) Received: from lua.ifi.unicamp.br (lua.ifi.unicamp.br [143.106.6.13]) by terra.ifi.unicamp.br (Postfix) with ESMTP id 5B1A1264A26 for ; Tue, 16 May 2006 14:24:51 -0300 (BRT) Received: from localhost (sa.ifi.unicamp.br [143.106.6.10]) by lua.ifi.unicamp.br (Postfix) with ESMTP id 89172679F3 for ; Tue, 16 May 2006 14:25:04 -0300 (BRT) Received: from lua.ifi.unicamp.br ([143.106.6.13]) by localhost (sa.ifi.unicamp.br [143.106.6.10]) (amavisd-new, port 10024) with ESMTP id 99195-05 for ; Tue, 16 May 2006 14:25:24 -0300 (BRT) Received: from [143.106.72.17] (gefion.ifi.unicamp.br [143.106.72.17]) by lua.ifi.unicamp.br (Postfix) with ESMTP id C248A679F0 for ; Tue, 16 May 2006 14:25:02 -0300 (BRT) Message-ID: <446A0B0A.2020608@ifi.unicamp.br> Date: Tue, 16 May 2006 14:25:30 -0300 From: Carlos E Gaspar User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4460FF4E.10305@ifi.unicamp.br> <20060509211357.GA939@heff.fud.org.nz> In-Reply-To: <20060509211357.GA939@heff.fud.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ifi.unicamp.br Subject: Re: ipfw divert with layer2 (if_bridge) packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:26:47 -0000 Hi. You're right, net.link.bridge.ipfw must be set to 1 to enable layer2 filtering. Anyway, divert still doesn't work. Thanks! Carlos Andrew Thompson wrote: >On Tue, May 09, 2006 at 05:45:02PM -0300, Carlos E Gaspar wrote: > > >>Hi. >> >>I have the following setup: >> >>FreeBSD abc5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Wed Apr 26 14:58:22 >>BRT 2006 root@abc:/usr/src/sys/alpha/compile/ABC alpha >> >>bridge0: flags=8043 mtu 1500 >> ether xx:xx:xx:xx:xx:xx >> priority 32768 hellotime 2 fwddelay 15 maxage 20 >> member: de1 flags=3 >> member: de0 flags=3 >> >>de1 is my internal interface (local) and de0 the external (internet). >>host1 is on de1. Bridge works fine (if_bridge). >> >>With the following sysctl's: >> >>net.link.bridge.pfil_onlyip: 0 >>net.link.bridge.pfil_member: 1 >>net.link.bridge.pfil_bridge: 0 >>net.link.bridge.ipfw: 0 >> >> > ^^^^^^^ > >This should be 1. > > net.link.bridge.ipfw Set to 1 to enable layer2 filtering with > ipfirewall(4), set to 0 to disable it. This > needs to be enabled for dummynet(4) support. > When ipfw is enabled, pfil_bridge and > pfil_member will be disabled so that IPFW is > not run twice; these can be re-enabled if > desired. > > >Give that a try. > >cheers, >Andrew >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Tue May 16 17:58:32 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0046916AECD; Tue, 16 May 2006 17:58:31 +0000 (UTC) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (ns.live555.com [66.80.62.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F93243D6A; Tue, 16 May 2006 17:58:31 +0000 (GMT) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (localhost.live555.com [127.0.0.1]) by ns.live555.com (8.13.4/8.13.4) with ESMTP id k4GHwVvA020086; Tue, 16 May 2006 10:58:31 -0700 (PDT) (envelope-from rsf@ns.live555.com) Received: (from rsf@localhost) by ns.live555.com (8.13.4/8.13.4/Submit) id k4GHwVA3020081; Tue, 16 May 2006 10:58:31 -0700 (PDT) (envelope-from rsf) Message-Id: <7.0.1.0.1.20060516105535.01dafe98@live555.com> Message-Id: <7.0.1.0.1.20060515163433.01dc8008@live555.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Tue, 16 May 2006 10:58:25 -0700 To: freebsd-mobile@freebsd.org, freebsd-net@freebsd.org From: Ross Finlayson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Apparent 'resource' problems with "ath0" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 17:58:33 -0000 %cat /etc/motd FreeBSD 6.1-STABLE (GENERIC) #3: Tue May 9 19:36:33 PDT 2006 Problem #1 (yesterday): May 15 16:05:30 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:38 ns last message repeated 2 times May 15 16:05:39 ns named[398]: client 66.80.0.9#1096: error sending response: not enough free resources May 15 16:05:47 ns last message repeated 2 times May 15 16:05:56 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:58 ns named[398]: client 66.80.0.9#1075: error sending response: not enough free resources May 15 16:05:58 ns named[398]: client 66.80.0.9#1096: error sending response: not enough free resources %netstat -m 231/294/525 mbufs in use (current/cache/total) 106/156/262/8896 mbuf clusters in use (current/cache/total/max) 106/150 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 269K/385K/655K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/4/2480 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines Problem #2 (today): May 16 10:53:00 ns dhcpd: send_packet: No buffer space available May 16 10:53:09 ns dhcpd: send_packet: No buffer space available May 16 10:53:29 ns named[398]: client 66.80.0.9#1290: error sending response: not enough free resources May 16 10:53:37 ns last message repeated 2 times May 16 10:53:55 ns dhcpd: send_packet: No buffer space available %netstat -m 364/161/525 mbufs in use (current/cache/total) 207/55/262/8896 mbuf clusters in use (current/cache/total/max) 207/49 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 505K/150K/655K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/11/2480 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 6 requests for I/O initiated by sendfile 483 calls to protocol drain routines Any ideas? (Is this a known issue that has been fixed since May 9th?) In each case, the client to named and/or dhcpd was using the "ath0" interface. Ross. From owner-freebsd-net@FreeBSD.ORG Tue May 16 18:09:57 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D29EC16AF91; Tue, 16 May 2006 18:09:57 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id F342543D49; Tue, 16 May 2006 18:09:55 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [10.242.169.22] (c-67-171-135-169.hsd1.or.comcast.net [67.171.135.169]) by mail.bitfreak.org (Postfix) with ESMTP id 01E86175B4; Tue, 16 May 2006 11:09:54 -0700 (PDT) Message-ID: <446A1571.3040806@bitfreak.org> Date: Tue, 16 May 2006 11:09:53 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Sergey Matveychuk References: <4469D19F.9060700@FreeBSD.org> <4469D236.8000304@FreeBSD.org> In-Reply-To: <4469D236.8000304@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: iwi(4) problem on start X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:10:04 -0000 Sergey Matveychuk wrote: > Sergey Matveychuk wrote: >> I have the configuration at home: >> notebook with iwi(4) - ZyXel AP - 100Mb switch - desktopPC(s) >> >> When I boot my notebook it's not available outside - from desktopPC. But >> when I do ping (or any network activity) from notebook, everything >> starts work. >> >> Any comments? >> >> PS. It's CURRENT a week ago age and the freshest iwi-firmware-kmod port. > > Oh, forgot to say, AP is in BSS network-mode with 64-bit WEP encryption. Do you have the word "up" in your ifconfig line? From owner-freebsd-net@FreeBSD.ORG Tue May 16 18:28:24 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C78E816B08A for ; Tue, 16 May 2006 18:28:24 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64A6643D6A for ; Tue, 16 May 2006 18:28:24 +0000 (GMT) (envelope-from sem@FreeBSD.org) Received: from [87.240.16.199] (helo=[192.168.0.2]) by mail.ciam.ru with esmtpa (Exim 4.x) id 1Fg4HP-00059G-DZ; Tue, 16 May 2006 22:28:23 +0400 Message-ID: <446A19D9.5020607@FreeBSD.org> Date: Tue, 16 May 2006 22:28:41 +0400 From: Sergey Matveychuk User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Darren Pilgrim References: <4469D19F.9060700@FreeBSD.org> <4469D236.8000304@FreeBSD.org> <446A1571.3040806@bitfreak.org> In-Reply-To: <446A1571.3040806@bitfreak.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: iwi(4) problem on start X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:28:30 -0000 Darren Pilgrim wrote: > Sergey Matveychuk wrote: >> Sergey Matveychuk wrote: >>> I have the configuration at home: >>> notebook with iwi(4) - ZyXel AP - 100Mb switch - desktopPC(s) >>> >>> When I boot my notebook it's not available outside - from desktopPC. But >>> when I do ping (or any network activity) from notebook, everything >>> starts work. >>> >>> Any comments? >>> >>> PS. It's CURRENT a week ago age and the freshest iwi-firmware-kmod port. >> >> Oh, forgot to say, AP is in BSS network-mode with 64-bit WEP encryption. > > Do you have the word "up" in your ifconfig line? No. But interface is up: iwi0: flags=8843 mtu 1500 If it not in UP state? And no magic happens when I try ifconfig iwi0 up now. Just outgoing traffic helps. -- Dixi. Sem. From owner-freebsd-net@FreeBSD.ORG Tue May 16 18:39:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70D5616B28D for ; Tue, 16 May 2006 18:39:25 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC1943D46 for ; Tue, 16 May 2006 18:39:24 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.19.131]) ([10.251.19.131]) by a50.ironport.com with ESMTP; 16 May 2006 11:39:25 -0700 Message-ID: <446A1C5C.5040105@elischer.org> Date: Tue, 16 May 2006 11:39:24 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200605161420.16557.markus@brueffer.de> In-Reply-To: <200605161420.16557.markus@brueffer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Netgraph: node and type list without root privileges X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:39:38 -0000 Markus Brueffer wrote: >Hi all, > >is it possible to somehow obtain a list of nodes of a specific type without >root privileges? > >Background: I need this in order to do autodetection of hci nodes (port of >kde-bluetooth and new libhci) from a regular user account. > >Thanks for your time, > >Markus > > > no, as it takes an ng_socket, and the VERY FIRST thing that is done when creating an ng_socket is: if (suser(td)) return (EPERM); There is no distiguishing between message types so once you can send a message (how ngctl gets the info) you can do anything.. it's an "all or nothing" thing. We COULD implement an net.graph.nodes sysctl that dumps out the current graph however.. But it's require someone willing to spend the time to do it. From owner-freebsd-net@FreeBSD.ORG Tue May 16 18:53:46 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D36316A8FE; Tue, 16 May 2006 18:53:46 +0000 (UTC) (envelope-from darren.pilgrim@bitfreak.org) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0565943D69; Tue, 16 May 2006 18:53:41 +0000 (GMT) (envelope-from darren.pilgrim@bitfreak.org) Received: from [10.242.169.22] (c-67-171-135-169.hsd1.or.comcast.net [67.171.135.169]) by mail.bitfreak.org (Postfix) with ESMTP id 9E2AE175B4; Tue, 16 May 2006 11:53:40 -0700 (PDT) Message-ID: <446A1FB3.1070405@bitfreak.org> Date: Tue, 16 May 2006 11:53:39 -0700 From: Darren Pilgrim User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Sergey Matveychuk References: <4469D19F.9060700@FreeBSD.org> <4469D236.8000304@FreeBSD.org> <446A1571.3040806@bitfreak.org> <446A19D9.5020607@FreeBSD.org> In-Reply-To: <446A19D9.5020607@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: iwi(4) problem on start X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:53:55 -0000 Sergey Matveychuk wrote: > Darren Pilgrim wrote: >> Sergey Matveychuk wrote: >>> Sergey Matveychuk wrote: >>>> >>>> When I boot my notebook it's not available outside - from desktopPC. But >>>> when I do ping (or any network activity) from notebook, everything >>>> starts work. >>>> >>> Oh, forgot to say, AP is in BSS network-mode with 64-bit WEP encryption. >> >> Do you have the word "up" in your ifconfig line? > > No. But interface is up: > iwi0: flags=8843 mtu 1500 > > If it not in UP state? And no magic happens when I try ifconfig iwi0 up > now. Just outgoing traffic helps. It's been a long time since I've used an open/WEP wireless network, so this is from aged memory: When you config the interface for the first time, you have to include "up" in order for the interface to come up correctly. Doing so afterward doesn't have the same effect. Add "up" to the end of your ifconifg_iwi0 line in /etc/rc.conf and then do: # /etc/rc.d/netif stop iwi0 # /etc/rc.d/netif start iwi0 From owner-freebsd-net@FreeBSD.ORG Tue May 16 18:55:20 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C193316B150 for ; Tue, 16 May 2006 18:55:20 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26A1F43D5C for ; Tue, 16 May 2006 18:55:13 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate1b.savvis.net (Postfix) with ESMTP id 5375A3BE44; Tue, 16 May 2006 13:55:13 -0500 (CDT) Received: from mailgate1b.savvis.net ([127.0.0.1]) by localhost (mailgate1b.savvis.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22803-01-7; Tue, 16 May 2006 13:55:13 -0500 (CDT) Received: from [10.254.186.111] (sntc04ep01.savvis.net [64.14.1.106]) by mailgate1b.savvis.net (Postfix) with ESMTP id C4F873BE74; Tue, 16 May 2006 13:55:12 -0500 (CDT) Message-ID: <446A2010.3010707@savvis.net> Date: Tue, 16 May 2006 11:55:12 -0700 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <200605161420.16557.markus@brueffer.de> In-Reply-To: <200605161420.16557.markus@brueffer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at savvis.net Cc: freebsd-net@freebsd.org Subject: Re: Netgraph: node and type list without root privileges X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 18:55:27 -0000 Markus Brueffer wrote: > Hi all, > > is it possible to somehow obtain a list of nodes of a specific type without > root privileges? nope > Background: I need this in order to do autodetection of hci nodes (port of > kde-bluetooth and new libhci) from a regular user account. err... i added this to bluetooth hci sockets and it has been sitting in my tree forever. please give me few more days to commit it. max From owner-freebsd-net@FreeBSD.ORG Tue May 16 23:48:18 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 454F316A520 for ; Tue, 16 May 2006 23:48:18 +0000 (UTC) (envelope-from markus@brueffer.de) Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B8A643D46 for ; Tue, 16 May 2006 23:48:17 +0000 (GMT) (envelope-from markus@brueffer.de) Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id E24C213E4A9; Wed, 17 May 2006 01:48:15 +0200 (CEST) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id D2B8D1C8349; Wed, 17 May 2006 01:48:15 +0200 (CEST) Received: from ramses.kicks-ass.net (dslb-084-061-046-200.pools.arcor-ip.net [84.61.46.200]) by mail-in-01.arcor-online.net (Postfix) with ESMTP id B65BADDAE9; Wed, 17 May 2006 01:48:15 +0200 (CEST) Received: from cheops.phoenix (cheops.phoenix [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ramses.kicks-ass.net (Postfix) with ESMTP id 7F010B83D; Wed, 17 May 2006 01:48:15 +0200 (CEST) From: Markus Brueffer To: freebsd-net@freebsd.org Date: Wed, 17 May 2006 01:48:01 +0200 User-Agent: KMail/1.9.1 References: <200605161420.16557.markus@brueffer.de> <446A2010.3010707@savvis.net> In-Reply-To: <446A2010.3010707@savvis.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6010400.5gtAIysbq9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605170148.06269.markus@brueffer.de> Cc: Julian Elischer Subject: Re: Netgraph: node and type list without root privileges X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 23:48:18 -0000 --nextPart6010400.5gtAIysbq9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Tuesday 16 May 2006 20:55 schrieb Maksim Yevmenkin: > > Background: I need this in order to do autodetection of hci nodes (port > > of kde-bluetooth and new libhci) from a regular user account. > > err... i added this to bluetooth hci sockets and it has been sitting in > my tree forever. please give me few more days to commit it. Great, thanks and thanks Julian for the explanation! Markus =2D-=20 Markus Brueffer =A0 =A0| GPG-Key: http://people.FreeBSD.org/~markus/markus.= asc markus@brueffer.de | FP: 3F9B EBE8 F290 E5CC 1447 8760 D48D 1072 78F8 A8D4 markus@FreeBSD.org | FreeBSD: The Power to Serve! --nextPart6010400.5gtAIysbq9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEamS21I0Qcnj4qNQRAqWBAJ9DdZyRIz4sRYDctPRtfCh7toWlnACfdUGS QJlraYKeg5suFX3i7A7R8xk= =k6OF -----END PGP SIGNATURE----- --nextPart6010400.5gtAIysbq9-- From owner-freebsd-net@FreeBSD.ORG Wed May 17 00:13:58 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7A8816A42B for ; Wed, 17 May 2006 00:13:58 +0000 (UTC) (envelope-from steven@unix-solutions.be) Received: from smtp.unix-solutions.be (smtp.unix-solutions.be [83.217.95.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BD843D49 for ; Wed, 17 May 2006 00:13:57 +0000 (GMT) (envelope-from steven@unix-solutions.be) Received: from cloe ([81.164.116.230]) by unix-solutions.be with MailEnable ESMTP; Wed, 17 May 2006 02:10:58 +0200 Message-ID: <001301c67946$604b7f70$aa00000a@cloe> From: "Unix-Solutions - Steven" To: Date: Wed, 17 May 2006 02:10:59 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:13:59 -0000 Hello, I have 2 servers with both 2x 'em' interfaces in it. I configged a /31 on both interfaces em0 in box 1 =3D 10.0.0.1 em0 in box 2 =3D 10.0.0.2 both connected with a crossed cable. But I can't ping from box1 to box2 or reverse. So now my question: Is it not possible to set a /31 on FreeBSD ? I'm using FreeBSD 6.1 on both servers. /etc/rc.conf =3D box1: ifconfig_em0=3D"inet 10.0.0.1 netmask 255.255.255.254" box2: ifconfig_em0=3D"inet 10.0.0.2 netmask 255.255.255.254" When I configure a /30 on my interfaces, then they ping. Greetings. Steven Bens From owner-freebsd-net@FreeBSD.ORG Wed May 17 00:40:37 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C85716A400 for ; Wed, 17 May 2006 00:40:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 9E8AE43D45 for ; Wed, 17 May 2006 00:40:36 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 11705 invoked by uid 399); 17 May 2006 00:40:35 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 17 May 2006 00:40:35 -0000 Message-ID: <446A70FE.1090807@FreeBSD.org> Date: Tue, 16 May 2006 17:40:30 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.2 (X11/20060507) MIME-Version: 1.0 To: Unix-Solutions - Steven References: <001301c67946$604b7f70$aa00000a@cloe> In-Reply-To: <001301c67946$604b7f70$aa00000a@cloe> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:40:37 -0000 Unix-Solutions - Steven wrote: > Hello, > > I have 2 servers with both 2x 'em' interfaces in it. > I configged a /31 on both interfaces > em0 in box 1 = 10.0.0.1 > em0 in box 2 = 10.0.0.2 That's not a /31, it's the middle two addresses of a /30 (as the end of your message correctly surmised). Here is a hint. Because they use binary math, CIDR blocks always start with an even address, and end with an odd one. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-net@FreeBSD.ORG Wed May 17 00:55:48 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB6EB16A400 for ; Wed, 17 May 2006 00:55:48 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B8CB43D46 for ; Wed, 17 May 2006 00:55:48 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (y6zelx1trthhkinu@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4H0tlfQ018614; Tue, 16 May 2006 17:55:47 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4H0tkGR018613; Tue, 16 May 2006 17:55:46 -0700 (PDT) (envelope-from jmg) Date: Tue, 16 May 2006 17:55:46 -0700 From: John-Mark Gurney To: Unix-Solutions - Steven Message-ID: <20060517005546.GJ65555@funkthat.com> Mail-Followup-To: Unix-Solutions - Steven , freebsd-net@freebsd.org References: <001301c67946$604b7f70$aa00000a@cloe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001301c67946$604b7f70$aa00000a@cloe> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 00:55:48 -0000 Unix-Solutions - Steven wrote this message on Wed, May 17, 2006 at 02:10 +0200: > I have 2 servers with both 2x 'em' interfaces in it. > I configged a /31 on both interfaces > em0 in box 1 = 10.0.0.1 > em0 in box 2 = 10.0.0.2 As someone else mentioned even if you did a /31, those addresses aren't on the same network... 254 & 1 == 0 254 & 2 == 2 Hence different networks.. the other thing is that you can't have a /31 due to the fact that one ip w/ all the node bits set is the broadcast for the network causing other sorts of troubles... the smallest usable network is a /30... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@FreeBSD.ORG Wed May 17 01:09:35 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3BF216A402 for ; Wed, 17 May 2006 01:09:35 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1903543D46 for ; Wed, 17 May 2006 01:09:33 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (unknown [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id 9F3D72848A; Wed, 17 May 2006 01:09:30 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 7326528482; Wed, 17 May 2006 01:09:27 +0000 (GMT) Date: Wed, 17 May 2006 01:09:27 +0000 From: Baldur Gislason To: Unix-Solutions - Steven , freebsd-net@freebsd.org Message-ID: <20060517010927.GA656@gremlin.foo.is> References: <001301c67946$604b7f70$aa00000a@cloe> <20060517005546.GJ65555@funkthat.com> In-Reply-To: <20060517005546.GJ65555@funkthat.com> User-Agent: Mutt/1.4.2.1i X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 01:09:35 -0000 /31 is common practice today. You don't need broadcast on a point-to-point link. The only broadcast you need is ARP and that's on layer 2. Baldur On Tue, May 16, 2006 at 05:55:46PM -0700, John-Mark Gurney wrote: > Unix-Solutions - Steven wrote this message on Wed, May 17, 2006 at 02:10 +0200: > > I have 2 servers with both 2x 'em' interfaces in it. > > I configged a /31 on both interfaces > > em0 in box 1 = 10.0.0.1 > > em0 in box 2 = 10.0.0.2 > > As someone else mentioned even if you did a /31, those addresses aren't > on the same network... > 254 & 1 == 0 > 254 & 2 == 2 > > Hence different networks.. the other thing is that you can't have a /31 > due to the fact that one ip w/ all the node bits set is the broadcast > for the network causing other sorts of troubles... the smallest usable > network is a /30... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed May 17 01:20:40 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CC3D16A401 for ; Wed, 17 May 2006 01:20:40 +0000 (UTC) (envelope-from kim@tinker.com) Received: from tinker.com (tinker2-3.august.net [66.228.55.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 00ADC43D45 for ; Wed, 17 May 2006 01:20:39 +0000 (GMT) (envelope-from kim@tinker.com) Received: (qmail 91084 invoked by uid 27); 17 May 2006 01:20:39 -0000 Received: from 204.10.126.26.tinker.com(204.10.126.26), claiming to be "[192.42.172.22]" via SMTP by pop.tinker.com, id smtpdeClu09; Tue May 16 20:20:34 2006 In-Reply-To: <20060517010927.GA656@gremlin.foo.is> References: <001301c67946$604b7f70$aa00000a@cloe> <20060517005546.GJ65555@funkthat.com> <20060517010927.GA656@gremlin.foo.is> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Kim Shrier Date: Tue, 16 May 2006 19:20:30 -0600 To: Unix-Solutions - Steven X-Mailer: Apple Mail (2.750) Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 01:20:40 -0000 A /31 is not a point-to-point link. A /32 is. A /31 is a network with nothing but a loopback and broadcast address. You have to go to a /30 to have a block of addresses that is useful or configure a point-to-point link where you specify the address at each end of the link. Kim On May 16, 2006, at 7:09 PM, Baldur Gislason wrote: > /31 is common practice today. You don't need broadcast on a point- > to-point link. > The only broadcast you need is ARP and that's on layer 2. > > Baldur > > On Tue, May 16, 2006 at 05:55:46PM -0700, John-Mark Gurney wrote: >> Unix-Solutions - Steven wrote this message on Wed, May 17, 2006 at >> 02:10 +0200: >>> I have 2 servers with both 2x 'em' interfaces in it. >>> I configged a /31 on both interfaces >>> em0 in box 1 = 10.0.0.1 >>> em0 in box 2 = 10.0.0.2 >> >> As someone else mentioned even if you did a /31, those addresses >> aren't >> on the same network... >> 254 & 1 == 0 >> 254 & 2 == 2 >> >> Hence different networks.. the other thing is that you can't have >> a /31 >> due to the fact that one ip w/ all the node bits set is the broadcast >> for the network causing other sorts of troubles... the smallest >> usable >> network is a /30... >> >> -- >> John-Mark Gurney Voice: +1 415 225 5579 >> >> "All that I will do, has been done, All that I have, has not." >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net- >> unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Kim Shrier - principal, Shrier and Deihl - mailto:kim@tinker.com Remote Unix Network Admin, Security, Internet Software Development Tinker Internet Services - Superior FreeBSD-based Web Hosting http://www.tinker.com/ From owner-freebsd-net@FreeBSD.ORG Wed May 17 03:50:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C525F16A401 for ; Wed, 17 May 2006 03:50:29 +0000 (UTC) (envelope-from fooler@skyinet.net) Received: from smtp1.skyinet.net (smtp1.skyinet.net [202.78.97.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BBF43D46 for ; Wed, 17 May 2006 03:50:29 +0000 (GMT) (envelope-from fooler@skyinet.net) Received: from fooler (fooler.ilo.skyinet.net [202.78.118.66]) by smtp1.skyinet.net (Postfix) with SMTP id BAD72582C4; Wed, 17 May 2006 11:50:15 +0800 (PHT) Message-ID: <009701c67964$fe20f0e0$42764eca@ilo.skyinet.net> From: "fooler" To: "Kim Shrier" , "Unix-Solutions - Steven" References: <001301c67946$604b7f70$aa00000a@cloe><20060517005546.GJ65555@funkthat.com><20060517010927.GA656@gremlin.foo.is> Date: Wed, 17 May 2006 11:49:53 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 03:50:29 -0000 ----- Original Message ----- From: "Kim Shrier" To: "Unix-Solutions - Steven" Cc: Sent: Wednesday, May 17, 2006 9:20 AM Subject: Re: /31 on 2 interfaces >A /31 is not a point-to-point link. see RFC 3021 > A /31 is a network with nothing but a loopback and broadcast address. not a loopback address but a network address (all zeros bit) and a broadcast address (all ones bit) fooler. From owner-freebsd-net@FreeBSD.ORG Wed May 17 04:24:41 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B48116A400 for ; Wed, 17 May 2006 04:24:41 +0000 (UTC) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnes10.telusplanet.net (outbound02.telus.net [199.185.220.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id E184243D48 for ; Wed, 17 May 2006 04:24:40 +0000 (GMT) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnaa05.telusplanet.net ([142.179.216.126]) by priv-edtnes10.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060517042440.XTDQ5352.priv-edtnes10.telusplanet.net@priv-edtnaa05.telusplanet.net>; Tue, 16 May 2006 22:24:40 -0600 Received: from ephialtes (s142-179-216-126.ab.hsia.telus.net [142.179.216.126]) by priv-edtnaa05.telusplanet.net (BorderWare MXtreme Infinity Mail Firewall) with SMTP id A3XM1WR4LU; Tue, 16 May 2006 22:24:35 -0600 (MDT) Message-ID: <002a01c67969$8108c380$6f3010ac@ephialtes> From: "sfp" To: , References: <200605161242.k4GCgmS8006842@lurza.secnetix.de> Date: Tue, 16 May 2006 22:22:26 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cc: Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 04:24:42 -0000 From: "Oliver Fromme" > sfp wrote: > > Is it possible to disable a driver compiled into a 4.10 kernel at > > boot time by feeding a (set?) command to the loader? > > > > In this case I want to turf the EM(4) driver that was compiled into > > the kernel I've inherited and substitute it with a new if_em.ko using > > kldload. > > That's not possible. You might disable a driver through > loader variables (or kernel hints, or whatever), but the > driver will still be present in the kernel image, so you > cannot load a module that uses the same symbols. I may have answered my own question. Compiled em-4.1.6, replaced if_em.ko & loaded it from /boot/loader.conf. The reason I need this is 4.10 enumerates the Pro/1000 GT (PWLA8391GT, 82541PI chipset) as unknown. Need a newer driver to support the hardware. I'd still like to find a way to suppress the driver in the kernel entirely though :P Thanks for the info! > > You will have to compile a kernel that does not include > the driver. > > > I don't have the option of recompiling the kernel to exclude EM(4). > > Too bad. (Why don't you have that option?) > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing > Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd > Any opinions expressed in this message may be personal to the author > and may not necessarily reflect the opinions of secnetix in any way. > > With Perl you can manipulate text, interact with programs, talk over > networks, drive Web pages, perform arbitrary precision arithmetic, > and write programs that look like Snoopy swearing. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed May 17 09:41:18 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D97B816A426; Wed, 17 May 2006 09:41:18 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6B9643D4C; Wed, 17 May 2006 09:41:17 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 54A0D46CD8; Wed, 17 May 2006 05:41:17 -0400 (EDT) Date: Wed, 17 May 2006 10:41:17 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= In-Reply-To: Message-ID: <20060517103906.P49041@fledge.watson.org> References: <20060508.054451.41688849.yamamoto436@oki.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1849780989-1147858877=:49041" Cc: freebsd-net@freebsd.org, Hideki Yamamoto , freebsd-pf@freebsd.org Subject: Re: IPv6 raw socket to send original udp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 09:41:26 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1849780989-1147858877=:49041 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 16 May 2006, JINMEI Tatuya / [ISO-2022-JP] =BF=C0=CC=C0=C3=A3=BA=C8= wrote: > So, if a program needs to specify an arbitrary source IPv6 address for=20 > outgoing packets, it should use other "packet injection" interface such a= s=20 > BPF. One problem with using BPF for packet injection in IPv4 is that it requires= =20 the sender to provide the link layer encapsulation, make the routing decisi= on,=20 and perform any address resolution. Using raw sockets with the full header= =20 option allows the sender to generate a datagram from an arbitrary source ye= t=20 not perform those routing and link layer activities, which require more=20 intimate knowledge of the link type. It might be desirable to add a socket= =20 option to allow the specification of the source address in order to allow= =20 packet replay tools, etc, to work without link layer knowledge. Robert N M Watson --0-1849780989-1147858877=:49041-- From owner-freebsd-net@FreeBSD.ORG Wed May 17 11:33:59 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E123516A402 for ; Wed, 17 May 2006 11:33:59 +0000 (UTC) (envelope-from steven@unix-solutions.be) Received: from smtp.unix-solutions.be (smtp.unix-solutions.be [83.217.95.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BDC943D45 for ; Wed, 17 May 2006 11:33:58 +0000 (GMT) (envelope-from steven@unix-solutions.be) Received: from cloe ([81.164.116.230]) by unix-solutions.be with MailEnable ESMTP; Wed, 17 May 2006 13:33:00 +0200 Message-ID: <009d01c679a5$a8444910$aa00000a@cloe> From: "Unix-Solutions - Steven" To: "fooler" , "Kim Shrier" References: <001301c67946$604b7f70$aa00000a@cloe><20060517005546.GJ65555@funkthat.com><20060517010927.GA656@gremlin.foo.is> <009701c67964$fe20f0e0$42764eca@ilo.skyinet.net> Date: Wed, 17 May 2006 13:33:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 11:34:00 -0000 I'm need a point-to-point link between 2 servers with just a crossover cable between the servers. ----- Original Message ----- From: "fooler" To: "Kim Shrier" ; "Unix-Solutions - Steven" Cc: Sent: Wednesday, May 17, 2006 5:49 AM Subject: Re: /31 on 2 interfaces > ----- Original Message ----- > From: "Kim Shrier" > To: "Unix-Solutions - Steven" > Cc: > Sent: Wednesday, May 17, 2006 9:20 AM > Subject: Re: /31 on 2 interfaces > > >>A /31 is not a point-to-point link. > > see RFC 3021 > >> A /31 is a network with nothing but a loopback and broadcast address. > > not a loopback address but a network address (all zeros bit) and a > broadcast address (all ones bit) > > fooler. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed May 17 11:48:27 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77CB016A419 for ; Wed, 17 May 2006 11:48:27 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E69DD43D48 for ; Wed, 17 May 2006 11:48:09 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (pszcds@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4HBm1Dg054853 for ; Wed, 17 May 2006 13:48:06 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4HBm1Ux054852; Wed, 17 May 2006 13:48:01 +0200 (CEST) (envelope-from olli) Date: Wed, 17 May 2006 13:48:01 +0200 (CEST) Message-Id: <200605171148.k4HBm1Ux054852@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <009d01c679a5$a8444910$aa00000a@cloe> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 17 May 2006 13:48:06 +0200 (CEST) Cc: Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 11:48:27 -0000 Unix-Solutions - Steven wrote: > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. That's not a point-to-point link. It's a broadcast network that happens to have only two nodes. Just make your addresses /30 instead of /31. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "In My Egoistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." -- Blair P. Houghton From owner-freebsd-net@FreeBSD.ORG Wed May 17 11:49:29 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46BB416A46B for ; Wed, 17 May 2006 11:49:29 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9426643D5F for ; Wed, 17 May 2006 11:49:23 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (hkjofy@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4HBnHlH054903 for ; Wed, 17 May 2006 13:49:22 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4HBnHVR054902; Wed, 17 May 2006 13:49:17 +0200 (CEST) (envelope-from olli) Date: Wed, 17 May 2006 13:49:17 +0200 (CEST) Message-Id: <200605171149.k4HBnHVR054902@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <002a01c67969$8108c380$6f3010ac@ephialtes> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 17 May 2006 13:49:22 +0200 (CEST) Cc: Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 11:49:29 -0000 sfp wrote: > I'd still like to find a way to suppress the driver in the kernel entirely > though :P As I said, that's simple: Remove the driver from your kernel configuration, then recompile the kernel. Easy. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs." -- Robert Firth From owner-freebsd-net@FreeBSD.ORG Wed May 17 15:04:37 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5339F16AA54; Wed, 17 May 2006 15:04:37 +0000 (UTC) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (ns.live555.com [66.80.62.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C313843D73; Wed, 17 May 2006 15:04:36 +0000 (GMT) (envelope-from rsf@ns.live555.com) Received: from ns.live555.com (localhost.live555.com [127.0.0.1]) by ns.live555.com (8.13.6/8.13.6) with ESMTP id k4HF4ZYB001166; Wed, 17 May 2006 08:04:35 -0700 (PDT) (envelope-from rsf@ns.live555.com) Received: (from rsf@localhost) by ns.live555.com (8.13.6/8.13.6/Submit) id k4HF4YJH001164; Wed, 17 May 2006 08:04:34 -0700 (PDT) (envelope-from rsf) Message-Id: <7.0.1.0.1.20060517080119.01e00df8@live555.com> Message-Id: <7.0.1.0.1.20060516105535.01dafe98@live555.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 17 May 2006 08:04:23 -0700 To: freebsd-mobile@freebsd.org, freebsd-net@freebsd.org From: Ross Finlayson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: More 'resource' problems with "ath0" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:04:47 -0000 The problems are occurring even with a very recently built kernel: %cat /etc/motd FreeBSD 6.1-STABLE (GENERIC) #0: Tue May 16 15:55:19 PDT 2006 May 17 07:53:22 ns dhcpd: send_packet: No buffer space available May 17 07:53:25 ns dhcpd: send_packet: No buffer space available May 17 07:53:35 ns named[382]: client 66.80.62.46#1026: error sending response: not enough free resources Note that client 66.80.62.46 is on "ath0". %netstat -m 188/337/525 mbufs in use (current/cache/total) 109/205/314/10688 mbuf clusters in use (current/cache/total/max) 109/147 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 265K/494K/759K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/87/2928 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 1904 requests for I/O initiated by sendfile 246 calls to protocol drain routines Any ideas? Has anyone else run into this problem? Is there anything else I can run (other than "netstat -m") to help diagnose this problem? Ross. From owner-freebsd-net@FreeBSD.ORG Wed May 17 15:19:41 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB58216A422; Wed, 17 May 2006 15:19:41 +0000 (UTC) (envelope-from lk@tempest.sk) Received: from mailgw.dgrp.sk (mailgw.dgrp.sk [195.28.127.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5959A43D45; Wed, 17 May 2006 15:19:40 +0000 (GMT) (envelope-from lk@tempest.sk) Received: by mailgw.dgrp.sk (Postfix, from userid 1003) id BF39534A5AF; Wed, 17 May 2006 17:19:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mailgw.dgrp.sk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.1.0 Received: from webmail.tempest.sk (domino1.tempest.sk [195.28.100.38]) by mailgw.dgrp.sk (Postfix) with ESMTP id 86ECA34A5A9; Wed, 17 May 2006 17:18:14 +0200 (CEST) Received: from lk107.tempest.sk ([195.28.109.37]) by webmail.tempest.sk (Lotus Domino Release 6.5.4) with ESMTP id 2006051717181338-8652 ; Wed, 17 May 2006 17:18:13 +0200 Received: from localhost (localhost [127.0.0.1]) by lk107.tempest.sk (8.13.6/8.13.4) with ESMTP id k4HFIGZx024589; Wed, 17 May 2006 17:18:16 +0200 (CEST) (envelope-from lk@tempest.sk) Date: Wed, 17 May 2006 17:18:16 +0200 (CEST) Message-Id: <20060517.171816.74754698.lk@tempest.sk> To: freebsd-questions@freebsd.org From: Ludovit Koren X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 17.05.2006 17:18:13, Serialize by Router on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 17.05.2006 17:18:14, Serialize complete at 17.05.2006 17:18:14 Content-Transfer-Encoding: 7bit Content-Type: Text/Plain; charset=us-ascii Cc: freebsd-net@freebsd.org Subject: Cluster solution X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:19:42 -0000 Hi, I need help in designing of cluster solution based on FreeBSD. I tried carp for switching IP addresses, it seems to work ok. The solution is suitable for DNS, MTA, static web pages, web proxy and reverse proxy. I didn't find anything quite suitable for dynamic web pages with PHP and MySQL backend. I found just master and slave replication and clustering in MySQL. There could be problem if master fails with automatic promotion of slave to master and with the resynchronization of database after recovery of master database. Has anybody any experience with described setup. Howtos, pointers, links about configuration and software solutions are very appreciated. Thanks in advance. Regards, lk From owner-freebsd-net@FreeBSD.ORG Wed May 17 15:35:29 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D225416A6E9 for ; Wed, 17 May 2006 15:35:29 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpout04-04.prod.mesa1.secureserver.net (smtpout04-04.prod.mesa1.secureserver.net [64.202.165.199]) by mx1.FreeBSD.org (Postfix) with SMTP id DBB5243D55 for ; Wed, 17 May 2006 15:35:28 +0000 (GMT) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 3182 invoked from network); 17 May 2006 15:35:28 -0000 Received: from unknown (24.144.77.138) by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP; 17 May 2006 15:35:28 -0000 Message-ID: <446B42BE.1070108@seclark.us> Date: Wed, 17 May 2006 11:35:26 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce M Simpson References: <20060509122801.GA65297@spc.org> <20060509131517.GB79277@spc.org> <20060512030152.X20138@fledge.watson.org> <4463FD1D.9010600@seclark.us> <20060512131227.GD79277@spc.org> <20060513230315.GE79277@spc.org> <44667C7E.1020401@seclark.us> <20060514140044.GF79277@spc.org> <20060514142624.GG79277@spc.org> In-Reply-To: <20060514142624.GG79277@spc.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Robert Watson , pavlin@icir.org, atanu@icir.org Subject: Re: [PATCH] Re: IP_MAX_MEMBERSHIPS story. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 15:35:32 -0000 Bruce M Simpson wrote: >On Sun, May 14, 2006 at 03:00:44PM +0100, Bruce M Simpson wrote: > > >>So I will be updating the patch in the next 24 hours. Given that it >>seems stable for values 2047 <= n <= 4095 with SOCK_DGRAM I am inclined >>to commit with the maximum raised to 4095 and lazy allocation in place. >> >> > >Committed on HEAD with some fixups, after regression testing on >an SMP (dual i386) machine. > >The default number of multicast groups per socket available is now 31, >with a final maximum of 4095. > >The structures are lazy-allocated. Sockets which do not use IPv4 multicast >need not waste memory. > >Thanks, >BMS >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > Hi Bruce, I've been running the patch since Monday and all appears well - I have 100 vpn/gre tunnels with ospf running accross all the tunnels and I see all my neighbors. Great work - FreeBSD people ROCK! Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-net@FreeBSD.ORG Wed May 17 16:23:50 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 004CC16A8E6; Wed, 17 May 2006 16:23:49 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id C150D43D76; Wed, 17 May 2006 16:23:44 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k4HGNNl3073680; Wed, 17 May 2006 11:23:24 -0500 (CDT) Message-Id: <6.0.0.22.2.20060517110722.026767f0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 17 May 2006 11:23:16 -0500 To: Ludovit Koren , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <20060517.171816.74754698.lk@tempest.sk> References: <20060517.171816.74754698.lk@tempest.sk> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Cluster solution X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 16:23:50 -0000 You'd need to be more specific particularly with how much money you want to spend. HA Clusters are expensive to build. -Derek At 10:18 AM 5/17/2006, Ludovit Koren wrote: >Hi, > >I need help in designing of cluster solution based on FreeBSD. I tried >carp for switching IP addresses, it seems to work ok. The solution is >suitable for DNS, MTA, static web pages, web proxy and reverse proxy. > >I didn't find anything quite suitable for dynamic web pages with PHP >and MySQL backend. I found just master and slave replication and >clustering in MySQL. There could be problem if master fails with >automatic promotion of slave to master and with the resynchronization >of database after recovery of master database. > >Has anybody any experience with described setup. Howtos, pointers, >links about configuration and software solutions are very appreciated. > >Thanks in advance. > >Regards, > >lk >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. From owner-freebsd-net@FreeBSD.ORG Wed May 17 16:35:53 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D6F816A61D; Wed, 17 May 2006 16:35:53 +0000 (UTC) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225EC43D5E; Wed, 17 May 2006 16:35:52 +0000 (GMT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from impact.jinmei.org (23.229.109.219.ap.yournet.ne.jp [219.109.229.23]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id 12EE415218; Thu, 18 May 2006 01:35:47 +0900 (JST) Date: Thu, 18 May 2006 01:35:35 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: Ed Schouten In-Reply-To: <20060508065841.GN15353@hoeg.nl> References: <20060506172742.GM15353@hoeg.nl> <445EC341.60406@freebsd.org> <20060508065841.GN15353@hoeg.nl> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "Bruce A. Mah" , FreeBSD Net Subject: Re: nd6_lookup prints bogus messages with point to point devices X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 16:35:53 -0000 >>>>> On Mon, 8 May 2006 08:58:41 +0200, >>>>> Ed Schouten said: > I'm seeing the messages on the machine in Eindhoven (running RELENG_6 > from a few days/weeks ago), but they also show up on my HEAD machine at > home. Below is the output of `ifconfig gif0` on my machine at home: > | gif0: flags=8051 mtu 1280 > | tunnel inet 83.181.147.170 --> 193.109.122.244 > | inet6 fe80::202:a5ff:fe58:4927%gif0 prefixlen 64 scopeid 0x7 > | inet6 2001:7b8:310::1 --> 2001:7b8:2ff:a4::1 prefixlen 128 > As far as I know, the latest FreeBSD releases show an error message when > assigning an address with a non-128 prefixlen. Sorry for not responding sooner, but I think I've figured out the problem. I'm now testing a local patch to this problem, and will report the details once I confirm the behavior. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp From owner-freebsd-net@FreeBSD.ORG Wed May 17 16:55:53 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B344A16B291; Wed, 17 May 2006 16:55:53 +0000 (UTC) (envelope-from fbsd@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 183F443D6E; Wed, 17 May 2006 16:55:52 +0000 (GMT) (envelope-from fbsd@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060517165552.JCWA9009.mta11.adelphia.net@barbish>; Wed, 17 May 2006 12:55:52 -0400 From: "fbsd" To: "Derek Ragona" , "Ludovit Koren" , Date: Wed, 17 May 2006 12:55:51 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <6.0.0.22.2.20060517110722.026767f0@mail.computinginnovations.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: freebsd-net@freebsd.org Subject: RE: Cluster solution X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@a1poweruser.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 16:55:58 -0000 Take a look at port net/freevrrpd. http://redundancy.redundancy.org/fbsd_lb.html http://www.freebsd.org.hk/html/sgcluster/ http://pf4freebsd.love2party.net/carp.html http://blizzard.rwic.und.edu/~nordlie/miniwulf/ It uses MPICH and LAM/MPI Have a look at HUT (High Uptime Project) : http://www.bsdshell.net and http://www.aims.com.au/chris/cluster/ and http://sporner.dyndns.org/freebsdcluster/ (sometimes down ;)) http://nrez.net/~rmger/fbsdcluster/cluster-doc.html http://acme.ecn.purdue.edu/ http://www.leidinger.net/cgi-bin/search.pl?q=cluster&num=10 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Derek Ragona Sent: Wednesday, May 17, 2006 12:23 PM To: Ludovit Koren; freebsd-questions@freebsd.org Cc: freebsd-net@freebsd.org Subject: Re: Cluster solution You'd need to be more specific particularly with how much money you want to spend. HA Clusters are expensive to build. -Derek At 10:18 AM 5/17/2006, Ludovit Koren wrote: >Hi, > >I need help in designing of cluster solution based on FreeBSD. I tried >carp for switching IP addresses, it seems to work ok. The solution is >suitable for DNS, MTA, static web pages, web proxy and reverse proxy. > >I didn't find anything quite suitable for dynamic web pages with PHP >and MySQL backend. I found just master and slave replication and >clustering in MySQL. There could be problem if master fails with >automatic promotion of slave to master and with the resynchronization >of database after recovery of master database. > >Has anybody any experience with described setup. Howtos, pointers, >links about configuration and software solutions are very appreciated. > >Thanks in advance. > >Regards, > >lk >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed May 17 17:45:31 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A11C16A81F for ; Wed, 17 May 2006 17:45:31 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2DE743D6A for ; Wed, 17 May 2006 17:45:29 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (smihpjms8tmmqjmp@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4HHjOVD023076; Wed, 17 May 2006 10:45:24 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4HHjMJI023075; Wed, 17 May 2006 10:45:22 -0700 (PDT) (envelope-from jmg) Date: Wed, 17 May 2006 10:45:22 -0700 From: John-Mark Gurney To: sfp Message-ID: <20060517174522.GC782@funkthat.com> Mail-Followup-To: sfp , freebsd-net@FreeBSD.ORG, olli@lurza.secnetix.de References: <200605161242.k4GCgmS8006842@lurza.secnetix.de> <002a01c67969$8108c380$6f3010ac@ephialtes> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002a01c67969$8108c380$6f3010ac@ephialtes> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-net@FreeBSD.ORG, olli@lurza.secnetix.de Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 17:45:31 -0000 sfp wrote this message on Tue, May 16, 2006 at 22:22 -0600: > From: "Oliver Fromme" > > > sfp wrote: > > > Is it possible to disable a driver compiled into a 4.10 kernel at > > > boot time by feeding a (set?) command to the loader? > > > > > > In this case I want to turf the EM(4) driver that was compiled into > > > the kernel I've inherited and substitute it with a new if_em.ko using > > > kldload. > > > > That's not possible. You might disable a driver through > > loader variables (or kernel hints, or whatever), but the > > driver will still be present in the kernel image, so you > > cannot load a module that uses the same symbols. > > I may have answered my own question. Compiled em-4.1.6, replaced if_em.ko > & loaded it from /boot/loader.conf. > > The reason I need this is 4.10 enumerates the Pro/1000 GT (PWLA8391GT, > 82541PI chipset) as unknown. Need a newer driver to support the hardware. > > I'd still like to find a way to suppress the driver in the kernel entirely > though :P Since the kernel driver it's attaching, you could always rename the em module that you compile... just a few things to change, and you have a different name, and no conflicts w/ the kernel... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-net@FreeBSD.ORG Wed May 17 18:06:55 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC66316AD5E for ; Wed, 17 May 2006 18:06:55 +0000 (UTC) (envelope-from _pppp@mail.ru) Received: from f11.mail.ru (f11.mail.ru [194.67.57.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F40043D5E for ; Wed, 17 May 2006 18:06:53 +0000 (GMT) (envelope-from _pppp@mail.ru) Received: from mail by f11.mail.ru with local id 1FgQQH-0006RO-00; Wed, 17 May 2006 22:07:01 +0400 Received: from [81.200.14.42] by koi.mail.ru with HTTP; Wed, 17 May 2006 22:07:01 +0400 From: dima <_pppp@mail.ru> To: Derek Ragona Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [81.200.14.42] Date: Wed, 17 May 2006 22:07:01 +0400 In-Reply-To: <6.0.0.22.2.20060517110722.026767f0@mail.computinginnovations.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Cc: freebsd-net@freebsd.org, Ludovit Koren Subject: Re[2]: Cluster solution X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dima <_pppp@mail.ru> List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 18:06:56 -0000 > You'd need to be more specific particularly with how much money you want to > spend. HA Clusters are expensive to build. The question was about FreeBSD. Do you know any HA solutions working with it? My company would be glad to spend quite a lot if there were one. Don't top-post, please. > > -Derek > > At 10:18 AM 5/17/2006, Ludovit Koren wrote: > > > >Hi, > > > >I need help in designing of cluster solution based on FreeBSD. I tried > >carp for switching IP addresses, it seems to work ok. The solution is > >suitable for DNS, MTA, static web pages, web proxy and reverse proxy. > > > >I didn't find anything quite suitable for dynamic web pages with PHP > >and MySQL backend. I found just master and slave replication and > >clustering in MySQL. There could be problem if master fails with > >automatic promotion of slave to master and with the resynchronization > >of database after recovery of master database. We've built a setup for dynamic pages on CARP and mod_backhand (apache module). It doesn't scale to more than 50 application servers though. The shared storage is a big problem. All the well-known (?) SAN filesystems doesn't work on FreeBSD. We're testing FreeBSD NFS client for stability (see my thread on this list); NFS server doesn't seem to be ready for production use. We're going to purchase a clustered NetApp solution (now testing on Solaris as NFS server). You can apply a "circle" replication using standard MySQL features. This method is used in livejournal and officially admitted by MySQL AB; it doesn't provide scalability though. We're trying to make 2 "master + multiple slaves" hierarhies; the solution is not ready yet. If PostgreSQL is an option in your project it provides a better idea (see pgcluster). > > > >Has anybody any experience with described setup. Howtos, pointers, > >links about configuration and software solutions are very appreciated. > > > >Thanks in advance. > > > >Regards, > > > >lk > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > >-- > >This message has been scanned for viruses and > >dangerous content by MailScanner, and is > >believed to be clean. > >MailScanner thanks transtec Computers for their support. > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > MailScanner thanks transtec Computers for their support. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed May 17 19:40:21 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67A9416AA0F for ; Wed, 17 May 2006 19:40:21 +0000 (UTC) (envelope-from nobody@everest.mxhost.ro) Received: from everest.mxhost.ro (everest.mxhost.ro [193.203.204.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0159D43D46 for ; Wed, 17 May 2006 19:40:21 +0000 (GMT) (envelope-from nobody@everest.mxhost.ro) Received: from nobody by everest.mxhost.ro with local (Exim 4.52) id 1FgRqu-0002zy-NY for freebsd-net@freebsd.org; Wed, 17 May 2006 22:38:36 +0300 To: freebsd-net@freebsd.org From: eBay Inc. Content-Transfer-Encoding: 8bit Message-Id: Date: Wed, 17 May 2006 22:38:36 +0300 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - everest.mxhost.ro X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - everest.mxhost.ro X-Source: X-Source-Args: X-Source-Dir: MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Account suspended. Please update X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 19:40:21 -0000 Dear eBay member We recently noticed one or more attempts to log in to your eBay account from a foreign IP address by a third party without your authorization. If you recently accessed your account while traveling,the unusual log in attempts may have been initiated by you. If you are the rightfull holder of the account, click on the link below and fill the form and then submit as we need to verify your identity . [1]http://signin.ebay.com/aw-cgi/eBayISAPI.dll?SignIn The log in attempt was made from: IP address: 205.188.209.166 ISP host: cache-dq04.proxy.aol.com Your account is temporarily suspended If you received this notice and you are not the authorized account holder, please be aware that it is in violation of eBay policy to represent oneself as another eBay user. Such action may also be in violation of local, national, and/or international law. eBay is committed to assist law enforcement with any inquires related to attempts to misappropriate personal information with the intent to commit fraud or theft. Information will be provided at the request of law enforcement agencies to ensure that perpetrators are prosecuted to the fullest extent of the law. *Please do not respond to this e-mail as your reply will not be received. Thanks for your patience as we work together to protect your account. Regards, Safeharbor Department eBay Inc. References 1. http://www.php-mania.org/ebay/aw-cgi/eBayISAPI.dllSignIn-ssPageName-hhsin.php From owner-freebsd-net@FreeBSD.ORG Wed May 17 23:08:53 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B1B616A518 for ; Wed, 17 May 2006 23:08:53 +0000 (UTC) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7119C43D5C for ; Wed, 17 May 2006 23:08:45 +0000 (GMT) (envelope-from mosfet@planet.eon.net) Received: from localhost ([199.185.220.240]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060517230845.MDU13301.priv-edtnes51.telusplanet.net@localhost>; Wed, 17 May 2006 17:08:45 -0600 Received: from 208.38.59.80 ( [208.38.59.80]) as user lsc.-ir@192.168.200.1 by webmail.telus.net with HTTP; Wed, 17 May 2006 16:08:45 -0700 Message-ID: <1147907325.446bacfd29d21@webmail.telus.net> Date: Wed, 17 May 2006 16:08:45 -0700 From: sfp To: Unix-Solutions - Steven References: <001301c67946$604b7f70$aa00000a@cloe><20060517005546.GJ65555@funkthat.com><20060517010927.GA656@gremlin.foo.is> <009701c67964$fe20f0e0$42764eca@ilo.skyinet.net> <009d01c679a5$a8444910$aa00000a@cloe> In-Reply-To: <009d01c679a5$a8444910$aa00000a@cloe> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 208.38.59.80 Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 23:08:53 -0000 No love with a /31 mask & default bcast addr. Perhaps ARP reqs are failing to the subnet bcast address, didn't check. To fix, specify an all ones broadcast. Tested this against 6.0-Release & a Juniper box that was handy. As always, YMMV. Oliver has a point though, why not just use a /30 & save yourself the grief? ifconfig vlan20 10.10.20.2 netmask 255.255.255.254 broadcast 255.255.255.255 [root@itestbox itest1]# ifconfig vlan20 vlan20: flags=8843 mtu 1500 inet6 fe80::210:4bff:fe14:bc03%vlan20 prefixlen 64 scopeid 0x11 inet 10.10.20.2 netmask 0xfffffffe broadcast 255.255.255.255 ether 00:02:b3:ab:66:3c media: Ethernet 100baseTX status: active vlan: 20 parent interface: em1 set interfaces fxp1 unit 0 family inet address 10.10.20.3/31 broadcast 255.255.255.255 jtest1@jtestbox> show interfaces fxp1.0 extensive Logical interface fxp1.0 (Index 66) (SNMP ifIndex 14) (Generation 3) Flags: SNMP-Traps Encapsulation: ENET2 Protocol inet, MTU: 1500, Generation: 9, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.20.2/31, Local: 10.10.20.3, Broadcast: Unspecified, Generation: 23 [root@itestbox itest1]# ping -qnc2 10.10.20.3 PING 10.10.20.3 (10.10.20.3): 56 data bytes --- 10.10.20.3 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.369/0.439/0.508/0.070 ms jtest1@jtestbox> ping 10.10.20.2 count 2 PING 10.10.20.2 (10.10.20.2): 56 data bytes 64 bytes from 10.10.20.2: icmp_seq=0 ttl=64 time=0.407 ms 64 bytes from 10.10.20.2: icmp_seq=1 ttl=64 time=0.412 ms --- 10.10.20.2 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.407/0.409/0.412/0.002 ms jtest1@jtestbox> monitor traffic interface fxp1 extensive Listening on fxp1, capture size 96 bytes 19:31:39.559772 In 0:2:b3:ab:66:3c > 0:2:b3:9:57:dd, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 6478, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.2 > 10.10.20.3: ICMP echo request seq 0, length 64 19:31:39.559865 Out 0:2:b3:9:57:dd > 0:2:b3:ab:66:3c, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 39612, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.3 > 10.10.20.2: ICMP echo reply seq 0, length 64 19:31:40.561499 In 0:2:b3:ab:66:3c > 0:2:b3:9:57:dd, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 6482, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.2 > 10.10.20.3: ICMP echo request seq 1, length 64 19:31:40.561579 Out 0:2:b3:9:57:dd > 0:2:b3:ab:66:3c, ethertype IPv4 (0x0800), length 98: (tos 0x0, ttl 64, id 39615, offset 0, flags [none], proto: ICMP (1), length: 84) 10.10.20.3 > 10.10.20.2: ICMP echo reply seq 1, length 64 ^C 4 packets received by filter 0 packets dropped by kernel Quoting Unix-Solutions - Steven : > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. > > ----- Original Message ----- > From: "fooler" > To: "Kim Shrier" ; "Unix-Solutions - Steven" > > Cc: > Sent: Wednesday, May 17, 2006 5:49 AM > Subject: Re: /31 on 2 interfaces > > > > ----- Original Message ----- > > From: "Kim Shrier" > > To: "Unix-Solutions - Steven" > > Cc: > > Sent: Wednesday, May 17, 2006 9:20 AM > > Subject: Re: /31 on 2 interfaces > > > > > >>A /31 is not a point-to-point link. > > > > see RFC 3021 > > > >> A /31 is a network with nothing but a loopback and broadcast address. > > > > not a loopback address but a network address (all zeros bit) and a > > broadcast address (all ones bit) > > > > fooler. > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Wed May 17 23:15:33 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F15AE16A5CD for ; Wed, 17 May 2006 23:15:33 +0000 (UTC) (envelope-from mosfet@planet.eon.net) Received: from priv-edtnes56.telusplanet.net (outbound01.telus.net [199.185.220.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E66743D49 for ; Wed, 17 May 2006 23:15:33 +0000 (GMT) (envelope-from mosfet@planet.eon.net) Received: from localhost ([199.185.220.240]) by priv-edtnes56.telusplanet.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20060517231532.MNP23938.priv-edtnes56.telusplanet.net@localhost>; Wed, 17 May 2006 17:15:32 -0600 Received: from 208.38.59.80 ( [208.38.59.80]) as user lsc.-ir@192.168.200.1 by webmail.telus.net with HTTP; Wed, 17 May 2006 16:15:32 -0700 Message-ID: <1147907732.446bae948147c@webmail.telus.net> Date: Wed, 17 May 2006 16:15:32 -0700 From: sfp To: Oliver Fromme References: <200605171149.k4HBnHVR054902@lurza.secnetix.de> In-Reply-To: <200605171149.k4HBnHVR054902@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 208.38.59.80 Cc: freebsd-net@FreeBSD.ORG Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 23:15:34 -0000 > As I said, that's simple: Remove the driver from your > kernel configuration, then recompile the kernel. Easy. True. That should have read, suppress from the loader. And apologies for top posting on the /31 thread. From owner-freebsd-net@FreeBSD.ORG Thu May 18 05:35:12 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D884A16A400 for ; Thu, 18 May 2006 05:35:12 +0000 (UTC) (envelope-from fooler@skyinet.net) Received: from smtp2.skyinet.net (smtp2.skyinet.net [202.78.97.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71F0643D4C for ; Thu, 18 May 2006 05:35:12 +0000 (GMT) (envelope-from fooler@skyinet.net) Received: from fooler (fooler.ilo.skyinet.net [202.78.118.66]) by smtp2.skyinet.net (Postfix) with SMTP id 5D6305BA51; Thu, 18 May 2006 13:35:08 +0800 (PHT) Message-ID: <03c001c67a3c$d39128d0$42764eca@ilo.skyinet.net> From: "fooler" To: "Unix-Solutions - Steven" , "Kim Shrier" References: <001301c67946$604b7f70$aa00000a@cloe><20060517005546.GJ65555@funkthat.com><20060517010927.GA656@gremlin.foo.is><009701c67964$fe20f0e0$42764eca@ilo.skyinet.net> <009d01c679a5$a8444910$aa00000a@cloe> Date: Thu, 18 May 2006 13:35:08 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 05:35:12 -0000 ----- Original Message ----- From: "Unix-Solutions - Steven" To: "fooler" ; "Kim Shrier" Cc: Sent: Wednesday, May 17, 2006 7:33 PM Subject: Re: /31 on 2 interfaces > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. unfortunately freebsd is not rfc 3021 compliant... you have to settle for /30 for your point-to-point link... fooler. From owner-freebsd-net@FreeBSD.ORG Thu May 18 10:37:56 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14CF316A401 for ; Thu, 18 May 2006 10:37:56 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C23D43D46 for ; Thu, 18 May 2006 10:37:55 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fgft6-000GPp-Iq; Thu, 18 May 2006 13:37:49 +0300 From: Iasen Kostov To: Unix-Solutions - Steven In-Reply-To: <009d01c679a5$a8444910$aa00000a@cloe> References: <001301c67946$604b7f70$aa00000a@cloe> <20060517005546.GJ65555@funkthat.com><20060517010927.GA656@gremlin.foo.is> <009701c67964$fe20f0e0$42764eca@ilo.skyinet.net> <009d01c679a5$a8444910$aa00000a@cloe> Content-Type: text/plain Date: Thu, 18 May 2006 13:37:47 +0300 Message-Id: <1147948668.31768.3.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: fooler , freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 10:37:56 -0000 On Wed, 2006-05-17 at 13:33 +0200, Unix-Solutions - Steven wrote: > I'm need a point-to-point link between 2 servers > with just a crossover cable between the servers. > I've got no poblem: box1: ifconfig em0 10.0.0.1 netmask 255.255.255.255 route add -net 10.0.0.2/32 -iface em0 -cloning box2: ifconfig em0 10.0.0.2 netmask 255.255.255.255 route add -net 10.0.0.1/32 -iface em0 -cloning That should be all. Mask is /32 as in PPP ifaces (even if it's broadcast one). From owner-freebsd-net@FreeBSD.ORG Thu May 18 10:40:50 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EE1216A409 for ; Thu, 18 May 2006 10:40:50 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FAC343D5D for ; Thu, 18 May 2006 10:40:43 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (bapqbq@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4IAebJC005264 for ; Thu, 18 May 2006 12:40:42 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4IAebGx005263; Thu, 18 May 2006 12:40:37 +0200 (CEST) (envelope-from olli) Date: Thu, 18 May 2006 12:40:37 +0200 (CEST) Message-Id: <200605181040.k4IAebGx005263@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <1147907732.446bae948147c@webmail.telus.net> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 18 May 2006 12:40:42 +0200 (CEST) Cc: Subject: Re: disable kernel driver at boot? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 10:40:50 -0000 sfp wrote: > > > As I said, that's simple: Remove the driver from your > > kernel configuration, then recompile the kernel. Easy. > > True. That should have read, suppress from the loader. As stated several times, you cannot "unload" a driver which is compiled statically into the kernel. If you're afraid of compiling your own kernel, I suggest you have a look at the appropriate chapter in the Handbook. It is quite easy. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "When your hammer is C++, everything begins to look like a thumb." -- Steve Haflich, in comp.lang.c++ From owner-freebsd-net@FreeBSD.ORG Thu May 18 14:23:27 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BED5116A4C7 for ; Thu, 18 May 2006 14:23:27 +0000 (UTC) (envelope-from eliottadcox@technologue.com) Received: from technologue.com (201-27-43-90.dsl.telesp.net.br [201.27.43.90]) by mx1.FreeBSD.org (Postfix) with SMTP id B387F43D5C for ; Thu, 18 May 2006 14:23:20 +0000 (GMT) (envelope-from eliottadcox@technologue.com) Message-ID: <000001c67a86$10d7eaf0$29fda8c0@pjf4> From: "Eliott Adcox" To: freebsd-net@freebsd.org Date: Thu, 18 May 2006 07:19:25 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: crdit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eliott Adcox List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 14:23:29 -0000 Dear Home 0vvner, Your crredit doesn't matter to us! If you OVVN reeal essttate and want IMMEDlATE cassh to sppend ANY way you like, or simply wish to LOVVER your monthly paayments by a third or more, here are the deeals we have TOdDAY: $ 490 , 000 as lovv as 3 , 65 % $ 370 , 000 as lovv as 3 , 90 % $ 250 , 000 as lovv as 3 , 35 % $ 200 , 000 as lovv as 3 , 55 % go to the web site =20 Eliott Adcox , Apprroval Mannager =20 that their sorrows are due to the dwarves; for they are homeless and many have died, and Smaug has destroyed their town. They too think to find amends from your treasure, whether you are alive or dead. Your own wisdom must decide your course, but thirteen is small From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:31:25 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB57516A403 for ; Thu, 18 May 2006 15:31:25 +0000 (UTC) (envelope-from ale@seudns.net) Received: from connectmed.com.br (s200-189-171-55.ipb.diveo.net.br [200.189.171.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FD9943D6E for ; Thu, 18 May 2006 15:31:23 +0000 (GMT) (envelope-from ale@seudns.net) Received: (qmail 21425 invoked from network); 18 May 2006 15:30:38 -0000 Received: from unknown (HELO ?192.168.3.109?) (192.168.3.109) by donald.connectmed.com.br with SMTP; 18 May 2006 15:30:37 -0000 Message-ID: <446C934A.3040600@seudns.net> Date: Thu, 18 May 2006 12:31:22 -0300 From: Alexandre Biancalana User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:31:25 -0000 Hi List, Today I had to add a new route in the company gateway. So I ran the command: # route add 128.110.0.0 255.255.0.0 10.0.0.17 add net 128.110.0.0: gateway 255.255.0.0 Running netstat -nr I get the following: 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => this is incorrect, the interface should be fxp1 not fxp0 (that is the default interface). And Why the destination network is 0&0xa000011 and not 128.110.0.0 Trying to delete this route the follow error occur: # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17 route: writing to routing socket: No such process delete net 128.110.0.0: gateway 255.255.0.0: not in table The company gateway is FreeBSD 4.10-STABLE. Any Ideas ?? Best Regards, Alexandre Biancalana From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:39:00 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA8F16A405 for ; Thu, 18 May 2006 15:39:00 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9B6D43D45 for ; Thu, 18 May 2006 15:38:59 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [127.0.0.1] ([85.118.159.107]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k4IFchFB033995; Thu, 18 May 2006 16:38:44 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <446C947C.9020905@joeholden.co.uk> Date: Thu, 18 May 2006 16:36:28 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Alexandre Biancalana References: <446C934A.3040600@seudns.net> In-Reply-To: <446C934A.3040600@seudns.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=3.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Cc: freebsd-net@freebsd.org Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:39:08 -0000 Alexandre Biancalana wrote: > Hi List, > > Today I had to add a new route in the company gateway. So I ran the > command: > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 add net > 128.110.0.0: gateway 255.255.0.0 > > Running netstat -nr I get the following: > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => > > this is incorrect, the interface should be fxp1 not fxp0 (that is the > default interface). And Why the destination network is 0&0xa000011 and > not 128.110.0.0 > > > Trying to delete this route the follow error occur: > > # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17 > route: writing to routing socket: No such process > delete net 128.110.0.0: gateway 255.255.0.0: not in table > > > The company gateway is FreeBSD 4.10-STABLE. > > > Any Ideas ?? > > > > Best Regards, > Alexandre Biancalana > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" If i remember correctly, 4.x route command will accept cidr, did you try that? ie; route add 128.110/8 10.0.0.17 Thanks, Joe From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:39:21 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA81516A40B for ; Thu, 18 May 2006 15:39:21 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74AE743D48 for ; Thu, 18 May 2006 15:39:21 +0000 (GMT) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id k4IFdJQN024694; Thu, 18 May 2006 08:39:20 -0700 (PDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-net@freebsd.org Date: Thu, 18 May 2006 11:38:01 -0400 User-Agent: KMail/1.9.1 References: <446C934A.3040600@seudns.net> In-Reply-To: <446C934A.3040600@seudns.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605181138.01749.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Alexandre Biancalana Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:39:29 -0000 On Thursday 18 May 2006 11:31, Alexandre Biancalana wrote: > Hi List, > > Today I had to add a new route in the company gateway. So I ran the > command: > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 > add net 128.110.0.0: gateway 255.255.0.0 > > Running netstat -nr I get the following: > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => > > this is incorrect, the interface should be fxp1 not fxp0 (that is the > default interface). And Why the destination network is 0&0xa000011 and > not 128.110.0.0 > > > Trying to delete this route the follow error occur: > > # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17 > route: writing to routing socket: No such process > delete net 128.110.0.0: gateway 255.255.0.0: not in table Try this: route delete -net 128.110.0.0 without any additional parameters. JN From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:42:40 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5314916A439 for ; Thu, 18 May 2006 15:42:40 +0000 (UTC) (envelope-from jblanton@masaka.cs.ohiou.edu) Received: from ms-smtp-01.ohiordc.rr.com (ms-smtp-01.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E48143D53 for ; Thu, 18 May 2006 15:42:39 +0000 (GMT) (envelope-from jblanton@masaka.cs.ohiou.edu) Received: from mauser.ipx.ath.cx (cpe-24-165-123-44.cinci.res.rr.com [24.165.123.44]) by ms-smtp-01.ohiordc.rr.com (8.13.6/8.13.6) with ESMTP id k4IFgbfV024606; Thu, 18 May 2006 11:42:37 -0400 (EDT) Received: by mauser.ipx.ath.cx (Postfix, from userid 500) id 35EFD102819; Thu, 18 May 2006 11:42:37 -0400 (EDT) Date: Thu, 18 May 2006 11:42:37 -0400 From: Joshua Blanton To: Joe Holden Message-ID: <20060518154237.GB22140@mauser.ipx.ath.cx> Mail-Followup-To: Joe Holden , freebsd-net@freebsd.org References: <446C934A.3040600@seudns.net> <446C947C.9020905@joeholden.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <446C947C.9020905@joeholden.co.uk> X-Operating-System: Linux User-Agent: Mutt/1.5.9i X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-net@freebsd.org Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joshua Blanton List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:42:40 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Joe Holden wrote: > Alexandre Biancalana wrote: > ># route add 128.110.0.0 255.255.0.0 10.0.0.17 add net=20 >=20 > route add 128.110/8 10.0.0.17 /16 would probably be a better choice ;-) --jtb --K8nIJk4ghYZn606h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEbJXt1dp8qWK2G7QRAobFAKCdd7oeCPM5RAg3WCleLFAeJt87vQCdEIwf 7O/T8GYXqJuj9A33vQGQlx0= =B7vc -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h-- From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:43:22 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6D0B16A406 for ; Thu, 18 May 2006 15:43:22 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E9643D46 for ; Thu, 18 May 2006 15:43:21 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [127.0.0.1] ([85.118.159.107]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k4IFhJRK034050; Thu, 18 May 2006 16:43:20 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <446C9590.7030605@joeholden.co.uk> Date: Thu, 18 May 2006 16:41:04 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Joe Holden , freebsd-net@freebsd.org References: <446C934A.3040600@seudns.net> <446C947C.9020905@joeholden.co.uk> <20060518154237.GB22140@mauser.ipx.ath.cx> In-Reply-To: <20060518154237.GB22140@mauser.ipx.ath.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Cc: Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:43:23 -0000 Joshua Blanton wrote: > Joe Holden wrote: > >> Alexandre Biancalana wrote: >> >>> # route add 128.110.0.0 255.255.0.0 10.0.0.17 add net >>> >> route add 128.110/8 10.0.0.17 >> > > /16 would probably be a better choice ;-) > > --jtb > oh, yes, my bad, i meant /16...been a long day :( Thanks, Joe From owner-freebsd-net@FreeBSD.ORG Thu May 18 15:44:33 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD4A416A408 for ; Thu, 18 May 2006 15:44:33 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from elise.stf.rewt.org.uk (elise.stf.rewt.org.uk [82.152.108.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FF8243D46 for ; Thu, 18 May 2006 15:44:32 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from [127.0.0.1] ([85.118.159.107]) (authenticated bits=0) by elise.stf.rewt.org.uk (8.13.6/8.13.4) with ESMTP id k4IFiTZO034071; Thu, 18 May 2006 16:44:30 +0100 (BST) (envelope-from joe@joeholden.co.uk) Message-ID: <446C95D6.7080501@joeholden.co.uk> Date: Thu, 18 May 2006 16:42:14 +0100 From: Joe Holden User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: John Nielsen References: <446C934A.3040600@seudns.net> <200605181138.01749.lists@jnielsen.net> In-Reply-To: <200605181138.01749.lists@jnielsen.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=3.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on elise.stf.rewt.org.uk Cc: freebsd-net@freebsd.org, Alexandre Biancalana Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 15:44:34 -0000 John Nielsen wrote: > On Thursday 18 May 2006 11:31, Alexandre Biancalana wrote: > >> Hi List, >> >> Today I had to add a new route in the company gateway. So I ran the >> command: >> >> # route add 128.110.0.0 255.255.0.0 10.0.0.17 >> add net 128.110.0.0: gateway 255.255.0.0 >> >> Running netstat -nr I get the following: >> >> 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => >> >> this is incorrect, the interface should be fxp1 not fxp0 (that is the >> default interface). And Why the destination network is 0&0xa000011 and >> not 128.110.0.0 >> >> >> Trying to delete this route the follow error occur: >> >> # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17 >> route: writing to routing socket: No such process >> delete net 128.110.0.0: gateway 255.255.0.0: not in table >> > > Try this: > > route delete -net 128.110.0.0 > > without any additional parameters. > > JN > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > I did the above mentioned steps and it added a route that could not be removed, only way to get rid of it was a route flush, it seemingly doesn't like that command for some reason. Thanks, Joe From owner-freebsd-net@FreeBSD.ORG Thu May 18 16:16:01 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE00D16A417 for ; Thu, 18 May 2006 16:16:01 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB3443D49 for ; Thu, 18 May 2006 16:16:00 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (fybura@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k4IGFrhR020753 for ; Thu, 18 May 2006 18:15:58 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k4IGFr1h020752; Thu, 18 May 2006 18:15:53 +0200 (CEST) (envelope-from olli) Date: Thu, 18 May 2006 18:15:53 +0200 (CEST) Message-Id: <200605181615.k4IGFr1h020752@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG In-Reply-To: <446C934A.3040600@seudns.net> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 18 May 2006 18:15:58 +0200 (CEST) Cc: Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 16:16:01 -0000 Alexandre Biancalana wrote: > Today I had to add a new route in the company gateway. So I ran the > command: > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 > add net 128.110.0.0: gateway 255.255.0.0 You used the wrong syntax. Correct syntax is: # route add -net [] So what your command actually did was to add 255.255.0.0 as a gateway for 128.110.0.0 (with an illegal netmask of 10.0.0.17). You certainly didn't want that, but the route command did exactly what you told it to do. ;-) > Running netstat -nr I get the following: > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => > > this is incorrect, the interface should be fxp1 not fxp0 (that is the > default interface). That's expected. 255.255.0.0 is probably on your default route, so it'll be routed to fxp0. > And Why the destination network is 0&0xa000011 and > not 128.110.0.0 You specified 10.0.0.17 as the netmask, which is 0xa000011 in hexadecimal. When you perform a bitwise-and operation between your destination (128.110.0.0) and your netmask (10.0.0.17), you get zero. That's why netstat(1) displays "0". It also displays the netmask, usually CIDR notation if possible (i.e. "/x"), but that's not possible with your weird netmask, so it just displays "&" followed by the mask in hex. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing." -- Dick Brandon From owner-freebsd-net@FreeBSD.ORG Thu May 18 17:52:26 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA3F916A527 for ; Thu, 18 May 2006 17:52:26 +0000 (UTC) (envelope-from ale@seudns.net) Received: from connectmed.com.br (s200-189-171-55.ipb.diveo.net.br [200.189.171.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 4991443D5D for ; Thu, 18 May 2006 17:52:24 +0000 (GMT) (envelope-from ale@seudns.net) Received: (qmail 25010 invoked from network); 18 May 2006 17:51:35 -0000 Received: from unknown (HELO ?192.168.3.109?) (192.168.3.109) by donald.connectmed.com.br with SMTP; 18 May 2006 17:51:35 -0000 Message-ID: <446CB453.4000707@seudns.net> Date: Thu, 18 May 2006 14:52:19 -0300 From: Alexandre Biancalana User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG References: <200605181615.k4IGFr1h020752@lurza.secnetix.de> In-Reply-To: <200605181615.k4IGFr1h020752@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 17:52:35 -0000 Oliver Fromme wrote: > Alexandre Biancalana wrote: > > Today I had to add a new route in the company gateway. So I ran the > > command: > > > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 > > add net 128.110.0.0: gateway 255.255.0.0 > > You used the wrong syntax. Correct syntax is: > # route add -net [] > > So what your command actually did was to add 255.255.0.0 > as a gateway for 128.110.0.0 (with an illegal netmask of > 10.0.0.17). You certainly didn't want that, but the > route command did exactly what you told it to do. ;-) > Ok ! Right ! My fault ! In the running of make the new configuration I typed the command in wrong order.... :-( > > Running netstat -nr I get the following: > > > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => > > > > this is incorrect, the interface should be fxp1 not fxp0 (that is the > > default interface). > > That's expected. 255.255.0.0 is probably on your default > route, so it'll be routed to fxp0. > > > And Why the destination network is 0&0xa000011 and > > not 128.110.0.0 > > You specified 10.0.0.17 as the netmask, which is 0xa000011 > in hexadecimal. When you perform a bitwise-and operation > between your destination (128.110.0.0) and your netmask > (10.0.0.17), you get zero. That's why netstat(1) displays > "0". It also displays the netmask, usually CIDR notation > if possible (i.e. "/x"), but that's not possible with your > weird netmask, so it just displays "&" followed by the mask > in hex. > Have some way to remove this stupid route without flushing the routing table ??? This machine is main gateway of the company and I can't do a route flush now, but I need to have this new route working... # route delete -net 128.110.0.0 route: writing to routing socket: No such process delete net 128.110.0.0: not in table > Best regards > Oliver > > Thank you for ALL the replies, all of then was great !! Alexandre From owner-freebsd-net@FreeBSD.ORG Thu May 18 21:54:38 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990A916A401 for ; Thu, 18 May 2006 21:54:38 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.17.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F28E43D48 for ; Thu, 18 May 2006 21:54:35 +0000 (GMT) (envelope-from freebsdlists@bsdunix.ch) Received: from localhost (localhost.bsdunix.ch [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id AE1ED5EEF for ; Thu, 18 May 2006 23:56:29 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cmzE7xgkVXTv for ; Thu, 18 May 2006 23:56:29 +0200 (CEST) Received: from [192.168.1.100] (unknown [82.220.17.23]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id F07AC5EEE for ; Thu, 18 May 2006 23:56:28 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-net@FreeBSD.ORG From: Thomas Vogt Date: Thu, 18 May 2006 23:52:40 +0200 X-Mailer: Apple Mail (2.750) Cc: Subject: (no subject) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 21:54:38 -0000 Hello Does FreeBSD offers anything similar like trunk(4) on OpenBSD (link aggregation and link failover interface)? Cheers, Thomas From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:06:13 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8F1016A422 for ; Thu, 18 May 2006 22:06:13 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79FB543D4C for ; Thu, 18 May 2006 22:06:12 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id C0571119CF6; Fri, 19 May 2006 00:05:25 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id qFqYmqEiQI75; Fri, 19 May 2006 00:05:25 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id 6AF46119CAD; Fri, 19 May 2006 00:05:25 +0200 (CEST) Message-ID: <002a01c67ac7$45354f40$0201a8c0@oxy> From: "OxY" To: Date: Fri, 19 May 2006 00:06:10 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "Jin Guojun \[VFFS\]" Subject: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:06:15 -0000 hi! i have a problem with mbuf... when all my free memory is gone ( i have 2gb ram) and memory allocation looks like this: Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K = Free Swap: 695M Total, 695M Free mbuf starts to deny... netstat -m show 0 deny till has memory, after that i see this: Field root# netstat -m 629/466/1095 mbufs in use (current/cache/total) 512/176/688/65536 mbuf clusters in use (current/cache/total/max) 512/133 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 1181K/468K/1649K bytes allocated to network (current/cache/total) 7410219/101093/101499 requests for mbufs denied = (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 25288 requests for I/O initiated by sendfile 65 calls to protocol drain routines this is my sysctl.conf: net.inet.tcp.delayed_ack=3D0 net.inet.ip.intr_queue_maxlen=3D400 net.inet.tcp.inflight.enable=3D0 net.route.netisr_maxqlen=3D512 kern.ipc.somaxconn=3D1024 should i attach any other conf/log,etc? thanks! From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:11:09 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C561216A428 for ; Thu, 18 May 2006 22:11:09 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3591843D66 for ; Thu, 18 May 2006 22:11:04 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from gw.yazzy.net ([81.175.12.222] helo=lapdance.yazzy.net) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FgqhW-0004kA-70; Fri, 19 May 2006 00:10:34 +0200 Date: Thu, 18 May 2006 22:09:45 +0000 From: Marcin Jessa To: Thomas Vogt Message-Id: <20060518220945.f81a743a.lists@yazzy.org> In-Reply-To: References: Organization: YazzY.org X-Mailer: Sylpheed version 2.2.3 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: freebsd-net@FreeBSD.ORG Subject: Re: (no subject) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:11:13 -0000 On Thu, 18 May 2006 23:52:40 +0200 Thomas Vogt wrote: > Hello > > Does FreeBSD offers anything similar like trunk(4) on OpenBSD (link > aggregation and link failover interface)? Is your browser broken? http://www.google.no/search?hl=no&ie=ISO-8859-1&q=freebsd+interface+bonding&btnG=S%F8k&meta= From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:41:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24E0F16A411 for ; Thu, 18 May 2006 22:41:06 +0000 (UTC) (envelope-from mjeung@cisdata.net) Received: from dagobah.cisdata.net (dagobah.cisdata.net [63.82.223.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACFDA43D46 for ; Thu, 18 May 2006 22:41:05 +0000 (GMT) (envelope-from mjeung@cisdata.net) Received: from adsl-69-237-115-101.dsl.scrm01.pacbell.net ([69.237.115.101] helo=[192.168.45.103]) by dagobah.cisdata.net with esmtp (Exim 4.52 (FreeBSD)) id 1FgrEp-000Bge-9e for freebsd-net@freebsd.org; Thu, 18 May 2006 15:45:00 -0700 Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-net@freebsd.org From: Michael Jeung Date: Thu, 18 May 2006 15:42:24 -0700 X-Mailer: Apple Mail (2.750) Subject: Load Balancing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:41:06 -0000 Hey folks, We currently use DNS round-robin to balance traffic to servers. We've recently run into situations where multiple search engine spiders are crawling our webservers. They appear to be targeting specific webservers by IP address. This defeats DNS round-robin and as a result 1 of our webservers starts responding very slowly since it's full of search engine spiders. I recently looked at the port solution "'balance" and it seems like a great answer for our problems. The difficulty I'm running into now is that if I put all the webservers behind a single balance server, now the webservers are only receiving traffic from the balance server and this messes up our traffic reporting tools since it now looks like all the traffic is coming from a single IP address. I'm sure this is a common problem. Does anyone have a good solution to this? Essentially, I want all the benefits of load-balancing with none of the single-IP-traffic drawbacks. =) Regards, Michael Jeung From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:42:24 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB44016A404 for ; Thu, 18 May 2006 22:42:24 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6429243D46 for ; Thu, 18 May 2006 22:42:24 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id f28so697332pyf for ; Thu, 18 May 2006 15:42:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=agWeBOUuRNLiKZQya1uqjWEBkSPMbG1we0wA9svy3ygSYOV3FHDGvOPHv4Q/V+r76jqpjtMi7xtRqh8eVNx40QaZptdfEF/BclrdwCBCfv0YxrkOPEwmIAk4vcGxdYbv5W3alitjFn4JcriWchFFlqzkVuwGjh2qXIBejiOP9hE= Received: by 10.35.36.13 with SMTP id o13mr1108982pyj; Thu, 18 May 2006 15:42:23 -0700 (PDT) Received: by 10.35.29.15 with HTTP; Thu, 18 May 2006 15:42:23 -0700 (PDT) Message-ID: <2a41acea0605181542q2459ebdr5d5815b242ad8fed@mail.gmail.com> Date: Thu, 18 May 2006 15:42:23 -0700 From: "Jack Vogel" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Problem with iterative load/unload of em X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:42:24 -0000 Our internal test group has run into a problem, I have witnessed it, but not had time to pursue it. I was wondering if this has been previously observed, and if anyone has any thoughts. What they do is run a script that runs 100 passes at loading, bringing up and configuring the driver, then bringing down and unloading. It does this as fast as the script will run. At some random point in the loop it will cause a crash, I do not have a stack trace in front of me now to include. I am pretty sure the stack varies from instance to instance. This has been observed on both Intel versions of the em driver and community based versions, and both on 5.4, 6.0, and 6.1. If sleeps are inserted into the script the problem will not happen, so its timing sensitive. Its sort of an artificial test, but this apparently didnt happen on 4.11, also reported to not happen with a Broadcom. I've looked at the detach path and so far nothing real obvious jumps out at me. I am too busy to look at this right now, but any ideas or suggestions are welcome. Jack From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:52:12 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9AAE16A40B for ; Thu, 18 May 2006 22:52:12 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.17.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4575543D64 for ; Thu, 18 May 2006 22:52:09 +0000 (GMT) (envelope-from freebsdlists@bsdunix.ch) Received: from localhost (localhost.bsdunix.ch [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id EE76B6344; Fri, 19 May 2006 00:54:02 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V8lqq13jDl7s; Fri, 19 May 2006 00:54:02 +0200 (CEST) Received: from [192.168.1.100] (unknown [82.220.17.23]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id 70064631C; Fri, 19 May 2006 00:54:02 +0200 (CEST) In-Reply-To: <20060518220945.f81a743a.lists@yazzy.org> References: <20060518220945.f81a743a.lists@yazzy.org> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Thomas Vogt Date: Fri, 19 May 2006 00:50:12 +0200 To: Marcin Jessa X-Mailer: Apple Mail (2.750) Cc: freebsd-net@FreeBSD.ORG Subject: Re: trunk interface (was (no subject)) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:52:12 -0000 Hi Thanks. I know about the netgraph ether/fec interfaces. But I thought about a solution without netgraph. AFAIK Netgraph implies overhead and ng_ehter is more complicated to set up. This is a problem with non technical people. I'm happy they already know a bit about ifconfig commands. I will try it anyway. Regards, Thomas Am 19.05.2006 um 00:09 schrieb Marcin Jessa: > On Thu, 18 May 2006 23:52:40 +0200 > Thomas Vogt wrote: > >> Hello >> >> Does FreeBSD offers anything similar like trunk(4) on OpenBSD (link >> aggregation and link failover interface)? > > Is your browser broken? > http://www.google.no/search?hl=no&ie=ISO-8859-1&q=freebsd+interface > +bonding&btnG=S%F8k&meta= From owner-freebsd-net@FreeBSD.ORG Thu May 18 22:56:11 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0D4816A44F for ; Thu, 18 May 2006 22:56:11 +0000 (UTC) (envelope-from lists@yazzy.org) Received: from mx1.yazzy.org (mx1.yazzy.org [84.247.145.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DBD043D46 for ; Thu, 18 May 2006 22:56:11 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from gw.yazzy.net ([81.175.12.222] helo=lapdance.yazzy.net) by mx1.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1FgrPD-0004mE-74; Fri, 19 May 2006 00:55:43 +0200 Date: Thu, 18 May 2006 22:54:55 +0000 From: Marcin Jessa To: Michael Jeung Message-Id: <20060518225455.5d58e4de.lists@yazzy.org> In-Reply-To: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> References: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> Organization: YazzY.org X-Mailer: Sylpheed version 2.2.3 (GTK+ 2.8.16; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) Cc: freebsd-net@freebsd.org Subject: Re: Load Balancing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 May 2006 22:56:11 -0000 On Thu, 18 May 2006 15:42:24 -0700 Michael Jeung wrote: > Hey folks, > > We currently use DNS round-robin to balance traffic to servers. > We've recently run into situations where multiple search engine > spiders are crawling our webservers. They appear to be targeting > specific webservers by IP address. This defeats DNS round-robin and > as a result 1 of our webservers starts responding very slowly since > it's full of search engine spiders. > > I recently looked at the port solution "'balance" and it seems like a > great answer for our problems. The difficulty I'm running into now > is that if I put all the webservers behind a single balance server, > now the webservers are only receiving traffic from the balance server > and this messes up our traffic reporting tools since it now looks > like all the traffic is coming from a single IP address. > > I'm sure this is a common problem. Does anyone have a good solution > to this? Essentially, I want all the benefits of load-balancing with > none of the single-IP-traffic drawbacks. =) Take a look at pf. http://www.openbsd.org/faq/pf/pools.html From owner-freebsd-net@FreeBSD.ORG Fri May 19 00:37:15 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C79716A444 for ; Fri, 19 May 2006 00:37:15 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E02F043D5D for ; Fri, 19 May 2006 00:37:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 643935DB5; Thu, 18 May 2006 20:37:04 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jZsGygv+jnIk; Thu, 18 May 2006 20:37:03 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-242-211.ny325.east.verizon.net [68.160.242.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id A34565D0B; Thu, 18 May 2006 20:37:02 -0400 (EDT) Message-ID: <446D132C.7010905@mac.com> Date: Thu, 18 May 2006 20:37:00 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Michael Jeung References: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> In-Reply-To: <3D7C7275-432A-448D-82D6-AB551A1CE256@cisdata.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Load Balancing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 00:37:15 -0000 Michael Jeung wrote: > We currently use DNS round-robin to balance traffic to servers. We've > recently run into situations where multiple search engine spiders are > crawling our webservers. They appear to be targeting specific > webservers by IP address. This defeats DNS round-robin and as a > result 1 of our webservers starts responding very slowly since it's > full of search engine spiders. Set up a /robots.txt file in your webserver root which contains appropriate Disallow or Crawl-delay entries to reduce the rate at which spiders make requests, or eliminate such traffic entirely. For example: http://www.pkix.net/robots.txt -- -Chuck From owner-freebsd-net@FreeBSD.ORG Fri May 19 01:05:44 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B54A16A422 for ; Fri, 19 May 2006 01:05:44 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADF7E43D4C for ; Fri, 19 May 2006 01:05:43 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.205]) ([10.251.23.205]) by a50.ironport.com with ESMTP; 18 May 2006 18:05:43 -0700 Message-ID: <446D19E7.2010804@elischer.org> Date: Thu, 18 May 2006 18:05:43 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Vogt References: <20060518220945.f81a743a.lists@yazzy.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Marcin Jessa Subject: Re: trunk interface (was (no subject)) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 01:05:45 -0000 Thomas Vogt wrote: > Hi > > Thanks. I know about the netgraph ether/fec interfaces. But I thought > about a solution without netgraph. AFAIK Netgraph implies overhead > and ng_ehter is more complicated to set up. This is a problem with > non technical people. I'm happy they already know a bit about > ifconfig commands. two items. 1/ ng_fec only uses the config framework of netgraph. For data it goes direct to the interfaces. 2/ netgraph is not that high an overhead. (what made you think it was?) > > I will try it anyway. > > Regards, > Thomas > > Am 19.05.2006 um 00:09 schrieb Marcin Jessa: > >> On Thu, 18 May 2006 23:52:40 +0200 >> Thomas Vogt wrote: >> >>> Hello >>> >>> Does FreeBSD offers anything similar like trunk(4) on OpenBSD (link >>> aggregation and link failover interface)? >> >> >> Is your browser broken? >> http://www.google.no/search?hl=no&ie=ISO-8859-1&q=freebsd+interface >> +bonding&btnG=S%F8k&meta= > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Fri May 19 07:54:01 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14B5416A42F for ; Fri, 19 May 2006 07:54:01 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.17.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88F5643D46 for ; Fri, 19 May 2006 07:54:00 +0000 (GMT) (envelope-from freebsdlists@bsdunix.ch) Received: from localhost (localhost.bsdunix.ch [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id 470AD61D9; Fri, 19 May 2006 09:55:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by localhost (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CAtsCPQFSwUi; Fri, 19 May 2006 09:55:53 +0200 (CEST) Received: from bert.mlan.solnet.ch (bert.mlan.solnet.ch [212.101.1.83]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTP id 89BC761D3; Fri, 19 May 2006 09:55:53 +0200 (CEST) From: Thomas To: Julian Elischer In-Reply-To: <446D19E7.2010804@elischer.org> References: <20060518220945.f81a743a.lists@yazzy.org> <446D19E7.2010804@elischer.org> Content-Type: text/plain Date: Fri, 19 May 2006 09:53:57 +0200 Message-Id: <1148025237.38606.6.camel@bert.mlan.solnet.ch> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 SolNet.ch ISP Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Marcin Jessa Subject: Re: trunk interface (was (no subject)) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 07:54:01 -0000 Am Donnerstag, den 18.05.2006, 18:05 -0700 schrieb Julian Elischer: > Thomas Vogt wrote: > > > Hi > > > > Thanks. I know about the netgraph ether/fec interfaces. But I thought > > about a solution without netgraph. AFAIK Netgraph implies overhead > > and ng_ehter is more complicated to set up. This is a problem with > > non technical people. I'm happy they already know a bit about > > ifconfig commands. > > > two items. > 1/ ng_fec only uses the config framework of netgraph. For data it goes > direct to the interfaces. Ah good to know. Since this is for a network course it would be easier if this "trunk" could be setup via ifconfig command. But I will try it. > 2/ netgraph is not that high an overhead. (what made you think it was?) Well I heard that netgraph has some overhead on various conferences. I'm planning to use such a feature on very very high loaded GigE router, every extra kernel hook could cost some performance, IMHO. Thanks and cheers, Thomas From owner-freebsd-net@FreeBSD.ORG Fri May 19 12:20:24 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD7C616A42A for ; Fri, 19 May 2006 12:20:24 +0000 (UTC) (envelope-from b.candler@pobox.com) Received: from rune.pobox.com (rune.pobox.com [208.210.124.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305EB43D62 for ; Fri, 19 May 2006 12:20:18 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from rune (localhost [127.0.0.1]) by rune.pobox.com (Postfix) with ESMTP id 55E891868A; Fri, 19 May 2006 08:20:39 -0400 (EDT) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rune.sasl.smtp.pobox.com (Postfix) with ESMTP id 14068F964; Fri, 19 May 2006 08:20:37 -0400 (EDT) Received: from lists by mappit.local.linnet.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fh3xm-0003VG-JH; Fri, 19 May 2006 13:20:14 +0100 Date: Fri, 19 May 2006 13:20:14 +0100 From: Brian Candler To: Alexandre Biancalana Message-ID: <20060519122014.GA13432@uk.tiscali.com> References: <200605181615.k4IGFr1h020752@lurza.secnetix.de> <446CB453.4000707@seudns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <446CB453.4000707@seudns.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@FreeBSD.ORG Subject: Re: Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 12:20:24 -0000 On Thu, May 18, 2006 at 02:52:19PM -0300, Alexandre Biancalana wrote: > > > # route add 128.110.0.0 255.255.0.0 10.0.0.17 > > > add net 128.110.0.0: gateway 255.255.0.0 ... > > > Running netstat -nr I get the following: > > > > > > 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => ... > Have some way to remove this stupid route without flushing the routing > table ??? > This machine is main gateway of the company and I can't do a route flush > now, but I need to have this new route working... Try: # route delete -net 0.0.0.0 -netmask 10.0.0.17 (i.e. network 0, netmask &a000011, like the netstat entry shows). I've tried it here, it successfully removes your junk route under 6.0 Regards, Brian. From owner-freebsd-net@FreeBSD.ORG Fri May 19 13:32:58 2006 Return-Path: X-Original-To: freebsd-net@FreeBSD.ORG Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF15416A45C for ; Fri, 19 May 2006 13:32:58 +0000 (UTC) (envelope-from ale@seudns.net) Received: from connectmed.com.br (s200-189-171-55.ipb.diveo.net.br [200.189.171.55]) by mx1.FreeBSD.org (Postfix) with SMTP id E67E643D4C for ; Fri, 19 May 2006 13:32:56 +0000 (GMT) (envelope-from ale@seudns.net) Received: (qmail 29874 invoked from network); 19 May 2006 13:32:09 -0000 Received: from unknown (HELO ?192.168.3.109?) (192.168.3.109) by donald.connectmed.com.br with SMTP; 19 May 2006 13:32:09 -0000 Message-ID: <446DC906.3080309@seudns.net> Date: Fri, 19 May 2006 10:32:54 -0300 From: Alexandre Biancalana User-Agent: Thunderbird 1.5 (X11/20060213) MIME-Version: 1.0 To: Brian Candler References: <200605181615.k4IGFr1h020752@lurza.secnetix.de> <446CB453.4000707@seudns.net> <20060519122014.GA13432@uk.tiscali.com> In-Reply-To: <20060519122014.GA13432@uk.tiscali.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.ORG Subject: [SOLVED] Can't delete route X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 13:32:59 -0000 Brian Candler wrote: > On Thu, May 18, 2006 at 02:52:19PM -0300, Alexandre Biancalana wrote: > >>>> # route add 128.110.0.0 255.255.0.0 10.0.0.17 >>>> add net 128.110.0.0: gateway 255.255.0.0 >>>> > ... > >>>> Running netstat -nr I get the following: >>>> >>>> 0&0xa000011 255.255.0.0 UGSc 15 332 fxp0 => >>>> > ... > >> Have some way to remove this stupid route without flushing the routing >> table ??? >> This machine is main gateway of the company and I can't do a route flush >> now, but I need to have this new route working... >> > > Try: > > # route delete -net 0.0.0.0 -netmask 10.0.0.17 > > (i.e. network 0, netmask &a000011, like the netstat entry shows). I've tried > it here, it successfully removes your junk route under 6.0 > Great Brian !! It works on 4.10 too !! Thank you !! Alexandre Biancalana From owner-freebsd-net@FreeBSD.ORG Fri May 19 15:06:37 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0EFA16A4D8 for ; Fri, 19 May 2006 15:06:37 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96DA543D6A for ; Fri, 19 May 2006 15:06:34 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4JF6XoU065327 for ; Fri, 19 May 2006 11:06:33 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4JF6Xds094020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 May 2006 11:06:33 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060519110026.05820230@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 19 May 2006 11:06:48 -0400 To: freebsd-net@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Subject: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 15:06:40 -0000 I am looking for a way to improve the reliability of a lossy link (dialup from remote sites). I am going to try multilink PPP but was wondering if something like ng_one2many might work as well ? Does anyone have any suggestions for avenues to explore ? For multilink ppp, does mpd offer any better performance / reliability over the stock ppp ? The application is low bandwidth, but doesnt deal that well with packet loss and the phone lines in these remote locations tend to be noisy and drop connections frequently. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike From owner-freebsd-net@FreeBSD.ORG Fri May 19 16:06:41 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF0616A449 for ; Fri, 19 May 2006 16:06:41 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0E0043D64 for ; Fri, 19 May 2006 16:06:34 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id CAA17202; Sat, 20 May 2006 02:06:22 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 20 May 2006 02:06:21 +1000 (EST) From: Ian Smith To: Mike Tancsa In-Reply-To: <6.2.3.4.0.20060519110026.05820230@64.7.153.2> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 16:06:41 -0000 On Fri, 19 May 2006 at 11:06:48 -0400, Mike Tancsa wrote: > I am looking for a way to improve the reliability of a lossy link > (dialup from remote sites). I am going to try multilink PPP but was > wondering if something like ng_one2many might work as well ? Does > anyone have any suggestions for avenues to explore ? For multilink > ppp, does mpd offer any better performance / reliability over the stock ppp ? No idea whether these options may help, but .. > The application is low bandwidth, but doesnt deal that well with > packet loss and the phone lines in these remote locations tend to be > noisy and drop connections frequently. If by 'drop connections' you mean physical loss of line / carrier, then tuning the modem/s to be (preferably much) less aggressive about forcing the modem connection rate high - ie being easily satisfied to drop back to lower rates during hard times - has helped a lot with a dozen or so remote spots hereaboots. Finding the knobs for some modems can be hard. Assuming that V.42 error correction is working properly - forced if need be - there shouldn't =be= any data loss, however slow getting through, this side of protocol timeouts of course. I can't guess your mystery application, but often slower connections are better than dropped ones, or even ones that spend half their time trying to retrain at high rates. cheers, Ian From owner-freebsd-net@FreeBSD.ORG Fri May 19 16:38:19 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB27016A421 for ; Fri, 19 May 2006 16:38:19 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4032343D53 for ; Fri, 19 May 2006 16:38:18 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4JGcHnY076441; Fri, 19 May 2006 12:38:17 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4JGcGqI094659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 May 2006 12:38:16 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060519121104.1126b480@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 19 May 2006 12:38:31 -0400 To: Ian Smith From: Mike Tancsa In-Reply-To: References: <6.2.3.4.0.20060519110026.05820230@64.7.153.2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: freebsd-net@freebsd.org Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 16:38:19 -0000 At 12:06 PM 19/05/2006, Ian Smith wrote: >Assuming that V.42 error correction is working properly - forced if need >be - there shouldn't =be= any data loss, however slow getting through, >this side of protocol timeouts of course. I can't guess your mystery >application, but often slower connections are better than dropped ones, >or even ones that spend half their time trying to retrain at high rates. Hi, Thanks for the reply. Even at 28.8 I am seeing loss with the connection dropping and seeing dropped packets (e.g. May 19 12:04:43 soekris4801 ppp[3404]: tun0: Phase: 1: HDLC errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0) Error correction is on and negotiated, from the terminal server's perspective at least and I imagine the modem too Testing here at the office Card Type: LU1674 Chipset State: ACTIVE Active Port: S26 Transmit Rate: 28800 Receive Rate: 26400 Connection Type: LAPM/V42BIS Chars Sent: 215666023 Chars Received: 58090941 Retrains: 0 Renegotiations: 4 The application is TCP based and monitors remote machinery. (And no, there is no chance at this point to re-write the application). The transport is over a VPN (either IPSEC or OpenVPN) which ever deals better with the lossy connection. However, many of the sites have dynamic IP addresses which makes it a pain to use with IPSEC and FreeBSD. One think I observed with multi-link so far is that if I kill one of the connections, the modem does not tell ppp that it has lost carrier right away. Instead, I have to wait for the LCP echo timeout. In the mean time, I get 50% packet loss for about 20 seconds. However I can reduce that by setting the lqrperiod to a lower value. However, I dont want that too low, otherwise it spends all its time chewing up the link with LCP traffic. I was going to look at the one2many ng module to see if I can send out the same packets on both links at the same time as a sort of "as long as one packet gets there strategy" Although the customer doesnt use wireless right now, we might have some sites that would need it in the fture and this might be an approach. I imagine satellite users run into this as well no ? ---Mike From owner-freebsd-net@FreeBSD.ORG Fri May 19 19:11:37 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09BEE16A46B for ; Fri, 19 May 2006 19:11:37 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7B4B43D4C for ; Fri, 19 May 2006 19:11:36 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.205]) ([10.251.23.205]) by a50.ironport.com with ESMTP; 19 May 2006 12:11:36 -0700 Message-ID: <446E1868.8020704@elischer.org> Date: Fri, 19 May 2006 12:11:36 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ian Smith References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Mike Tancsa Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 19:11:38 -0000 Ian Smith wrote: >On Fri, 19 May 2006 at 11:06:48 -0400, Mike Tancsa wrote: > > > I am looking for a way to improve the reliability of a lossy link > > (dialup from remote sites). I am going to try multilink PPP but was > > wondering if something like ng_one2many might work as well ? Does > > anyone have any suggestions for avenues to explore ? For multilink > > ppp, does mpd offer any better performance / reliability over the stock ppp ? > >No idea whether these options may help, but .. > > mpd does well, bit keep the mtu on the interface relatively small if you have a lot of line noise. I have not tried ppp with multilink. > > > The application is low bandwidth, but doesnt deal that well with > > packet loss and the phone lines in these remote locations tend to be > > noisy and drop connections frequently. > >If by 'drop connections' you mean physical loss of line / carrier, then >tuning the modem/s to be (preferably much) less aggressive about forcing >the modem connection rate high - ie being easily satisfied to drop back >to lower rates during hard times - has helped a lot with a dozen or so >remote spots hereaboots. Finding the knobs for some modems can be hard. > >Assuming that V.42 error correction is working properly - forced if need >be - there shouldn't =be= any data loss, however slow getting through, >this side of protocol timeouts of course. I can't guess your mystery >application, but often slower connections are better than dropped ones, >or even ones that spend half their time trying to retrain at high rates. > >cheers, Ian > >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Fri May 19 19:32:23 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87DE816A422 for ; Fri, 19 May 2006 19:32:23 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 938F743D45 for ; Fri, 19 May 2006 19:32:22 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 643B45F7A; Fri, 19 May 2006 15:32:21 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zrtG4yUfU0bw; Fri, 19 May 2006 15:32:20 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-242-211.ny325.east.verizon.net [68.160.242.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 355C55DAC; Fri, 19 May 2006 15:32:20 -0400 (EDT) Message-ID: <446E1D41.9070301@mac.com> Date: Fri, 19 May 2006 15:32:17 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <446E1868.8020704@elischer.org> In-Reply-To: <446E1868.8020704@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mike Tancsa Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 19:32:24 -0000 Julian Elischer wrote: > Ian Smith wrote: >> On Fri, 19 May 2006 at 11:06:48 -0400, Mike Tancsa wrote: >> >> I am looking for a way to improve the reliability of a lossy link >> (dialup from remote sites). I am going to try multilink PPP but was >> wondering if something like ng_one2many might work as well ? Does >> anyone have any suggestions for avenues to explore ? For multilink >> ppp, does mpd offer any better performance / reliability over the >> stock ppp ? >> >> No idea whether these options may help, but .. > mpd does well, bit keep the mtu on the interface relatively small if > you have a lot of line noise. > I have not tried ppp with multilink. Agreed. If you can live with doing so, using an MTU of around 512 worked pretty well back in the days that I was using a 19200 baud DOV (data over voice modem) that tended to experience line noise & hence packet drops when you got an incoming voice call; if you've got a high-noise environment, well, that would be similar. Of course, you should make sure that obvious fixes like replacing phone cabling or re-punching down the phone lines at your demarc (assuming you have 66 or 110 blocks) doesn't help. -- -Chuck From owner-freebsd-net@FreeBSD.ORG Fri May 19 19:37:40 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CE9416A429 for ; Fri, 19 May 2006 19:37:40 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC9143D48 for ; Fri, 19 May 2006 19:37:39 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k4JJbdKN018538; Fri, 19 May 2006 15:37:39 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4JJbbco095771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 May 2006 15:37:37 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060519153601.117978c0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Fri, 19 May 2006 15:37:51 -0400 To: Chuck Swiger , freebsd-net@freebsd.org From: Mike Tancsa In-Reply-To: <446E1D41.9070301@mac.com> References: <446E1868.8020704@elischer.org> <446E1D41.9070301@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 19:37:40 -0000 At 03:32 PM 19/05/2006, Chuck Swiger wrote: >Agreed. If you can live with doing so, using an MTU of around 512 >worked pretty well back in the days that I was using a 19200 baud >DOV (data over voice modem) that tended to experience line noise & >hence packet drops when you got an incoming voice call; if you've >got a high-noise environment, well, that would be similar. > >Of course, you should make sure that obvious fixes like replacing >phone cabling or re-punching down the phone lines at your demarc >(assuming you have 66 or 110 blocks) doesn't help. Thanks, unfortunately, these are very remote sites in industrial and rural areas where xconnect boxes tend to be rusty posts. I will try a lower MTU size to see how it deals with errors. ---Mike From owner-freebsd-net@FreeBSD.ORG Fri May 19 20:11:16 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F1C16A41F for ; Fri, 19 May 2006 20:11:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF29D43D48 for ; Fri, 19 May 2006 20:11:14 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id GAA25332; Sat, 20 May 2006 06:11:04 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 20 May 2006 06:11:03 +1000 (EST) From: Ian Smith To: Mike Tancsa In-Reply-To: <6.2.3.4.0.20060519121104.1126b480@64.7.153.2> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: improving transport over lossy links ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 20:11:16 -0000 On Fri, 19 May 2006 at 12:38:31 -0400, Mike Tancsa wrote: > At 12:06 PM 19/05/2006, Ian Smith wrote: > > >Assuming that V.42 error correction is working properly - forced if need > >be - there shouldn't =be= any data loss, however slow getting through, > >this side of protocol timeouts of course. I can't guess your mystery > >application, but often slower connections are better than dropped ones, > >or even ones that spend half their time trying to retrain at high rates. > > Hi, > Thanks for the reply. Even at 28.8 I am seeing loss with > the connection dropping and seeing dropped packets (e.g. > May 19 12:04:43 soekris4801 ppp[3404]: tun0: Phase: 1: HDLC errors -> > FCS: 1, ADDR: 0, COMD: 0, PROTO: 0) A lot of those, Mike, or just 1 FCS error per connection? I'm using a modem right now that often reports just 1 FCS upon linkup, then works fine for the day. Ah, 'often' includes this call I'm on now since: May 19 22:31:33 paqi ppp[2559]: tun0: Phase: deflink: HDLC errors -> FCS: 1, ADDR: 0, COMD: 0, PROTO: 0 .. so on its own that mightn't indicate much but maybe a chipset HDLC bug, but bunches of these are most often seen (inbound) where a caller negotiates a non-EC connection at 14400 or more; they rarely last long. Even then, FCS errors indicate link-level packet retries, not drops. Line loss is more likely physical, poor signal to noise over too long a time for desired line quality, which factors may well be tunable, at either end. I suppose the calling modems are a variety of types, and you've really only any control over the inbound modem config? > Error correction is on and negotiated, from the terminal server's > perspective at least and I imagine the modem too A lot depends on the calling modems of course .. some do, some don't. > Testing here at the office > > Card Type: LU1674 Chipset > State: ACTIVE > Active Port: S26 > Transmit Rate: 28800 > Receive Rate: 26400 > Connection Type: LAPM/V42BIS > Chars Sent: 215666023 > Chars Received: 58090941 > Retrains: 0 > Renegotiations: 4 Depends how long a call that represents I guess; it wouldn't look too shabby here, but we average less than 1GB/mth with ~3-5 redials/mth. Retrains 0, Rate renegs 4 over 215Mb doesn't look problematic. > The application is TCP based and monitors remote machinery. (And no, > there is no chance at this point to re-write the application). The > transport is over a VPN (either IPSEC or OpenVPN) which ever deals > better with the lossy connection. However, many of the sites have > dynamic IP addresses which makes it a pain to use with IPSEC and FreeBSD. Well if you redial a lost connection (-ddial etc) and regain the same IP address, TCP should chug on fine, ie remain lossless, while delayed. If not, open (link) TCP connections are shot, if that's the lossy you mean? > One think I observed with multi-link so far is that if I kill one of > the connections, the modem does not tell ppp that it has lost carrier > right away. Instead, I have to wait for the LCP echo timeout. In the > mean time, I get 50% packet loss for about 20 seconds. However I can > reduce that by setting the lqrperiod to a lower value. However, I > dont want that too low, otherwise it spends all its time chewing up > the link with LCP traffic. Mmm, 50% loss sounds about right for half the link :) Sorry, I've only a vague idea how multilink PPP works, getting way out of my depth here. 20 seconds sounds about right for successful redial / negotiation, but why isn't modem !DCD telling ppp right away? Is that a config issue? > I was going to look at the one2many ng module to see if I can send > out the same packets on both links at the same time as a sort of "as > long as one packet gets there strategy" Although the customer doesnt > use wireless right now, we might have some sites that would need it > in the fture and this might be an approach. I imagine satellite users > run into this as well no ? ng_one2many looks great, but there's still its Link Failure Detection to satisfy, which still has to come back to noticing modem !carrier, no? (Satellite users run into everything at some stage; weather, sunspots .. we replaced one with ADSL last year. ssh over sat was pretty tedious, even with 128k ISDN back. Outside wifi can get soggy in the wet, too!) cheers, Ian From owner-freebsd-net@FreeBSD.ORG Fri May 19 20:27:53 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2B0E16A420 for ; Fri, 19 May 2006 20:27:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id B145443D45 for ; Fri, 19 May 2006 20:27:53 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.23.205]) ([10.251.23.205]) by a50.ironport.com with ESMTP; 19 May 2006 13:27:53 -0700 Message-ID: <446E2A49.1070606@elischer.org> Date: Fri, 19 May 2006 13:27:53 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas References: <20060518220945.f81a743a.lists@yazzy.org> <446D19E7.2010804@elischer.org> <1148025237.38606.6.camel@bert.mlan.solnet.ch> In-Reply-To: <1148025237.38606.6.camel@bert.mlan.solnet.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Marcin Jessa Subject: Re: trunk interface (was (no subject)) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 20:27:54 -0000 Thomas wrote: >Am Donnerstag, den 18.05.2006, 18:05 -0700 schrieb Julian Elischer: > > >>Thomas Vogt wrote: >> >> >> >>>Hi >>> >>>Thanks. I know about the netgraph ether/fec interfaces. But I thought >>>about a solution without netgraph. AFAIK Netgraph implies overhead >>>and ng_ehter is more complicated to set up. This is a problem with >>>non technical people. I'm happy they already know a bit about >>>ifconfig commands. >>> >>> >>two items. >>1/ ng_fec only uses the config framework of netgraph. For data it goes >>direct to the interfaces. >> >> > >Ah good to know. Since this is for a network course it would be easier >if this "trunk" could be setup via ifconfig command. But I will try it. > > > >>2/ netgraph is not that high an overhead. (what made you think it was?) >> >> > >Well I heard that netgraph has some overhead on various conferences. I'm >planning to use such a feature on very very high loaded GigE router, >every extra kernel hook could cost some performance, IMHO. > > it is possible that the extra overhead in netgraph may influence such a high throughput system, but one would have to test to know how much.. its overhead is nto as high as one might think, despite the fact that it was not designed to handle such high throughputs, it does a reasonable job. it is possible that the use of netisr() in some places slows it down however.. >Thanks and cheers, >Thomas > > From owner-freebsd-net@FreeBSD.ORG Sat May 20 11:47:43 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C31916A424 for ; Sat, 20 May 2006 11:47:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C23D743D5C for ; Sat, 20 May 2006 11:47:42 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 600BE46D51; Sat, 20 May 2006 07:47:42 -0400 (EDT) Date: Sat, 20 May 2006 12:47:42 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: OxY In-Reply-To: <002a01c67ac7$45354f40$0201a8c0@oxy> Message-ID: <20060520124702.B8068@fledge.watson.org> References: <002a01c67ac7$45354f40$0201a8c0@oxy> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, "Jin Guojun \[VFFS\]" Subject: Re: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 11:47:43 -0000 On Fri, 19 May 2006, OxY wrote: > i have a problem with mbuf... when all my free memory is gone ( i have 2gb > ram) and memory allocation looks like this: I recently received an informal problem report that there is a problem with the "denied" statistics gathering, so I think it's likely that's what is going on here. I'll follow up with the submitter and see if we can't figure out something more definite. Robert N M Watson > > Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free > Swap: 695M Total, 695M Free > > mbuf starts to deny... > netstat -m show 0 deny till has memory, after that i see this: > > Field root# netstat -m > 629/466/1095 mbufs in use (current/cache/total) > 512/176/688/65536 mbuf clusters in use (current/cache/total/max) > 512/133 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) > 1181K/468K/1649K bytes allocated to network (current/cache/total) > 7410219/101093/101499 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 25288 requests for I/O initiated by sendfile > 65 calls to protocol drain routines > > this is my sysctl.conf: > net.inet.tcp.delayed_ack=0 > net.inet.ip.intr_queue_maxlen=400 > net.inet.tcp.inflight.enable=0 > net.route.netisr_maxqlen=512 > kern.ipc.somaxconn=1024 > > should i attach any other conf/log,etc? > thanks! > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Sat May 20 11:55:06 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DADFB16A422 for ; Sat, 20 May 2006 11:55:05 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from altrade.nijmegen.internl.net (altrade.nijmegen.internl.net [217.149.192.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4442C43D46 for ; Sat, 20 May 2006 11:55:04 +0000 (GMT) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org by altrade.nijmegen.internl.net via 113-9.bbned.dsl.internl.net [82.215.9.113] with ESMTP id k4KBstoT015790 (8.13.2/2.04); Sat, 20 May 2006 13:54:55 +0200 (MET DST) Received: from localhost (localhost.homebrew.bsd4all.org [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id DD1D15CF7; Sat, 20 May 2006 13:54:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by localhost (fwgw.homebrew.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LCQovZUnJb3V; Sat, 20 May 2006 13:54:45 +0200 (CEST) Received: from ntpc (ntpc [192.168.1.138]) by mail.bsd4all.org (Postfix) with ESMTP id 4FAEB5CB6; Sat, 20 May 2006 13:54:45 +0200 (CEST) From: "Peter Blok" To: "'OxY'" , Date: Sat, 20 May 2006 13:50:37 +0200 Message-ID: <001501c67c03$9c3457e0$8a01a8c0@ntpc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <002a01c67ac7$45354f40$0201a8c0@oxy> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZ6x3Np/uqvwjACQ7a3Z3RRbn+sPgBOfLFw Cc: "'Jin Guojun \[VFFS\]'" Subject: RE: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 11:55:06 -0000 Hi, I have posted a reply to similar questions a couple of times. Although I'm subscribed to freebsd-net I never saw the answer appear in the list. The ... denied counts is coming from calling uma_reclaim, which will in the end call uma_zfree_internal which is increasing the fail counter. I am not sure, but I believe the mbuf and cluster zones are static. So if I set the UMA_ZONE_NOFREE flag in kern_mbuf.c, no attempt will be made to do a free at all. Here's my patch. It works, but I'm not sure it is ok. --- sys/kern/kern_mbuf.c.orig Sun Apr 9 13:32:51 2006 +++ sys/kern/kern_mbuf.c Sun Apr 9 13:33:19 2006 @@ -168,7 +168,7 @@ #else NULL, NULL, #endif - MSIZE - 1, UMA_ZONE_MAXBUCKET); + MSIZE - 1, UMA_ZONE_MAXBUCKET|UMA_ZONE_NOFREE); zone_clust = uma_zcreate(MBUF_CLUSTER_MEM_NAME, MCLBYTES, mb_ctor_clust, mb_dtor_clust, @@ -177,7 +177,7 @@ #else NULL, NULL, #endif - UMA_ALIGN_PTR, UMA_ZONE_REFCNT); + UMA_ALIGN_PTR, UMA_ZONE_REFCNT|UMA_ZONE_NOFREE); if (nmbclusters > 0) uma_zone_set_max(zone_clust, nmbclusters); -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] On Behalf Of OxY Sent: Friday, May 19, 2006 12:06 AM To: freebsd-net@freebsd.org Cc: Jin Guojun [VFFS] Subject: mbuf denied problem hi! i have a problem with mbuf... when all my free memory is gone ( i have 2gb ram) and memory allocation looks like this: Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free Swap: 695M Total, 695M Free mbuf starts to deny... netstat -m show 0 deny till has memory, after that i see this: Field root# netstat -m 629/466/1095 mbufs in use (current/cache/total) 512/176/688/65536 mbuf clusters in use (current/cache/total/max) 512/133 mbuf+clusters out of packet secondary zone in use (current/cache) 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) 1181K/468K/1649K bytes allocated to network (current/cache/total) 7410219/101093/101499 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 25288 requests for I/O initiated by sendfile 65 calls to protocol drain routines this is my sysctl.conf: net.inet.tcp.delayed_ack=0 net.inet.ip.intr_queue_maxlen=400 net.inet.tcp.inflight.enable=0 net.route.netisr_maxqlen=512 kern.ipc.somaxconn=1024 should i attach any other conf/log,etc? thanks! _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sat May 20 12:12:09 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71F4116A4A9 for ; Sat, 20 May 2006 12:12:09 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id D07D043D64 for ; Sat, 20 May 2006 12:11:58 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id 396B1119CF6; Sat, 20 May 2006 14:11:09 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id wDy3vKOQx4DH; Sat, 20 May 2006 14:11:09 +0200 (CEST) Received: from oxy (dsl85-238-67-196.pool.tvnet.hu [85.238.67.196]) by green.field.hu (Postfix) with ESMTP id E4406119CAD; Sat, 20 May 2006 14:11:08 +0200 (CEST) Message-ID: <000801c67c06$973a34a0$0201a8c0@oxy> From: "OxY" To: "Peter Blok" , References: <001501c67c03$9c3457e0$8a01a8c0@ntpc> Date: Sat, 20 May 2006 14:11:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: Subject: Re: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 12:12:14 -0000 ----- Original Message ----- From: "Peter Blok" To: "'OxY'" ; Cc: "'Jin Guojun [VFFS]'" Sent: Saturday, May 20, 2006 1:50 PM Subject: RE: mbuf denied problem > Hi, > > I have posted a reply to similar questions a couple of times. Although I'm > subscribed to freebsd-net I never saw the answer appear in the list. > > The ... denied counts is coming from calling uma_reclaim, which will in > the > end call uma_zfree_internal which is increasing the fail counter. > > I am not sure, but I believe the mbuf and cluster zones are static. So if > I > set the UMA_ZONE_NOFREE flag in kern_mbuf.c, no attempt will be made to do > a > free at all. > > Here's my patch. It works, but I'm not sure it is ok. > > --- sys/kern/kern_mbuf.c.orig Sun Apr 9 13:32:51 2006 > +++ sys/kern/kern_mbuf.c Sun Apr 9 13:33:19 2006 > @@ -168,7 +168,7 @@ > #else > NULL, NULL, > #endif > - MSIZE - 1, UMA_ZONE_MAXBUCKET); > + MSIZE - 1, UMA_ZONE_MAXBUCKET|UMA_ZONE_NOFREE); > > zone_clust = uma_zcreate(MBUF_CLUSTER_MEM_NAME, MCLBYTES, > mb_ctor_clust, mb_dtor_clust, > @@ -177,7 +177,7 @@ > #else > NULL, NULL, > #endif > - UMA_ALIGN_PTR, UMA_ZONE_REFCNT); > + UMA_ALIGN_PTR, UMA_ZONE_REFCNT|UMA_ZONE_NOFREE); > > if (nmbclusters > 0) > uma_zone_set_max(zone_clust, nmbclusters); > thank you, i'll try it in a couple of days! it's sad that it's a returning question and no patch from the developers. > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] > On Behalf Of OxY > Sent: Friday, May 19, 2006 12:06 AM > To: freebsd-net@freebsd.org > Cc: Jin Guojun [VFFS] > Subject: mbuf denied problem > > hi! > > i have a problem with mbuf... > when all my free memory is gone ( i have 2gb ram) and > memory allocation looks like this: > > Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free > Swap: 695M Total, 695M Free > > mbuf starts to deny... > netstat -m show 0 deny till has memory, after that i see this: > > Field root# netstat -m > 629/466/1095 mbufs in use (current/cache/total) > 512/176/688/65536 mbuf clusters in use (current/cache/total/max) > 512/133 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) > 1181K/468K/1649K bytes allocated to network (current/cache/total) > 7410219/101093/101499 requests for mbufs denied > (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 25288 requests for I/O initiated by sendfile > 65 calls to protocol drain routines > > this is my sysctl.conf: > net.inet.tcp.delayed_ack=0 > net.inet.ip.intr_queue_maxlen=400 > net.inet.tcp.inflight.enable=0 > net.route.netisr_maxqlen=512 > kern.ipc.somaxconn=1024 > > should i attach any other conf/log,etc? > thanks! > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > From owner-freebsd-net@FreeBSD.ORG Sat May 20 12:26:39 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94EB916A424 for ; Sat, 20 May 2006 12:26:39 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from altrade.nijmegen.internl.net (altrade.nijmegen.internl.net [217.149.192.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7B3A43D46 for ; Sat, 20 May 2006 12:26:38 +0000 (GMT) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org by altrade.nijmegen.internl.net via 113-9.bbned.dsl.internl.net [82.215.9.113] with ESMTP id k4KCQZfm019532 (8.13.2/2.04); Sat, 20 May 2006 14:26:36 +0200 (MET DST) Received: from localhost (localhost.homebrew.bsd4all.org [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id 49C545CF7; Sat, 20 May 2006 14:26:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by localhost (fwgw.homebrew.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WYx6ctWWrskF; Sat, 20 May 2006 14:26:29 +0200 (CEST) Received: from ntpc (ntpc [192.168.1.138]) by mail.bsd4all.org (Postfix) with ESMTP id 446BC5CB6; Sat, 20 May 2006 14:26:29 +0200 (CEST) From: "Peter Blok" To: "'OxY'" , Date: Sat, 20 May 2006 14:22:22 +0200 Message-ID: <001a01c67c08$0b96c290$8a01a8c0@ntpc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <000801c67c06$973a34a0$0201a8c0@oxy> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZ8BtkQA8BXAOl/S96MzAIpaxzD4QAAO3ww Cc: Subject: RE: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 12:26:39 -0000 Well, I'm not sure the developer's have seen it due to the fact that I was not able to post to the list somehow. And on the other hand I could have opened up a PR as well. Peter -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] On Behalf Of OxY Sent: Saturday, May 20, 2006 2:12 PM To: Peter Blok; freebsd-net@freebsd.org Subject: Re: mbuf denied problem ----- Original Message ----- From: "Peter Blok" To: "'OxY'" ; Cc: "'Jin Guojun [VFFS]'" Sent: Saturday, May 20, 2006 1:50 PM Subject: RE: mbuf denied problem > Hi, > > I have posted a reply to similar questions a couple of times. Although I'm > subscribed to freebsd-net I never saw the answer appear in the list. > > The ... denied counts is coming from calling uma_reclaim, which will in > the > end call uma_zfree_internal which is increasing the fail counter. > > I am not sure, but I believe the mbuf and cluster zones are static. So if > I > set the UMA_ZONE_NOFREE flag in kern_mbuf.c, no attempt will be made to do > a > free at all. > > Here's my patch. It works, but I'm not sure it is ok. > > --- sys/kern/kern_mbuf.c.orig Sun Apr 9 13:32:51 2006 > +++ sys/kern/kern_mbuf.c Sun Apr 9 13:33:19 2006 > @@ -168,7 +168,7 @@ > #else > NULL, NULL, > #endif > - MSIZE - 1, UMA_ZONE_MAXBUCKET); > + MSIZE - 1, UMA_ZONE_MAXBUCKET|UMA_ZONE_NOFREE); > > zone_clust = uma_zcreate(MBUF_CLUSTER_MEM_NAME, MCLBYTES, > mb_ctor_clust, mb_dtor_clust, > @@ -177,7 +177,7 @@ > #else > NULL, NULL, > #endif > - UMA_ALIGN_PTR, UMA_ZONE_REFCNT); > + UMA_ALIGN_PTR, UMA_ZONE_REFCNT|UMA_ZONE_NOFREE); > > if (nmbclusters > 0) > uma_zone_set_max(zone_clust, nmbclusters); > thank you, i'll try it in a couple of days! it's sad that it's a returning question and no patch from the developers. > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] > On Behalf Of OxY > Sent: Friday, May 19, 2006 12:06 AM > To: freebsd-net@freebsd.org > Cc: Jin Guojun [VFFS] > Subject: mbuf denied problem > > hi! > > i have a problem with mbuf... > when all my free memory is gone ( i have 2gb ram) and > memory allocation looks like this: > > Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free > Swap: 695M Total, 695M Free > > mbuf starts to deny... > netstat -m show 0 deny till has memory, after that i see this: > > Field root# netstat -m > 629/466/1095 mbufs in use (current/cache/total) > 512/176/688/65536 mbuf clusters in use (current/cache/total/max) > 512/133 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) > 1181K/468K/1649K bytes allocated to network (current/cache/total) > 7410219/101093/101499 requests for mbufs denied > (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 25288 requests for I/O initiated by sendfile > 65 calls to protocol drain routines > > this is my sysctl.conf: > net.inet.tcp.delayed_ack=0 > net.inet.ip.intr_queue_maxlen=400 > net.inet.tcp.inflight.enable=0 > net.route.netisr_maxqlen=512 > kern.ipc.somaxconn=1024 > > should i attach any other conf/log,etc? > thanks! > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sat May 20 15:20:46 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06EAE16A41F for ; Sat, 20 May 2006 15:20:46 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A970243D48 for ; Sat, 20 May 2006 15:20:44 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 99F7746CF0; Sat, 20 May 2006 11:20:43 -0400 (EDT) Date: Sat, 20 May 2006 16:20:43 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Peter Blok In-Reply-To: <001501c67c03$9c3457e0$8a01a8c0@ntpc> Message-ID: <20060520162001.Y246@fledge.watson.org> References: <001501c67c03$9c3457e0$8a01a8c0@ntpc> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, "'Jin Guojun \[VFFS\]'" , 'OxY' Subject: RE: mbuf denied problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 May 2006 15:20:46 -0000 On Sat, 20 May 2006, Peter Blok wrote: > I have posted a reply to similar questions a couple of times. Although I'm > subscribed to freebsd-net I never saw the answer appear in the list. > > The ... denied counts is coming from calling uma_reclaim, which will in the > end call uma_zfree_internal which is increasing the fail counter. > > I am not sure, but I believe the mbuf and cluster zones are static. So if I > set the UMA_ZONE_NOFREE flag in kern_mbuf.c, no attempt will be made to do a > free at all. > > Here's my patch. It works, but I'm not sure it is ok. Allowing mbuf memory to be reclaimed for the purposes of other subsystems was an intentional design choice. If it's not working right, it should be fixed, but not disabled. The below change means that after a network load spike, the memory can't be returned for use by other subsystems. Robert N M Watson > > --- sys/kern/kern_mbuf.c.orig Sun Apr 9 13:32:51 2006 > +++ sys/kern/kern_mbuf.c Sun Apr 9 13:33:19 2006 > @@ -168,7 +168,7 @@ > #else > NULL, NULL, > #endif > - MSIZE - 1, UMA_ZONE_MAXBUCKET); > + MSIZE - 1, UMA_ZONE_MAXBUCKET|UMA_ZONE_NOFREE); > > zone_clust = uma_zcreate(MBUF_CLUSTER_MEM_NAME, MCLBYTES, > mb_ctor_clust, mb_dtor_clust, > @@ -177,7 +177,7 @@ > #else > NULL, NULL, > #endif > - UMA_ALIGN_PTR, UMA_ZONE_REFCNT); > + UMA_ALIGN_PTR, UMA_ZONE_REFCNT|UMA_ZONE_NOFREE); > > if (nmbclusters > 0) > uma_zone_set_max(zone_clust, nmbclusters); > > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@freebsd.org] > On Behalf Of OxY > Sent: Friday, May 19, 2006 12:06 AM > To: freebsd-net@freebsd.org > Cc: Jin Guojun [VFFS] > Subject: mbuf denied problem > > hi! > > i have a problem with mbuf... > when all my free memory is gone ( i have 2gb ram) and > memory allocation looks like this: > > Mem: 30M Active, 1607M Inact, 245M Wired, 84M Cache, 214M Buf, 3028K Free > Swap: 695M Total, 695M Free > > mbuf starts to deny... > netstat -m show 0 deny till has memory, after that i see this: > > Field root# netstat -m > 629/466/1095 mbufs in use (current/cache/total) > 512/176/688/65536 mbuf clusters in use (current/cache/total/max) > 512/133 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max) > 0/0/0/0 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/0 16k jumbo clusters in use (current/cache/total/max) > 1181K/468K/1649K bytes allocated to network (current/cache/total) > 7410219/101093/101499 requests for mbufs denied > (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 25288 requests for I/O initiated by sendfile > 65 calls to protocol drain routines > > this is my sysctl.conf: > net.inet.tcp.delayed_ack=0 > net.inet.ip.intr_queue_maxlen=400 > net.inet.tcp.inflight.enable=0 > net.route.netisr_maxqlen=512 > kern.ipc.somaxconn=1024 > > should i attach any other conf/log,etc? > thanks! > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >