From owner-freebsd-current Thu Dec 5 18:31:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526B737B401 for ; Thu, 5 Dec 2002 18:31:46 -0800 (PST) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B2443ECD for ; Thu, 5 Dec 2002 18:31:45 -0800 (PST) (envelope-from jhs@berklix.com) Received: from fwd04.sul.t-online.de by mailout08.sul.t-online.com with smtp id 18K8HI-0003C0-00; Fri, 06 Dec 2002 03:31:44 +0100 Received: from jhs.muc.de (520006753247-0001@[217.235.110.32]) by fmrl04.sul.t-online.com with esmtp id 18K8HG-0ORycqC; Fri, 6 Dec 2002 03:31:42 +0100 Received: from flip.jhs.private (flip.jhs.private [192.168.91.24]) by jhs.muc.de (8.11.6/8.11.6) with ESMTP id gB62cWC08704 for ; Fri, 6 Dec 2002 03:38:32 +0100 (CET) (envelope-from jhs@berklix.com) Received: (from jhs@localhost) by flip.jhs.private (8.11.6/8.11.6) id gB62c3058291; Fri, 6 Dec 2002 03:38:03 +0100 (CET) (envelope-from jhs) Date: Fri, 6 Dec 2002 03:38:03 +0100 (CET) Message-Id: <200212060238.gB62c3058291@flip.jhs.private> To: current@freebsd.org Subject: 2nd ether device wont config From: "Julian Stacey" Organization: Vector Systems Ltd, Munich Unix & System Engineering Consultancy X-Web: http://berklix.com/~jhs/ Fcc: sent-mail X-Sender: 520006753247-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG With DP-2 my 2nd ether won't config ( but I've got other FreeBSDs right in the past with 2 ether cards. the mail gate on another box, relaying this mail has DSL+ether & Internal net+ether) Any know why some devices get conf'd as inet6 + inet & some just as inet6 ? Could that be part of the problem ? If I boot with /etc/rc.conf ifconfig_fxp0="inet 192.168.53.47 netmask 255.255.255.0" # ifconfig_ed1="inet 192.168.53.39 netmask 255.255.255.0" # network_interfaces="auto" # default I see: ifconfig -a fxp0: flags=8843 mtu 1500 inet 192.168.53.47 netmask 0xffffff00 broadcast 192.168.53.255 inet6 fe80::2a0:c9ff:fe9c:e0a5%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:9c:e0:a5 media: Ethernet autoselect (10baseT/UTP) status: active lp0: flags=8810 mtu 1500 ed1: flags=8802 mtu 1500 ether 00:00:b4:36:a5:04 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 ifconfig ed1 inet 192.168.53.39 ifconfig: ioctl (SIOCAIFADDR): File exists ifconfig ed1 192.168.53.39 ifconfig: ioctl (SIOCAIFADDR): File exists ifconfig lp0 10.0.0.1 10.0.0.2 works ok If I boot with /etc/rc.conf ifconfig_fxp0="inet 192.168.53.47 netmask 255.255.255.0" ifconfig_ed1="inet 192.168.53.39 netmask 255.255.255.0" I see: ifconfig -a fxp0: flags=8843 mtu 1500 inet 192.168.53.47 netmask 0xffffff00 broadcast 192.168.53.255 inet6 fe80::2a0:c9ff:fe9c:e0a5%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:9c:e0:a5 media: Ethernet autoselect (10baseT/UTP) status: active lp0: flags=8810 mtu 1500 ed1: flags=8843 mtu 1500 inet6 fe80::200:b4ff:fe36:a504%ed1 prefixlen 64 scopeid 0x3 ether 00:00:b4:36:a5:04 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 If I boot with /etc/rc.conf ifconfig_ed1="inet 192.168.53.47 netmask 255.255.255.0" ifconfig_fxp0="inet 192.168.53.39 netmask 255.255.255.0" I see: ifconfig -a fxp0: flags=8843 mtu 1500 inet 192.168.53.39 netmask 0xffffff00 broadcast 192.168.53.255 inet6 fe80::2a0:c9ff:fe9c:e0a5%fxp0 prefixlen 64 scopeid 0x1 ether 00:a0:c9:9c:e0:a5 media: Ethernet autoselect (10baseT/UTP) status: active lp0: flags=8810 mtu 1500 ed1: flags=8843 mtu 1500 inet6 fe80::200:b4ff:fe36:a504%ed1 prefixlen 64 scopeid 0x3 ether 00:00:b4:36:a5:04 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 It could be my BIOS isnt right (as the ed1 is an ISA card), dmesg: ed1: at port 0x240-0x25f iomem 0xc0000-0xc3fff irq 10 on isa0 ed1: address 00:00:b4:36:a5:04, type NE2000 (16 bit) bios: irq 10 allocated to ISA bus, PNP OS was off. tried on, made no difference. But I think even if the BIOS is wrong somewhere, there's perhaps more to fix on FreeBSD side ? Any Ideas ? PS I'ts not actually using 192.168.53 but 192.168.??, but changed for email to protect `the innoocent` :-) Julian Stacey jhs @ berklix.com Computer Systems Engineer, Unix & Net Consultant, Munich. Ihr Rauchen => mein allergischer Kopfschmerz ! Schnupftabak probieren. Munich BSD Conference: http://berklix.org/conf/ Spam phrases triggering deletion: http://berklix.com/jhs/mail/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message