From owner-freebsd-net Sun Oct 4 08:05:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17095 for freebsd-net-outgoing; Sun, 4 Oct 1998 08:05:19 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail2.adinet.com.uy (mail2.adinet.com.uy [206.99.44.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17088 for ; Sun, 4 Oct 1998 08:05:14 -0700 (PDT) (envelope-from ang@adinet.com.uy) Received: from adinet.com.uy (r243-162.adinet.com.uy [207.50.243.162]) by mail2.adinet.com.uy (8.9.0/8.9.0) with ESMTP id MAA15059; Sun, 4 Oct 1998 12:06:57 +0300 (GMT) Message-ID: <36178EB9.5D37CC9C@adinet.com.uy> Date: Sun, 04 Oct 1998 12:05:29 -0300 From: Angelo Nardone X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: Aleksander Rozman - Andy CC: freebsd-net@FreeBSD.ORG Subject: Re: Internet problem References: <199810031703.TAA12586@sundance.KKS.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I sopused that your Intranet is a fantasy network ( that minds not real numbers) If that is the case you need to install a NAT(network address translate) in you gateway ( your machine connected to Internet). You can use a 'natd' or 'IP-filter' then this software can translate you intranets addresses in a Internet addresses.Personal I can say that 'ip-filter' work very well. I hope that this can help you. Bye Angelo Aleksander Rozman - Andy wrote: > Hi ! > I am new to this list (and to FreeBSD) and I need little help. Recently I > got cable modem to get internet access over cable TV. I have more than one > computer so I decided to create a FreeBSD server to give access to all of > my computer and also to be able to have http server. > > But here I have one problem. I can make server (AC1) have contact with Inet > through cable modem, I can also access AC1 from my other computers (AC2, > AC4), but I cannot access Internet from AC2, or AC4. > > ********************************************************** > ** FreeBSD Server Ethernet 1 > (212.62.129.33) ** -----> Internet (cable > ** > Ethernet 2 (192.168.44.1) ---- modem network) > ____________________________________________________| > | | > AC2 AC4 > 192.168.44.2 192.169.44.4 > > AC2/4 have both set gateway to 192.168.44.1 (second eth card on AC1), and > AC1 has default gateway that shows to my ISP server (cable modem connects > all users into one big network). > > I don't know how to set that everytime I send reuqest for internet AC1 > should give my LAN access to it. I know that my description is little > weird, but I hope you will understand it and help me. > > Andy > > ************************************************************************** > * Aleksander Rozman - Andy * Member of: E2:EA, E2F, SAABer, Trekkie, * > * aleksander.rozman@uni-mb.si * X-Phile, Heller's angel, True's screamer,* > * andy@quixotic.org * True's Trooper, Questie, Legacy, PO5. * > * Maribor, Slovenia (Europe) ******************************************** > * ICQ-UIC: 4911125 * http://quixotic.org/~andy/ * > * PGP key available * http://tferi4.uni-mb.si/~rozmanal/ * > ************************************************************************** > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Mon Oct 5 12:25:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10534 for freebsd-net-outgoing; Mon, 5 Oct 1998 12:25:31 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA10515 for ; Mon, 5 Oct 1998 12:25:26 -0700 (PDT) (envelope-from P.Gevros@cs.ucl.ac.uk) Received: from sporty.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Mon, 5 Oct 1998 20:24:35 +0100 X-Mailer: exmh version 1.6.6 3/24/96 To: net@FreeBSD.ORG cc: p.gevros@cs.ucl.ac.uk Subject: kernel compiled remotely + installed over NFS -> net i/f problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Oct 1998 20:24:35 +0200 Message-ID: <2094.907615475@cs.ucl.ac.uk> From: Panos GEVROS Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org bizzare.. the story is rather long but there may be people interested i still don't know why this happens, and i wish there is an easy answer. Cheers, Panos Background this appeared sometime ago in this list under ("Re: network problem") and was about a problem with an ethernet interface (ed0) which was 'going to sleep' and connections freezed, pings stopped etc. and when i kick it (send/tcpdump) everything resumes till the next time (soon) Fix it appeared not to be a H/w problem after all ..what fixed was just compiling a kernel locally. i brought the src-sys and rebuilt the kernel _locally_ and now it is working fine (the _same_ kernel config file!) Story the "problematic" kernel had "past" which appeared in freebsd-questions ("Re: mounting sources and building kernels") a couple of weeks ago (in brief: i was compiling on a 'server' machine which had the sources then mounting /usr/src on the machine which had the problem and did 'make install' ) this is how i bult the kernel that was causing the problem: --------------------------------------------------------------- is it possible to have all sources in only one "server" machine and use it to upgrade another "remote" by letting the "remote" mount the "server"? (i NFS export /usr/src -maproot=root on the server) i have upgraded the system from 2.2.6 -> 2.2.7 by 'makebuildworld' once on the server and then on the "remote" : mount server:/usr/src /usr/src cd /usr/src make installworld that seemed to have worked... i have difficulty with building a kernel like this though, on the "remote"!!: mount server:/usr/src /usr/src cd /usr/src/sys/i386/conf /usr/sbin/config REMOTE-KERNEL cd ../../compile/REMOTE-KERNEL make depend make ... ... Error 1 at vnode_if.c (first file to cc) in fact i receive several 'warnings' at vnode_if.c all like this : vnode_if.c:640: warning: excess elements in struct initializerafter `vop_vfree_desc` *** Error code 1 if i build the kernel on the "server" and on the "remote" just 'mount' 'cd' in the REMOTE-KERNEL compile directory do 'make install' then it does not complain. BUT THIS KERNEL had the ed0 sideffect. i'd be very interested to know why this happens? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Oct 6 02:11:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA07783 for freebsd-net-outgoing; Tue, 6 Oct 1998 02:11:14 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA06824; Tue, 6 Oct 1998 02:04:44 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA05689; Tue, 6 Oct 1998 08:03:41 +0100 From: Luigi Rizzo Message-Id: <199810060703.IAA05689@labinfo.iet.unipi.it> Subject: Re: Dummynet To: freebsd-net@FreeBSD.ORG Date: Tue, 6 Oct 1998 08:03:41 +0100 (MET) Cc: vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199810060520.OAA07654@at.dotat.com> from "Leigh Hart" at Oct 6, 98 02:49:55 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 2) What's the difference between 50K/s and 50k/s? Note the lower case K. > > It seems to make a difference. (I admit I didn't go thru the source for > > this one). > > At a guess, K/s is kilobytes/second and k/s is kilobits/second actually i don't remember well how i implemented this in ipfw, but i think KB is for kilobyte and K or Kb is for kilobit (with K=1000, not 1024) cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Oct 6 13:14:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05854 for freebsd-net-outgoing; Tue, 6 Oct 1998 13:14:01 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05824 for ; Tue, 6 Oct 1998 13:13:55 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id PAA19307; Tue, 6 Oct 1998 15:13:33 -0500 (CDT) Message-ID: <19981006151333.64861@futuresouth.com> Date: Tue, 6 Oct 1998 15:13:33 -0500 From: "Matthew D. Fuller" To: Panos GEVROS Cc: net@FreeBSD.ORG Subject: Re: kernel compiled remotely + installed over NFS -> net i/f problem References: <2094.907615475@cs.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <2094.907615475@cs.ucl.ac.uk>; from Panos GEVROS on Mon, Oct 05, 1998 at 08:24:35PM +0200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Oct 05, 1998 at 08:24:35PM +0200, Panos GEVROS woke me up to tell me: > > Story > the "problematic" kernel had "past" which > appeared in freebsd-questions ("Re: mounting sources and building kernels") a > couple of weeks ago (in brief: i was compiling on a 'server' machine which > had the sources then mounting /usr/src on the machine which had the problem > and did 'make install' ) I do this here. I have one machine with /usr/src and /usr/obj, and I do the buildworld on it. ALSO, use that central machien to build the various kernels also. Then NFS mount /usr/src and /usr/obj on each client machine in turn, do the make installworld, then make install the kernel. Works like a charm, never had any problems (other than a bit of stupidity in routing once or twice). *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Oct 6 14:01:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18559 for freebsd-net-outgoing; Tue, 6 Oct 1998 14:01:21 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from hp9000.chc-chimes.com (hp9000.chc-chimes.com [206.67.97.84]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA18395 for ; Tue, 6 Oct 1998 14:00:50 -0700 (PDT) (envelope-from billf@chc-chimes.com) Received: from localhost by hp9000.chc-chimes.com with SMTP (1.39.111.2/16.2) id AA169923688; Tue, 6 Oct 1998 13:08:08 -0400 Date: Tue, 6 Oct 1998 13:08:08 -0400 (EDT) From: Bill Fumerola Reply-To: Bill Fumerola To: freebsd-net@FreeBSD.ORG Subject: ex0 failures. Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I may have seen a post like this before, but neither myself or my coworker could find it in the archives... I have some old(er) Inter EtherExpress 10 (ex0 driver) cards and haven't had any problem with them up until yesterday. Yesterday one of the cards on my NATD box died, and no reboot would bring it back to life. Today the same model card on a different machine, showed the same signs of death, so I up'd a tx0 card I had in the machine doing nothing, and added the appropriate routes. Question being: Has anyone else seen this kind of (shotty) performance? Has anyone found a remedy? Is this limited to the ex0 driver, ex0 cards, or both? Thanks, - bill fumerola [root/billf]@chc-chimes.com - computer horizons corp - - ph:(800)252.2421 x128 / bfumerol@computerhorizons.com - BF1560 - "Logic, like whiskey, loses its beneficial effect when taken in too large quantities" -Lord Dunsany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Tue Oct 6 21:43:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA04829 for freebsd-net-outgoing; Tue, 6 Oct 1998 21:43:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from ins13.netins.net (ins13.netins.net [167.142.225.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA04822 for ; Tue, 6 Oct 1998 21:43:41 -0700 (PDT) (envelope-from stoen@netins.net) Received: from netins.net (desm-24-54.dialup.netins.net [167.142.21.183]) by ins13.netins.net (8.8.7/8.8.7) with ESMTP id XAA17007 for ; Tue, 6 Oct 1998 23:31:46 -0500 (CDT) Message-ID: <361AEEB4.593CB277@netins.net> Date: Tue, 06 Oct 1998 23:31:48 -0500 From: Rick Stoen X-Mailer: Mozilla 4.04 [en] (OS/2; U) MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: mrouted problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm having a problem getting FreeBSD 2.3.7 to route multicast packets. It will send and receive multicast packets on either interface but I just can't get it to forward them. I have normal IP forwarding enabled and that is working correctly. I rebuilt the kernel to include multicast routing and have increased the TTL on the packets sent to be 2 (also tried 5 just to be sure). The IGMP messages to join the group seem to be sent correctly, as well as the responses to the membership queries. I can also run mtrace and it gives me the correct path from the target back to the source. Everything seems good, except for the fact no packets get forwarded to the other subnet. Is there some trick I'm missing? Any suggestions would be appreciated. ------------------------ Rick Stoen stoen@netins.net Work hard, rock hard, eat hard, sleep hard, grow big, and wear glasses if you need 'em... The Webb Wilder Credo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 06:31:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA18348 for freebsd-net-outgoing; Wed, 7 Oct 1998 06:31:11 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.ftf.dk (mail.ftf.net [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA18343 for ; Wed, 7 Oct 1998 06:31:08 -0700 (PDT) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.254]) by mail.ftf.dk (8.8.8/8.8.8/gw-ftf-1.0) with ESMTP id PAA25289 for ; Wed, 7 Oct 1998 15:36:14 +0200 (CEST) (envelope-from regnauld@deepo.prosa.dk) X-Authentication-Warning: mail.ftf.dk: Host [192.168.100.254] claimed to be mail.prosa.dk Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.8/8.8.5/prosa-1.1) with ESMTP id PAA06997 for ; Wed, 7 Oct 1998 15:49:18 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.8/8.8.5/prosa-1.1) id PAA20846; Wed, 7 Oct 1998 15:41:28 +0200 (CEST) Message-ID: <19981007154128.15689@deepo.prosa.dk> Date: Wed, 7 Oct 1998 15:41:28 +0200 From: Philippe Regnauld To: freebsd-net@FreeBSD.ORG Subject: Fwd: "linux 2.0.35 ip aliasing with aliased hwaddr" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Operating-System: FreeBSD 2.2.6-RELEASE i386 Phone: +45 3336 4148 Address: Ahlefeldtsgade 16, 1359 Copenhagen K, Denmark Organization: PROSA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Would something similar be useful to have in FreeBSD ? -----Forwarded message from Mike Baker ----- From: Mike Baker Subject: linux 2.0.35 ip aliasing with aliased hwaddr To: BUGTRAQ@NETSPACE.ORG Date: Tue, 6 Oct 1998 05:27:08 -0400 This is a multi-part message in MIME format. --------------290AB10A6E945601D147B27B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Included is a small patch to linux 2.0.35 that allows each aliased device to have it's own mac separate from that of the actual device and other aliases, making your single network card look like several from any other node on the network, This patch was developed on linux 2.0.35 for use with ethernet devices, it may not be compatible with all systems or hardware. usage: /sbin/ifconfig eth0:0 192.168.0.2 /sbin/ifconfig hw ether deadbeef0001 This patch will put the real device in promisc to allow it to receive all packets then use the kernel's network driver to drop packets that don't match any device. -MbM --------------290AB10A6E945601D147B27B Content-Type: text/plain; charset=us-ascii; name="ipalias.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ipalias.diff" diff -u --recursive --new-file -w linux-2.0.35.orig/net/core/net_alias.c linux/net/core/net_alias.c --- linux-2.0.35.orig/net/core/net_alias.c Tue Aug 12 17:15:56 1997 +++ linux/net/core/net_alias.c Sun Sep 20 21:28:13 1998 @@ -50,6 +50,7 @@ #include #include + #ifdef ALIAS_USER_LAND_DEBUG #include "net_alias.h" #include "user_stubs.h" @@ -296,6 +297,19 @@ return 0; } + + +static int alias_mac_addr(struct device *dev, void *p) +{ + struct sockaddr *addr=p; + if(dev->start) + return -EBUSY; + memcpy(dev->dev_addr, addr->sa_data,dev->addr_len); + return 0; +} + + + /* * setups a new (alias) device */ @@ -329,7 +343,7 @@ dev->open = net_alias_dev_open; dev->stop = net_alias_dev_close; dev->get_stats = net_alias_dev_stats; - + dev->set_mac_address = alias_mac_addr; dev->hard_header_len = main_dev->hard_header_len; memcpy(dev->broadcast, main_dev->broadcast, MAX_ADDR_LEN); memcpy(dev->dev_addr, main_dev->dev_addr, MAX_ADDR_LEN); @@ -337,6 +351,7 @@ dev->init = net_alias_devinit; dev->hard_start_xmit = net_alias_hard_start_xmit; dev->flags = main_dev->flags & NET_ALIAS_IFF_MASK & ~IFF_UP; + main_dev->flags = main_dev->flags | IFF_PROMISC; /* * only makes sense if same family @@ -1216,6 +1231,8 @@ struct net_alias_info *alias_info; struct device *dev; + + if (main_dev == NULL) return NULL; /* diff -u --recursive --new-file -w linux-2.0.35.orig/net/ethernet/eth.c linux/net/ethernet/eth.c --- linux-2.0.35.orig/net/ethernet/eth.c Wed Jun 3 18:17:50 1998 +++ linux/net/ethernet/eth.c Wed Sep 30 14:07:01 1998 @@ -176,6 +176,7 @@ { struct ethhdr *eth; unsigned char *rawp; + struct device *temp_dev; skb->mac.raw=skb->data; skb_pull(skb,dev->hard_header_len); @@ -197,7 +198,19 @@ else if(dev->flags&(IFF_PROMISC|IFF_ALLMULTI)) { if(memcmp(eth->h_dest,dev->dev_addr, ETH_ALEN)) + { skb->pkt_type=PACKET_OTHERHOST; + /* assume all aliases come after the real device */ + for(temp_dev = dev; temp_dev != NULL ; temp_dev = temp_dev->next) + if(!memcmp(eth->h_dest,temp_dev->dev_addr, ETH_ALEN)) + { + skb->pkt_type=PACKET_HOST; + break; + } + + + + } } if (ntohs(eth->h_proto) >= 1536) diff -u --recursive --new-file -w linux-2.0.35.orig/net/ipv4/arp.c linux/net/ipv4/arp.c --- linux-2.0.35.orig/net/ipv4/arp.c Mon Jul 13 16:47:41 1998 +++ linux/net/ipv4/arp.c Wed Sep 30 14:07:24 1998 @@ -1771,6 +1771,12 @@ unsigned char *sha,*tha; u32 sip,tip; + if(skb->pkt_type==PACKET_OTHERHOST) + { + kfree_skb(skb, FREE_READ); + return 0; + } + /* * The hardware length of the packet should match the hardware length * of the device. Similarly, the hardware types should match. The @@ -1894,6 +1900,9 @@ kfree_skb(skb, FREE_READ); return 0; } + + + /* * Process entry. The idea here is we want to send a reply if it is a --------------290AB10A6E945601D147B27B-- -----End of forwarded message----- -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- The Internet is busy. Please try again later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 07:32:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00382 for freebsd-net-outgoing; Wed, 7 Oct 1998 07:32:36 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA00356 for ; Wed, 7 Oct 1998 07:32:22 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA08461; Wed, 7 Oct 1998 13:31:12 +0100 From: Luigi Rizzo Message-Id: <199810071231.NAA08461@labinfo.iet.unipi.it> Subject: Re: Fwd: "linux 2.0.35 ip aliasing with aliased hwaddr" To: regnauld@deepo.prosa.dk (Philippe Regnauld) Date: Wed, 7 Oct 1998 13:31:12 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <19981007154128.15689@deepo.prosa.dk> from "Philippe Regnauld" at Oct 7, 98 03:41:09 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Would something similar be useful to have in FreeBSD ? ... > Included is a small patch to linux 2.0.35 that allows each aliased > device to have it's own mac separate from that of the actual device and > other aliases, making your single network card look like several from > any other node on the network, i think to make this work you need to put the card in promiscuous mode (on most hardware at least) and this kills performance especially for a 100Mbit net. Unless you have special reasons to do so, i really wouldn't like it. luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 08:01:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA05443 for freebsd-net-outgoing; Wed, 7 Oct 1998 08:01:33 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from web4-1.ability.net (web4-1.ability.net [207.240.60.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA05436 for ; Wed, 7 Oct 1998 08:01:30 -0700 (PDT) (envelope-from rich@f2sys.net) Received: from [151.200.120.99] (client-151-200-120-99.bellatlantic.net [151.200.120.99]) by web4-1.ability.net (8.9.1/8.9.1/Pub) with ESMTP id KAA15675 for ; Wed, 7 Oct 1998 10:53:17 -0400 (EDT) Date: Wed, 7 Oct 1998 10:53:17 -0400 (EDT) X-Sender: rich@mail.burntchicken.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: freebsd-net@FreeBSD.ORG From: Rich Fox Subject: Intel Pro/100B, unsupported type = 63, can't see network Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have been searching the archives for solutions to this problem, but I haven't found any in the last 20 hours. I have FreeBSD 2.2.7 (which I get on subscription, I haven't received 2.2.8 or 3.0 yet. I also do not have the capacity to upgrade this via the net.) I have an Intel EtherExpress Pro/100B... When I ifconfig the EtherExpress I get an unsupported PHY, type = 63 "portal# Oct 7 10:17:04 portal /kernel: fxp0: warning: unsupported PHY, type = 63, addr = 255 portal# Oct 7 10:17:04 portal /kernel: fxp0: warning: unsupported PHY, type = 63, addr = 255" (yes, it repeats the message twice.) In the list archives I saw type = 7 and type = 1. It is understood that this card *should* work at 10mbps, the unsupported error may only cause it to fail if I try to run it at 100Mbps. If I do an ifconfig -a I get: fxp0 flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether ff:ff:ff:ff:ff:ff media: manual supported media: manual My first question is what is with the "manual" parts under media. I have seen other PRO/100B users' ifconfigs state things like "autoselect". if I try to add a "autoselect" media parameter to the ifconfig statement it gives me an error: "ifconfig: SIOCSIFMEDIA: device not configured" ifconfig man page says to check docs for the driver to determine available media types. I can not find documentation for fxp0 in the machine, the FreeBSD site, altavista, or yahoo. Second, error or not, the card *appears* to be accessing the network. That is, when I try to ping 192.168.1.3 (a mac quadra) the hub activity lights begin blink, but ultimately, ping returns "ping: sendto: host is down". When I ping the quadra off of my Starmax (192.168.1.2), I get total success. The Starmax can not ping the FreeBSD machine though. (I do not have a ping available on the quadra, so I have not tested from that machine.) Traceroute doesn't do any better in whatever circumstance. So basically, it looks to me like all of the computers are on the same network and accessing it, however FreeBSD machine, vs the rest of the computers, is on a different plane of existence. I do not have a sniffer that I can use, which is what I really want to do. There is something wrong with tcpdump on the FreeBSD 2.2.7 so that it won't run. I bought a power supply for my modest 486sx and my next move is to put it on the network and see if it can't fare any better at seeing these other machines, that is unless someone might have some insight as to what I can do to resolve the problem. Thanks, Rich. | rich fox | rich@f2sys.net | 1513 N. Rhodes St. #1 | Arlington, VA 22209 | t:703.528.9616 | f:703.329.2314 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 08:30:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11596 for freebsd-net-outgoing; Wed, 7 Oct 1998 08:30:38 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11498 for ; Wed, 7 Oct 1998 08:30:17 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id IAA13269; Wed, 7 Oct 1998 08:29:24 -0700 (PDT) Message-Id: <199810071529.IAA13269@implode.root.com> To: Rich Fox cc: freebsd-net@FreeBSD.ORG Subject: Re: Intel Pro/100B, unsupported type = 63, can't see network In-reply-to: Your message of "Wed, 07 Oct 1998 10:53:17 EDT." From: David Greenman Reply-To: dg@root.com Date: Wed, 07 Oct 1998 08:29:24 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I have been searching the archives for solutions to this problem, but I >haven't found any in the last 20 hours. > >I have FreeBSD 2.2.7 (which I get on subscription, I haven't received 2.2.8 >or 3.0 yet. I also do not have the capacity to upgrade this via the net.) >I have an Intel EtherExpress Pro/100B... >When I ifconfig the EtherExpress I get an unsupported PHY, type = 63 > >"portal# Oct 7 10:17:04 portal /kernel: fxp0: warning: unsupported PHY, >type = 63, addr = 255 >portal# Oct 7 10:17:04 portal /kernel: fxp0: warning: unsupported PHY, type >= 63, addr = 255" >(yes, it repeats the message twice.) > >In the list archives I saw type = 7 and type = 1. >It is understood that this card *should* work at 10mbps, the unsupported >error may only cause it to fail if I try to run it at 100Mbps. > >If I do an ifconfig -a I get: >fxp0 flags=8843 mtu 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether ff:ff:ff:ff:ff:ff > media: manual > supported media: manual Yikes. Are you sure that is a Pro/100B card? It seems to have totally failed to properly read the SRAM, including the ethernet MAC address. The card WILL NOT WORK in this case, so don't waste anymore time trying to test it. I wonder if the SRAM chip on the board might be different than the standard chip, or if perhaps the chip is actually defective? I'll need more info (like chip numbers, age of board, dmesg output, type of system this is being put into, etc.) before I can make any further guesses. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 10:52:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA08933 for freebsd-net-outgoing; Wed, 7 Oct 1998 10:52:56 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA08908; Wed, 7 Oct 1998 10:52:50 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zQxlC-0004Aa-00; Wed, 7 Oct 1998 11:52:26 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id LAA17076; Wed, 7 Oct 1998 11:52:13 -0600 (MDT) Message-Id: <199810071752.LAA17076@harmony.village.org> To: Luigi Rizzo Subject: Re: Dummynet Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 06 Oct 1998 08:03:41 BST." <199810060703.IAA05689@labinfo.iet.unipi.it> References: <199810060703.IAA05689@labinfo.iet.unipi.it> Date: Wed, 07 Oct 1998 11:52:12 -0600 From: Warner Losh Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199810060703.IAA05689@labinfo.iet.unipi.it> Luigi Rizzo writes: : > At a guess, K/s is kilobytes/second and k/s is kilobits/second : : actually i don't remember well how i implemented this in ipfw, but i : think KB is for kilobyte and K or Kb is for kilobit : : (with K=1000, not 1024) kb/s == 1000 bits per second. Kb/s == 1024 bits per second kB/s == 1000 bytes per second KB/s == 1024 bytes per second. In the SI units, as expanded for computer folks, b == bits, B == bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes 1024 * 1000). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 12:40:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01595 for freebsd-net-outgoing; Wed, 7 Oct 1998 12:40:11 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA01449; Wed, 7 Oct 1998 12:39:36 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id SAA08935; Wed, 7 Oct 1998 18:38:51 +0100 From: Luigi Rizzo Message-Id: <199810071738.SAA08935@labinfo.iet.unipi.it> Subject: Re: Dummynet To: imp@village.org (Warner Losh) Date: Wed, 7 Oct 1998 18:38:51 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199810071752.LAA17076@harmony.village.org> from "Warner Losh" at Oct 7, 98 11:51:53 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > : actually i don't remember well how i implemented this in ipfw, but i > : think KB is for kilobyte and K or Kb is for kilobit > : > : (with K=1000, not 1024) > > kb/s == 1000 bits per second. > Kb/s == 1024 bits per second > kB/s == 1000 bytes per second > KB/s == 1024 bytes per second. > > In the SI units, as expanded for computer folks, b == bits, B == > bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes > 1024 * 1000). there's nothing worse than imprecise definitions! the b/B differentiation is widespread, but k/K are often used interchangeably. What i know for sure is that network bandwidths are seldom measured with powers of 2, i.e. 64k means 64.000 not 65536, ethernet is 10Mbit= 10.000.000, etc. disk capacities... there K and M were used for 2^10 and 2^20 respectively, but now it is more and more common to use them for 10^3 and 10^6, and i hope the unit will not shrink as it happened to the "monitor inch" ! cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 13:12:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA09932 for freebsd-net-outgoing; Wed, 7 Oct 1998 13:12:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA09895; Wed, 7 Oct 1998 13:12:23 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zQzwM-0004En-00; Wed, 7 Oct 1998 14:12:06 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id OAA18112; Wed, 7 Oct 1998 14:11:54 -0600 (MDT) Message-Id: <199810072011.OAA18112@harmony.village.org> To: Luigi Rizzo Subject: Re: Dummynet Cc: freebsd-net@FreeBSD.ORG, vev@michvhf.com, freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 07 Oct 1998 18:38:51 BST." <199810071738.SAA08935@labinfo.iet.unipi.it> References: <199810071738.SAA08935@labinfo.iet.unipi.it> Date: Wed, 07 Oct 1998 14:11:54 -0600 From: Warner Losh Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199810071738.SAA08935@labinfo.iet.unipi.it> Luigi Rizzo writes: : > : actually i don't remember well how i implemented this in ipfw, but i : > : think KB is for kilobyte and K or Kb is for kilobit : > : : > : (with K=1000, not 1024) : > : > kb/s == 1000 bits per second. : > Kb/s == 1024 bits per second : > kB/s == 1000 bytes per second : > KB/s == 1024 bytes per second. : > : > In the SI units, as expanded for computer folks, b == bits, B == : > bytes, k == 1000 and K == 1024. M == 1000000 or 2^20 (or sometimes : > 1024 * 1000). : : there's nothing worse than imprecise definitions! the b/B differentiation : is widespread, but k/K are often used interchangeably. : : What i know for sure is that network bandwidths are seldom measured : with powers of 2, i.e. 64k means 64.000 not 65536, ethernet is 10Mbit= : 10.000.000, etc. : : disk capacities... there K and M were used for 2^10 and 2^20 : respectively, but now it is more and more common to use them for 10^3 : and 10^6, and i hope the unit will not shrink as it happened to the : "monitor inch" ! Yes. But you'll notice that people tend to be careful about k vs K (eg 64k is 64,000), but less careful about M vs M :-). Memory is the only thing that is mesured in M (2^20), while disk space, network speed and most other things are measured in M (10^6). M is the standard SI unit for 10^6, so seeing it used for 10^6 doesn't bother me. k vs K generally doesn't matter, but many people at least make an effort to try keep them straight, at least in this country (otherwise you'd see 65K organizers, rather than the 64K, 256K, 512K, etc for example). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 15:54:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14114 for freebsd-net-outgoing; Wed, 7 Oct 1998 15:54:06 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14079 for ; Wed, 7 Oct 1998 15:53:56 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA04875; Wed, 7 Oct 1998 15:24:06 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdTg4852; Wed Oct 7 22:24:00 1998 Date: Wed, 7 Oct 1998 15:23:57 -0700 (PDT) From: Julian Elischer To: David Greenman cc: Rich Fox , freebsd-net@FreeBSD.ORG Subject: Re: Intel Pro/100B, unsupported type = 63, can't see network In-Reply-To: <199810071529.IAA13269@implode.root.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >If I do an ifconfig -a I get: > >fxp0 flags=8843 mtu 1500 > > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > > ether ff:ff:ff:ff:ff:ff > > media: manual > > supported media: manual > > Yikes. Are you sure that is a Pro/100B card? It seems to have totally > failed to properly read the SRAM, including the ethernet MAC address. The > card WILL NOT WORK in this case, so don't waste anymore time trying to > test it. I wonder if the SRAM chip on the board might be different than the > standard chip, or if perhaps the chip is actually defective? I'll need more > info (like chip numbers, age of board, dmesg output, type of system this is > being put into, etc.) before I can make any further guesses. I happen to be an expert at this particular bug... the serial eeprom has failed or is in some way not readable by the ethernet chip I have one here that did the same... I replaced the eeprom and it was fine.. We have two of these on a card we have here and before I got the eeproms programmed we could probe the card suggessfully but we'd get these symptoms (all 1 values read during the probe) julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Wed Oct 7 15:56:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA14965 for freebsd-net-outgoing; Wed, 7 Oct 1998 15:56:46 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA14954 for ; Wed, 7 Oct 1998 15:56:44 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id PAA18171; Wed, 7 Oct 1998 15:55:46 -0700 (PDT) Message-Id: <199810072255.PAA18171@implode.root.com> To: Julian Elischer cc: Rich Fox , freebsd-net@FreeBSD.ORG Subject: Re: Intel Pro/100B, unsupported type = 63, can't see network In-reply-to: Your message of "Wed, 07 Oct 1998 15:23:57 PDT." From: David Greenman Reply-To: dg@root.com Date: Wed, 07 Oct 1998 15:55:45 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> >If I do an ifconfig -a I get: >> >fxp0 flags=8843 mtu 1500 >> > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >> > ether ff:ff:ff:ff:ff:ff >> > media: manual >> > supported media: manual >> >> Yikes. Are you sure that is a Pro/100B card? It seems to have totally >> failed to properly read the SRAM, including the ethernet MAC address. The >> card WILL NOT WORK in this case, so don't waste anymore time trying to >> test it. I wonder if the SRAM chip on the board might be different than the >> standard chip, or if perhaps the chip is actually defective? I'll need more >> info (like chip numbers, age of board, dmesg output, type of system this is >> being put into, etc.) before I can make any further guesses. > >I happen to be an expert at this particular bug... the serial eeprom has >failed or is in some way not readable by the ethernet chip I have one here >that did the same... I replaced the eeprom and it was fine.. > >We have two of these on a card we have here and before I got the eeproms >programmed we could probe the card suggessfully but we'd get these >symptoms (all 1 values read during the probe) I said SRAM above, but I meant serial EEPROM. Apologies. In any case, Rich wrote back that the problem was resolved by replacing the board. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Oct 8 14:58:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA29138 for freebsd-net-outgoing; Thu, 8 Oct 1998 14:58:12 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mimer.erilab.com (mpk103.erilab.com [208.224.156.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA29125 for ; Thu, 8 Oct 1998 14:58:08 -0700 (PDT) (envelope-from Rainer.Enders@erilab.com) Received: from erilab.com (willow.erilab.com [192.168.174.2]) by mimer.erilab.com (8.9.1a/8.9.1) with ESMTP id OAA26018 for ; Thu, 8 Oct 1998 14:58:01 -0700 (PDT) Message-ID: <361D363B.7737CE8B@erilab.com> Date: Thu, 08 Oct 1998 15:01:31 -0700 From: Rainer Enders Organization: Ericsson Inc. X-Mailer: Mozilla 4.06 [en] (X11; U; SunOS 5.6 sun4m) MIME-Version: 1.0 To: freebsd-net@FreeBSD.ORG Subject: DEC DE500-BA 21143 in Full-Duplex mode Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm having problems running the DEC DE500-BA 21143 in full duplex mode. All I can achieve is 100TX. I do this by specifying: media 100BASETX in rc.conf. Beside that the card doesn't seem to understand FD commands at all. I tried all the commands that I could find in /sys/pci/if_de.c without success. For example: balder# ifconfig de0 media 100TX_FD ifconfig: unknown media subtype: 100TX_FD balder# ifconfig de0 media 100TX-FD ifconfig: unknown media subtype: 100TX-FD either "should" work. This works fine under Linux with the driver from Donald Becker. Who is maintaining this driver? Who can I contact? Is there any other suggestion for a NIC card that work with good performance under FreeBSD with 100TX in Full Duplex mode? For the records: 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0 de0 rev 48 int a irq 11 on pci0:10:0 de0: DEC DE500-BA 21143 [10-100Mb/s] pass 3.0 Regards, Rainer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Oct 8 15:36:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07026 for freebsd-net-outgoing; Thu, 8 Oct 1998 15:36:13 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA06968 for ; Thu, 8 Oct 1998 15:35:50 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.8.5/8.8.5) with ESMTP id SAA14145; Thu, 8 Oct 1998 18:34:53 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.1/8.9.1) id SAA29230; Thu, 8 Oct 1998 18:34:44 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 8 Oct 1998 18:34:43 -0400 (EDT) To: Rainer Enders Cc: freebsd-net@FreeBSD.ORG Subject: Re: DEC DE500-BA 21143 in Full-Duplex mode In-Reply-To: <361D363B.7737CE8B@erilab.com> References: <361D363B.7737CE8B@erilab.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13853.15292.134948.153362@grasshopper.cs.duke.edu> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Rainer Enders writes: > balder# ifconfig de0 media 100TX_FD > ifconfig: unknown media subtype: 100TX_FD > balder# ifconfig de0 media 100TX-FD > ifconfig: unknown media subtype: 100TX-FD > You are specifying the media incorrectly. Read the de(4) man page. You want to say: ifconfig de0 media 100baseTX mediaopt full-duplex See if that helps. In my case (*BSD/alpha, Digital Personal Workstation 500au), the driver recognizes the options, but doesn't know enough about the hardware to actually throw it into full-duplex mode. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Oct 8 16:05:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13238 for freebsd-net-outgoing; Thu, 8 Oct 1998 16:05:28 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13129 for ; Thu, 8 Oct 1998 16:04:57 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id SAA25326; Thu, 8 Oct 1998 18:04:42 -0500 (CDT) Message-ID: <19981008180442.03521@futuresouth.com> Date: Thu, 8 Oct 1998 18:04:42 -0500 From: "Matthew D. Fuller" To: Rainer Enders Cc: freebsd-net@FreeBSD.ORG Subject: Re: DEC DE500-BA 21143 in Full-Duplex mode References: <361D363B.7737CE8B@erilab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <361D363B.7737CE8B@erilab.com>; from Rainer Enders on Thu, Oct 08, 1998 at 03:01:31PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Oct 08, 1998 at 03:01:31PM -0700, Rainer Enders woke me up to tell me: > Hi, > > I'm having problems running the DEC DE500-BA 21143 > in full duplex mode. All I can achieve is 100TX. I do this > by specifying: media 100BASETX in rc.conf. > > Beside that the card doesn't seem to understand FD commands > at all. I tried all the commands that I could find in /sys/pci/if_de.c > without success. man 4 de ... The de driver supports the following media types: ... 100baseTX Set 100Mbps (fast ethernet) operation ... The de driver supports the following media options: full-duplex Set full duplex operation so ifconfig de0 media 100baseTX mediaopt full-duplex *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Thu Oct 8 19:45:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26068 for freebsd-net-outgoing; Thu, 8 Oct 1998 19:45:11 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mars.mds.com.sg (mars.mds.com.sg [203.127.216.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26045 for ; Thu, 8 Oct 1998 19:45:03 -0700 (PDT) (envelope-from xichrome@pacific.net.ph) Received: from zeus.asiansources.com (root@zeusfr [203.172.0.46]) by mars.mds.com.sg (8.8.5/8.8.5) with ESMTP id KAA13034 for ; Fri, 9 Oct 1998 10:48:57 +0800 Received: from ph.asiansources.com (ph-2 [203.172.0.3]) by zeus.asiansources.com (8.8.5/8.8.5) with ESMTP id LAA09270 for ; Fri, 9 Oct 1998 11:07:47 +0800 Received: from xichrome ([192.168.8.201]) by ph.asiansources.com (post.office MTA v2.0 0906 ID# 50-42442U500) with SMTP id AAA8889 for ; Fri, 9 Oct 1998 10:45:47 +0800 Message-ID: <002301bdf32e$7de2c260$c908a8c0@xichrome.asiansources.com> From: "Joubert Uriarte" To: Subject: SCSI Drivers for FreeBSD v.2.2.6 for Future Domain TMC-1510 Date: Fri, 9 Oct 1998 10:42:43 +0800 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 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Does anybody know where I could get drivers for FreeBSD v.2.2.6 for an old 16-bit ISA SCSI card from Future Domain with model TMC-1510??? Thank you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 00:31:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA14923 for freebsd-net-outgoing; Fri, 9 Oct 1998 00:31:53 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from msf1.swe.ids.dps.casa.es (h025184.nexo.es [195.235.25.184]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA14886 for ; Fri, 9 Oct 1998 00:31:46 -0700 (PDT) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (hpswe.swe.ids.dps.casa.es [172.16.50.100]) by msf1.swe.ids.dps.casa.es (8.8.8/8.8.8) with ESMTP id JAA04367; Fri, 9 Oct 1998 09:23:05 +0200 (CEST) (envelope-from jlfreniche@acm.org) Received: from hpswe.swe.ids.dps.casa.es (localhost [127.0.0.1]) by hpswe.swe.ids.dps.casa.es with SMTP (8.7.6/8.7.3) id JAA04629; Fri, 9 Oct 1998 09:25:06 +0200 (METDST) Message-ID: <361DBA51.3CB5@acm.org> Date: Fri, 09 Oct 1998 09:25:05 +0200 From: "Juan L. Freniche" X-Mailer: Mozilla 3.01Gold (X11; I; HP-UX B.10.20 9000/879) MIME-Version: 1.0 To: "Matthew D. Fuller" CC: freebsd-net@FreeBSD.ORG Subject: Re: DEC DE500-BA 21143 in Full-Duplex mode References: <361D363B.7737CE8B@erilab.com> <19981008180442.03521@futuresouth.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Matthew D. Fuller wrote: > > On Thu, Oct 08, 1998 at 03:01:31PM -0700, Rainer Enders woke me up to tell me: > > Hi, > > > > I'm having problems running the DEC DE500-BA 21143 > > in full duplex mode. All I can achieve is 100TX. I do this > > by specifying: media 100BASETX in rc.conf. > > > > Beside that the card doesn't seem to understand FD commands > > at all. I tried all the commands that I could find in /sys/pci/if_de.c > > without success. > > man 4 de > .. > The de driver supports the following media types: > .. > 100baseTX Set 100Mbps (fast ethernet) operation > .. > The de driver supports the following media options: > full-duplex Set full duplex operation > > so ifconfig de0 media 100baseTX mediaopt full-duplex > No, I'm having the same problems with the same DEC chip but for ZNYX boards. I tried ifconfig de0 media 100baseTX mediaopt full-duplex but the board is not configured at all. If the mediaopt is removed, ifconfig de0 media 100baseTX works correctly. -- Juan L. Freniche To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 04:12:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12476 for freebsd-net-outgoing; Fri, 9 Oct 1998 04:12:05 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.ftf.dk (mail.ftf.net [129.142.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA12444 for ; Fri, 9 Oct 1998 04:12:01 -0700 (PDT) (envelope-from regnauld@deepo.prosa.dk) Received: from mail.prosa.dk ([192.168.100.254]) by mail.ftf.dk (8.8.8/8.8.8/gw-ftf-1.0) with ESMTP id NAA26809 for ; Fri, 9 Oct 1998 13:17:03 +0200 (CEST) (envelope-from regnauld@deepo.prosa.dk) X-Authentication-Warning: mail.ftf.dk: Host [192.168.100.254] claimed to be mail.prosa.dk Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.8/8.8.5/prosa-1.1) with ESMTP id NAA10747 for ; Fri, 9 Oct 1998 13:30:32 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.8/8.8.5/prosa-1.1) id NAA10721; Fri, 9 Oct 1998 13:22:53 +0200 (CEST) Message-ID: <19981009132253.64247@deepo.prosa.dk> Date: Fri, 9 Oct 1998 13:22:53 +0200 From: Philippe Regnauld To: freebsd-net@FreeBSD.ORG Subject: MAC masquerading Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e X-Operating-System: FreeBSD 2.2.6-RELEASE i386 Phone: +45 3336 4148 Address: Ahlefeldtsgade 16, 1359 Copenhagen K, Denmark Organization: PROSA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Can't find original message: the post I had forwarded from Bugtraq which contained a patch for linux-2.0.35 to do MAC masquerading] As Luigi mentioned, it was a performance killer, since it involved putting the card in promiscuous mode to snarf all the frames you'd "aliased" you NIC to grab. Someone answered on Bugtraq: -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- Date: Thu, 8 Oct 1998 10:45:50 -0700 From: pedward@WEBCOM.COM Subject: Re: linux 2.0.35 ip aliasing with aliased hwaddr To: BUGTRAQ@NETSPACE.ORG The appropriate way to perform this is either: Set the new hwaddr in the card's filter list (most ethernet cards have a hardware packet filter, which filters ethernet frames based upon the hwaddr) Configure the card to do true MAC masquerading. This is possible on a number of cards, however I believe the list is more limited than the one above. Intel EEPro 10/100's will do MAC masquerading. -----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----- Now, the reason I'm interested in this is to do make cheap "quick failover" systems, where a backup system, identical to the first, monitors the state of the primary at all times. When it fails for a given period, grab the MAC address, and act as the first. The reverse behavior would be expected of the first system (check for an existing ARP/MAC entry when coming up again, and already taken, take up a third MAC address, and so forth...) This is poor man's redundancy, but I have couple of servers acting as bastion hosts I'd like to do this with (using rsync, amonng other things...). -- -[ Philippe Regnauld / sysadmin / regnauld@deepo.prosa.dk / +55.4N +11.3E ]- The Internet is busy. Please try again later. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 13:28:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11745 for freebsd-net-outgoing; Fri, 9 Oct 1998 13:28:02 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from gras-varg.worldgate.com (gras-varg.worldgate.com [198.161.84.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11696; Fri, 9 Oct 1998 13:27:52 -0700 (PDT) (envelope-from skafte@gras-varg.worldgate.com) Received: (from skafte@localhost) by gras-varg.worldgate.com (8.9.1a/8.9.1) id OAA22257; Fri, 9 Oct 1998 14:27:42 -0600 (MDT) Message-ID: <19981009142742.A22107@worldgate.com> Date: Fri, 9 Oct 1998 14:27:42 -0600 From: Greg Skafte To: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: ipfw broken? ... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i Organization: WorldGate Inc. X-PGP-Fingerprint: 42 9C 2C A8 4D 2B C9 C4 7D B6 00 B0 50 47 20 97 X-URL: http://gras-varg.worldgate.com/~skafte Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've got a 2.2.7-stable machince acting as a router. I'm using ipfw to count traffic + do antispoofing on each interface. it seems that ipfw count seems confused, ie ipfw -a l shows 02000 0 0 count ip from any to any via de2 yet i'm see packets going in and out via tcpdump. Similar on other interfaces. Accuracy of packet accounting is important to me since I pay per packet.... -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 13:51:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17048 for freebsd-net-outgoing; Fri, 9 Oct 1998 13:51:06 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA16963; Fri, 9 Oct 1998 13:50:25 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA14137; Fri, 9 Oct 1998 19:49:22 +0100 From: Luigi Rizzo Message-Id: <199810091849.TAA14137@labinfo.iet.unipi.it> Subject: Re: ipfw broken? ... To: skafte@worldgate.com (Greg Skafte) Date: Fri, 9 Oct 1998 19:49:22 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG In-Reply-To: <19981009142742.A22107@worldgate.com> from "Greg Skafte" at Oct 9, 98 02:27:23 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I've got a 2.2.7-stable machince acting as a router. > > I'm using ipfw to count traffic + do antispoofing on each interface. > > it seems that ipfw count seems confused, ie ipfw -a l shows > 02000 0 0 count ip from any to any via de2 did it work before the dummynet integration ? do you have other rules before which could match ? luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 13:54:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17527 for freebsd-net-outgoing; Fri, 9 Oct 1998 13:54:39 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from gras-varg.worldgate.com (gras-varg.worldgate.com [198.161.84.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA17388; Fri, 9 Oct 1998 13:53:48 -0700 (PDT) (envelope-from skafte@gras-varg.worldgate.com) Received: (from skafte@localhost) by gras-varg.worldgate.com (8.9.1a/8.9.1) id OAA22428; Fri, 9 Oct 1998 14:53:17 -0600 (MDT) Message-ID: <19981009145317.B22107@worldgate.com> Date: Fri, 9 Oct 1998 14:53:17 -0600 From: Greg Skafte To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: ipfw broken? ... References: <19981009142742.A22107@worldgate.com> <199810091849.TAA14137@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199810091849.TAA14137@labinfo.iet.unipi.it>; from Luigi Rizzo on Fri, Oct 09, 1998 at 07:49:22PM +0100 Organization: WorldGate Inc. X-PGP-Fingerprint: 42 9C 2C A8 4D 2B C9 C4 7D B6 00 B0 50 47 20 97 X-URL: http://gras-varg.worldgate.com/~skafte Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoting Luigi Rizzo (luigi@labinfo.iet.unipi.it) On Subject: Re: ipfw broken? ... Date: Fri, Oct 09, 1998 at 07:49:22PM +0100 > > I've got a 2.2.7-stable machince acting as a router. > > > > I'm using ipfw to count traffic + do antispoofing on each interface. > > > > it seems that ipfw count seems confused, ie ipfw -a l shows > > > 02000 0 0 count ip from any to any via de2 > > did it work before the dummynet integration ? do you have other rules yes > before which could match ? not in this case .... I'll email you the ruleset directly and you can decide if I'm smoking drugs > > luigi -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 14:01:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19010 for freebsd-net-outgoing; Fri, 9 Oct 1998 14:01:10 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA18918; Fri, 9 Oct 1998 14:00:32 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id UAA14187; Fri, 9 Oct 1998 20:00:21 +0100 From: Luigi Rizzo Message-Id: <199810091900.UAA14187@labinfo.iet.unipi.it> Subject: Re: ipfw broken? ... To: skafte@worldgate.com (Greg Skafte) Date: Fri, 9 Oct 1998 20:00:20 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG In-Reply-To: <19981009145317.B22107@worldgate.com> from "Greg Skafte" at Oct 9, 98 02:52:58 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > it seems that ipfw count seems confused, ie ipfw -a l shows > > > > > 02000 0 0 count ip from any to any via de2 > > > > did it work before the dummynet integration ? do you have other rules > > yes > > > before which could match ? > > not in this case .... I'll email you the ruleset directly > and you can decide if I'm smoking drugs you cannot reasonably expect me to look at 400 lines ruleset! When i integrated dummynet i made a mistake and changed slightly the semantics of skipto rules -- if the jump target did not exist, the rule would not match. I fixed this 2-3 days ago. so if you have skipto rules this might be the problem, you just have to update ip_fw.c (one-character change) and see how it works. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 18:01:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA06622 for freebsd-net-outgoing; Fri, 9 Oct 1998 18:01:48 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from gras-varg.worldgate.com (gras-varg.worldgate.com [198.161.84.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA06577; Fri, 9 Oct 1998 18:01:26 -0700 (PDT) (envelope-from skafte@gras-varg.worldgate.com) Received: (from skafte@localhost) by gras-varg.worldgate.com (8.9.1a/8.9.1) id TAA23547; Fri, 9 Oct 1998 19:01:13 -0600 (MDT) Message-ID: <19981009190112.K22107@worldgate.com> Date: Fri, 9 Oct 1998 19:01:12 -0600 From: Greg Skafte To: Luigi Rizzo Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: ipfw broken? ... References: <19981009145317.B22107@worldgate.com> <199810091900.UAA14187@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199810091900.UAA14187@labinfo.iet.unipi.it>; from Luigi Rizzo on Fri, Oct 09, 1998 at 08:00:20PM +0100 Organization: WorldGate Inc. X-PGP-Fingerprint: 42 9C 2C A8 4D 2B C9 C4 7D B6 00 B0 50 47 20 97 X-URL: http://gras-varg.worldgate.com/~skafte Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Quoting Luigi Rizzo (luigi@labinfo.iet.unipi.it) On Subject: Re: ipfw broken? ... Date: Fri, Oct 09, 1998 at 08:00:20PM +0100 > > > > it seems that ipfw count seems confused, ie ipfw -a l shows > > > > > > > 02000 0 0 count ip from any to any via de2 > > > > > > did it work before the dummynet integration ? do you have other rules > > > > yes > > > > > before which could match ? > > > > not in this case .... I'll email you the ruleset directly > > and you can decide if I'm smoking drugs > > you cannot reasonably expect me to look at 400 lines ruleset! > When i integrated dummynet i made a mistake and changed slightly the > semantics of skipto rules -- if the jump target did not exist, the rule > would not match. I fixed this 2-3 days ago. so if you have skipto rules > this might be the problem, you just have to update ip_fw.c > (one-character change) and see how it works. > > cheers > luigi > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message going to the ip_fw.c,v 1.51.2.20 fixed it sorry for the nasty ruleset file -- Email: skafte@worldgate.com Voice: +403 413 1910 Fax: +403 421 4929 #575 Sun Life Place * 10123 99 Street * Edmonton, AB * Canada * T5J 3H1 -- -- When things can't get any worse, they simplify themselves by getting a whole lot worse then complicated. A complete and utter disaster is the simplest thing in the world; it's preventing one that's complex. (Janet Morris) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 20:03:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA22739 for freebsd-net-outgoing; Fri, 9 Oct 1998 20:03:59 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from super-g.inch.com (super-g.com [207.240.140.161]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA22731 for ; Fri, 9 Oct 1998 20:03:55 -0700 (PDT) (envelope-from spork@super-g.com) Received: from localhost (localhost [127.0.0.1]) by super-g.inch.com (8.8.8/8.8.5) with SMTP id XAA13130 for ; Fri, 9 Oct 1998 23:03:46 -0400 (EDT) Date: Fri, 9 Oct 1998 23:03:46 -0400 (EDT) From: spork X-Sender: spork@super-g.inch.com To: freebsd-net@FreeBSD.ORG Subject: IPFW, IPfilter, dummynet, et friends Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I'm contemplating something silly. Once the techs at Bell Atlantic get the frame switch ready, I'll have a 56K frame connection to my home again. I've been using the user ppp package, which is *incredible* and gives me a nice boost over the windows ppp monstrosity, I mean, *measurable*. I use the packet aliasing feature to hide all my toys from prying eyes, and it's been working great. Since this is my home net, I really want to play around with some things, including ipfilter and dummynet. I also would like to keep my dialup connection nailed up as well (good througput, bad latency) and I'm wondering if any combination of ipfw and natd would let me steer traffic such as ftp transfers to the modem while keeping my high priority traffic (ssh, telnet) flowing through the frame connection. Ideas? The box I'm using has two ethernet cards and the modem is attached to it as well. The frame connection comes in via a small ascend router. I'm also interested in ipfilter, but i understand it's difficult to integrate with ppp... Thanks, Charles --- Charles Sprickman spork@super-g.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 21:13:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA05658 for freebsd-net-outgoing; Fri, 9 Oct 1998 21:13:40 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05644 for ; Fri, 9 Oct 1998 21:13:30 -0700 (PDT) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.7/8.8.5) with ESMTP id NAA27389; Sat, 10 Oct 1998 13:45:10 +0930 (CST) Message-Id: <199810100415.NAA27389@at.dotat.com> To: spork cc: freebsd-net@FreeBSD.ORG Subject: Re: IPFW, IPfilter, dummynet, et friends In-reply-to: Your message of "Fri, 09 Oct 1998 23:03:46 -0400." Date: Sat, 10 Oct 1998 13:45:10 +0930 From: Leigh Hart Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Charles, spork wrote: > > Once the techs at Bell Atlantic get the frame switch ready, I'll have a > 56K frame connection to my home again. I've been using the user ppp > package, which is *incredible* and gives me a nice boost over the windows > ppp monstrosity, I mean, *measurable*. I use the packet aliasing feature > to hide all my toys from prying eyes, and it's been working great. > > Since this is my home net, I really want to play around with some things, > including ipfilter and dummynet. I also would like to keep my dialup > connection nailed up as well (good througput, bad latency) and I'm > wondering if any combination of ipfw and natd would let me steer traffic > such as ftp transfers to the modem while keeping my high priority traffic > (ssh, telnet) flowing through the frame connection. > > Ideas? The box I'm using has two ethernet cards and the modem is attached > to it as well. The frame connection comes in via a small ascend router. > > I'm also interested in ipfilter, but i understand it's difficult to > integrate with ppp... I know this doesn't answer your question directly, but on a cisco you'd do this with policy based routing and NAT. Not sure how it would work on FreeBSD, there's no equivalent to policy based routing as far as I know... here's an example cisco config (rough draft, not a working config by any means): ! ip nat inside source list allowed_hosts interface serial0 overload ip nat inside source list allowed_hosts interface serial1 overload ! int Ethernet0 description local lan segment ip address 172.16.1.1 255.255.255.0 ip nat inside ! int Serial0 description frame relay link to the 'net ip address 192.168.1.1 255.255.255.252 ip nat outside ! int Serial1 description modem link to the 'net ip address 10.1.1.1 255.255.255.252 ip nat outside ! ip route 0.0.0.0 0.0.0.0 10.1.1.2 ! default via the modem ! route-map POLICY permit 10 ! policy via the frame relay match ip address telnet_and_ssh set ip next-hop 192.168.1.2 ! alternatively, set interface s0 ! ! might work, not sure which is better. ! ip access-list extended allowed_hosts permit 172.16.1.0 0.0.0.255 ! ip access-list extended telnet_and_ssh permit tcp any any range 22 23 ! Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Fri Oct 9 21:24:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07441 for freebsd-net-outgoing; Fri, 9 Oct 1998 21:24:50 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from at.dotat.com (zed.dotat.com [203.38.154.39]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA07419 for ; Fri, 9 Oct 1998 21:24:42 -0700 (PDT) (envelope-from hart@at.dotat.com) Received: from at.dotat.com (localhost.dotat.com [127.0.0.1]) by at.dotat.com (8.8.7/8.8.5) with ESMTP id NAA27461; Sat, 10 Oct 1998 13:56:18 +0930 (CST) Message-Id: <199810100426.NAA27461@at.dotat.com> To: spork cc: freebsd-net@FreeBSD.ORG Subject: Re: IPFW, IPfilter, dummynet, et friends In-reply-to: Your message of "Sat, 10 Oct 1998 13:45:10 +0930." <199810100415.NAA27389@at.dotat.com> Date: Sat, 10 Oct 1998 13:56:17 +0930 From: Leigh Hart Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ack, forgot the one bit of magic required to make this work :-) Leigh Hart wrote: > > ! > ip nat inside source list allowed_hosts interface serial0 overload > ip nat inside source list allowed_hosts interface serial1 overload > ! > int Ethernet0 > description local lan segment > ip address 172.16.1.1 255.255.255.0 ip policy route-map POLICY > ip nat inside > ! > int Serial0 > description frame relay link to the 'net > ip address 192.168.1.1 255.255.255.252 > ip nat outside > ! > int Serial1 > description modem link to the 'net > ip address 10.1.1.1 255.255.255.252 > ip nat outside > ! > ip route 0.0.0.0 0.0.0.0 10.1.1.2 ! default via the modem > ! > route-map POLICY permit 10 ! policy via the frame relay > match ip address telnet_and_ssh > set ip next-hop 192.168.1.2 ! alternatively, set interface s0 > ! ! might work, not sure which is better. > ! > ip access-list extended allowed_hosts > permit 172.16.1.0 0.0.0.255 > ! > ip access-list extended telnet_and_ssh > permit tcp any any range 22 23 > ! Cheers Leigh -- | "By the time they had diminished | Leigh Hart, | | from 50 to 8, the other dwarves | Dotat Communications Pty Ltd | | began to suspect 'Hungry' ..." | GPO Box 487 Adelaide SA 5001 | | -- Gary Larson, "The Far Side" | http://www.dotat.com/hart/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Oct 10 05:14:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00607 for freebsd-net-outgoing; Sat, 10 Oct 1998 05:14:57 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA00593; Sat, 10 Oct 1998 05:14:54 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id LAA16193; Sat, 10 Oct 1998 11:14:50 +0100 From: Luigi Rizzo Message-Id: <199810101014.LAA16193@labinfo.iet.unipi.it> Subject: Re: ipfw broken? ... To: skafte@worldgate.com (Greg Skafte) Date: Sat, 10 Oct 1998 11:14:50 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG In-Reply-To: <19981009190112.K22107@worldgate.com> from "Greg Skafte" at Oct 9, 98 07:00:53 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > you cannot reasonably expect me to look at 400 lines ruleset! ... > going to the ip_fw.c,v 1.51.2.20 fixed it sorry for the nasty ruleset file no problem, it was just a comment. in any case this is interesting because it seems that "count" commands are somehow treated as "skipto" commands... cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Oct 10 14:53:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA06773 for freebsd-net-outgoing; Sat, 10 Oct 1998 14:53:54 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from Homer.Web-Ex.com ([209.54.66.254]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA06768 for ; Sat, 10 Oct 1998 14:53:48 -0700 (PDT) (envelope-from jim@web-ex.com) Received: from localhost (jim@localhost) by Homer.Web-Ex.com (8.8.8/8.8.8) with ESMTP id RAA14937 for ; Sat, 10 Oct 1998 17:49:51 -0500 (EST) (envelope-from jim@web-ex.com) X-Authentication-Warning: Homer.Web-Ex.com: jim owned process doing -bs Date: Sat, 10 Oct 1998 17:49:51 -0500 (EST) From: Jim Cassata To: FreeBSD Net Subject: xntpd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is anyone using this or a better way to keep server clocks in sync? It doesn't seem to do anything, 4 servers all running xntpd with a /etc/ntp.conf (as per the man pages) as follows: server 128.173.14.71 driftfile /etc/ntp.drift and there is a writable driftfile that never gets written to. According to the complete FreeBSD book, the driftfile's presence in the conf file tells xntpd to get the time from the server, and it's absence tells it to get the time from listening to ntp broadcasts. Jim Cassata 516.421.6000 jim@web-ex.com Web Express 20 Broadhollow Road Suite 3011 Melville, NY 11747 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message From owner-freebsd-net Sat Oct 10 15:48:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11947 for freebsd-net-outgoing; Sat, 10 Oct 1998 15:48:43 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mail.webspan.net (mail.webspan.net [206.154.70.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11942 for ; Sat, 10 Oct 1998 15:48:38 -0700 (PDT) (envelope-from opsys@mail.webspan.net) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970608) with SMTP id SAA27763; Sat, 10 Oct 1998 18:48:25 -0400 (EDT) Date: Sat, 10 Oct 1998 18:48:24 -0400 (EDT) From: Open Systems Networking X-Sender: opsys@orion.webspan.net To: Jim Cassata cc: FreeBSD Net Subject: Re: xntpd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 10 Oct 1998, Jim Cassata wrote: > > Is anyone using this or a better way to keep server clocks in sync? > It doesn't seem to do anything, 4 servers all running xntpd with a > /etc/ntp.conf (as per the man pages) as follows: > > server 128.173.14.71 Is 128.173.14.71 an actual time server? > driftfile /etc/ntp.drift Did you tell xntpd to use this file? > and there is a writable driftfile that never gets written to. According to > the complete FreeBSD book, the driftfile's presence in the conf file tells > xntpd to get the time from the server, and it's absence tells it to get > the time from listening to ntp broadcasts. To get all your servers to sync to a common time you need to tell the main xntpd server that gets its time from an atomic clock to broadcast time notices to your lan. I think the option to xntpd is: broadcast lan-netmask Chris -- "You both seem to be ignoring the fact that the networking market is driven by so-called 'IT professionals' these days, most of whom can't tell the difference between an ARP and a carp." -Wes Peters ===================================| Open Systems Networking And Consulting. FreeBSD 2.2.7 is available now! | Phone: 316-326-6800 -----------------------------------| 1402 N. Washington, Wellington, KS-67152 FreeBSD: The power to serve! | E-Mail: opsys@open-systems.net http://www.freebsd.org | Consulting-Network Engineering-Security ===================================| http://open-systems.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message