From owner-freebsd-config@FreeBSD.ORG Sat Nov 22 12:35:06 2003 Return-Path: Delivered-To: freebsd-config@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2361616A4CE for ; Sat, 22 Nov 2003 12:35:06 -0800 (PST) Received: from web25210.mail.ukl.yahoo.com (web25210.mail.ukl.yahoo.com [217.12.10.70]) by mx1.FreeBSD.org (Postfix) with SMTP id A3AAC43FBD for ; Sat, 22 Nov 2003 12:35:04 -0800 (PST) (envelope-from sylvain_lemasson@yahoo.fr) Message-ID: <20031122203456.64118.qmail@web25210.mail.ukl.yahoo.com> Received: from [80.9.11.67] by web25210.mail.ukl.yahoo.com via HTTP; Sat, 22 Nov 2003 21:34:56 CET Date: Sat, 22 Nov 2003 21:34:56 +0100 (CET) From: =?iso-8859-1?q?Sylvain=20Lemasson?= To: freebsd config MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: problem configuring a small ethernet X-BeenThere: freebsd-config@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Installation and Configuration List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 20:35:06 -0000 Hello, I have a computer running on freebsd that has two ethernet card (10.33.20.2 and 10.33.20.3). The first is connect two a windows pc and the second for the moment is unused (in the future it will be connected two internet). I have got two problems that may be link.Below you can found my rc.conf and the result of the ifconfig command. First, when I boot my freebsd, the network after being start is shutdown and I must restart it with the command 'netif start'. Secondly, just one of the two ethernet card is configured properly with an IP adresse. Actually it is the first defind by the network_interfaces property in the rc.conf file. The second does not have an IP adresse and I must add it by myself using the ifconfig command. Actually, this second interface is never reachable by any ping and I do not understand why. It seems that freebsd does not want two ethernet card. If someone could help me to boot properly my freebsd, I will be joyfull. Thank you --rc.conf # Created: Sun Oct 19 19:01:31 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. network_interfaces="lo0 lp0 sis0 sis1" hostname="PARIS" ifconfig_sis0="inet 10.33.20.2 netmask 255.255.255.0 media 100baseTX" ifconfig_sis1="inet 10.33.20.3 netmask 255.255.255.0 media 100baseTX" inetd_enable="YES" kern_securelevel_enable="NO" keymap="fr.iso.acc" linux_enable="YES" moused_enable="YES" sendmail_enable="NONE" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" sshd_enable="YES" usbd_enable="YES" gatway_enable="YES" --ifconfig sis0: flags=8843 mtu 1500 inet6 fe80::209:5bff:fe1d:9280%sis0 prefixlen 64 scopeid 0x1 inet 10.33.20.2 netmask 0xffffff00 broadcast 10.33.20.255 ether 00:09:5b:1d:92:80 media: Ethernet 100baseTX (100baseTX ) status: active sis1: flags=8843 mtu 1500 inet6 fe80::209:5bff:fe22:37c3%sis1 prefixlen 64 scopeid 0x2 ether 00:09:5b:22:37:c3 media: Ethernet 100baseTX (none) status: no carrier lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 --netstart . /etc/rc.subr load_rc_config 'XXX' /etc/rc.d/pccard start /etc/rc.d/devd start /etc/rc.d/hostname start /etc/rc.d/ipmon start /etc/rc.d/ipfilter start /etc/rc.d/ipnat start /etc/rc.d/ipfs start /etc/rc.d/sppp start # /etc/rc.d/atm1 start # . /etc/rc.d/atm2.sh start # . /etc/rc.d/atm3.sh start /etc/rc.d/netif start /etc/rc.d/ipsec start /etc/rc.d/dhclient start /etc/rc.d/isdnd start /etc/rc.d/ppp-user start /etc/rc.d/ipfw start /etc/rc.d/network2 start /etc/rc.d/ip6fw start /etc/rc.d/network_ipv6 start /etc/rc.d/mroute6d start /etc/rc.d/route6d start /etc/rc.d/mrouted start /etc/rc.d/routed start /etc/rc.d/nisdomain start exit 0 ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com