From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 06:16:30 2003 Return-Path: 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 0789F37B401 for ; Thu, 3 Jul 2003 06:16:30 -0700 (PDT) Received: from cicero2.cybercity.dk (cicero2.cybercity.dk [212.242.40.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id D47F843F3F for ; Thu, 3 Jul 2003 06:16:28 -0700 (PDT) (envelope-from db@traceroute.dk) Received: from user4.cybercity.dk (fxp0.user4.ip.cybercity.dk [212.242.41.50]) by cicero2.cybercity.dk (Postfix) with ESMTP id C44A6C269A for ; Thu, 3 Jul 2003 15:16:26 +0200 (CEST) Received: from main (port132.ds1-arsy.adsl.cybercity.dk [212.242.239.73]) by user4.cybercity.dk (Postfix) with SMTP id 7A1E5127904 for ; Thu, 3 Jul 2003 15:16:13 +0200 (CEST) Date: Thu, 3 Jul 2003 15:24:19 +0200 From: Socketd To: current@freebsd.org Message-Id: <20030703152419.583b6810.db@traceroute.dk> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Gateway/Networking problems in FreeBSD 5.1-Release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 13:16:30 -0000 Hi all I have a computer with 3 NIC's (10/100) and I am trying to set it up as a gateway. In /etc/rc.conf I have: ifconfig_rl1="inet 192.168.1.22 netmast 255.255.255.0 media 100baseTX" ifconfig_de0="inet 192.168.1.21 netmast 255.255.255.0 media 100baseTX" ifconfig_rl0="inet 192.168.1.20 netmast 255.255.255.0 media 100baseTX" When booting I get: rl0: port 0xc800-0xc8ff mem 0xea001000-0xea0010ff irq 9 at device 9.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:e0:7d:98:7a:a4 de0: port 0xcc00-0xcc7f mem 0xea000000-0xea00007f irq 12 at device 10.0 on pci0 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:a0:cc:66:8d:73 de0: enabling 100baseTX port de0: link down: cable problem? rl1: port 0xd000-0xd0ff mem 0xea002000-0xea0020ff irq 5 at device 11.0 on pci0 rl1: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl1: Ethernet address: 00:00:e8:71:6e:89 When running ifconfig I get: rl0: flags=8843 mtu 1500 inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:e0:7d:98:7a:a4 media: Ethernet 100baseTX status: active de0: flags=8843 mtu 1500 ether 00:a0:cc:66:8d:73 media: Ethernet 100baseTX status: no carrier rl1: flags=8843 mtu 1500 ether 00:00:e8:71:6e:89 media: Ethernet 100baseTX status: no carrier lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 Only rl0 works. With rl0 I can sniff my LAN, but not connect (ping) to any computers. Another problem is that rl0 and rl1 (I am not testing de0 jet) have status: no carrier after booting. I have to take out and plug in the network cable in order to make them active. Please CC to me as I am not on the list :-) br socketd