From owner-freebsd-current Sat Feb 6 19:15:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25710 for freebsd-current-outgoing; Sat, 6 Feb 1999 19:15:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from freya.circle.net (freya.circle.net [209.95.95.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA25603 for ; Sat, 6 Feb 1999 19:14:08 -0800 (PST) (envelope-from tcobb@staff.circle.net) From: tcobb@staff.circle.net Received: by freya.circle.net with Internet Mail Service (5.5.2232.9) id <1H4AT203>; Sat, 6 Feb 1999 22:13:08 -0500 Message-ID: To: freebsd-current@FreeBSD.ORG Cc: wpaul@ctr.columbia.edu Subject: 3c905B stops responding during ifconfig alias Date: Sat, 6 Feb 1999 22:13:06 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This happens in -current and -stable. Machine: CPU: Pentium II (quarter-micron) (350.80-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183fbff> real memory = 402653184 (393216K bytes) config> quit avail memory = 388808704 (379696K bytes ... xl0: <3Com 3c905B Fast Etherlink XL 10/100BaseTX> rev 0x30 int a irq 9 on pci0.18.0 ... During an ifconfig xl0 alias, the xl0 interface drops packets. It does NOT generate errors (netstat -in). In fact, on several occasions I've seen it go completely unresponsive (not responding to arp requests) until kicked back to life by outbound packets. This does NOT happen on the: xl0: <3Com 3c905 Fast Etherlink XL 10/100BaseTX> rev 0x00 int a irq 10 on pci0.1 8.0 Here's a quick test program that I use: #!/usr/bin/perl # call this as just_alias.pl class_c num_ips $ip_base=$ARGV[0] || "209.95.67."; $num=$ARGV[1] || 250; for (1..$num) { print "aliasing for $ip_base".$_."\n"; system ("ifconfig xl0 alias $ip_base".$_." netmask 255.255.255.255"); # the sleep command allows us to see the problem more # clearly, though it does happen w/o the sleep here... sleep 1; } -Troy Cobb Circle Net, Inc. http://www.circle.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message