problem configuring a small ethernet

Sylvain Lemasson <[email protected]> Sat, 22 Nov 2003 21:34:56 +0100 (CET)
Newsgroups gmane.os.freebsd.configuration
Message-ID <[email protected]>
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
	status: active
sis1:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu
1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "[email protected]"