Date: Tue, 09 Oct 2001 09:05:05 -0700 From: Jon Drukman <jsd@cluttered.com> To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: 4.4-R: need to ifconfig/route twice to use net Message-ID: <4.3.2.7.2.20011009085651.00b4a2e8@10.10.10.1>
next in thread | raw e-mail | index | archive | help
I just did a totally fresh install of 4.4-RELEASE on a brand new machine -
totally blank unpartitioned hard disks.
The installation appeared to go smoothly until I got to the "set root
password" phase, at which point the installer hung. I aborted out of that
and booted up from the new install. It all seems complete except for one
extremely bizarre problem.
The machine boots up normally, goes through the rc scripts fine, but cannot
access the network at all. I can ping my own IP and localhost, but not the
gateway IP, or anything else on the local net (and of course the
internet). ifconfig -a and netstat -rn produce:
Destination Gateway Flags Refs Use Netif Expire
default 10.10.10.1 UGSc 0 0 sis0
10.10.10/24 link#1 UC 1 0 sis0
10.10.10.1 link#1 UHLW 1 0 sis0
127.0.0.1 127.0.0.1 UH 0 0 lo0
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.10.10.24 netmask 0xffffff00 broadcast 10.10.10.255
ether 00:d0:09:fb:8d:0c
media: Ethernet 10baseT/UTP <full-duplex> (none)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
i recompiled a new kernel without ipv6 just to be on the safe side, but
this problem is exactly the same with both the GENERIC kernel and my own.
now the really weird part is, if i just issue the ifconfig and route
commands again, it all works perfectly.
# ifconfig sis0 inet 10.10.10.24 netmask 0xffffff00 media 10baseT/UTP
mediaopt full-duplex
# route add default 10.10.10.1
the output from ifconfig & netstat now looks like this:
Destination Gateway Flags Refs Use Netif Expire
default 10.10.10.1 UGSc 1 2 sis0
10.10.10/24 link#1 UC 1 0 sis0
10.10.10.1 0:e0:29:73:ee:11 UHLW 2 14 sis0 1028
127.0.0.1 127.0.0.1 UH 0 0 lo0
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.10.10.24 netmask 0xffffff00 broadcast 10.10.10.255
ether 00:d0:09:fb:8d:0c
media: Ethernet 10baseT/UTP <full-duplex>
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
i diff'd the two and the only things i find are the new mac address for
10.10.10.1 in the routing table (understandable) and the "(none)" on the
end of sis0's media line is gone. i'm cc'ing net thinking that maybe this
is some kind of weird sis-driver bug, maybe because i'm using 10baseT
instead of 100baseT?
oh yeah, my rc.conf file is:
sshd_enable="YES"
hostname="db.gamespot.com"
ifconfig_sis0="inet 10.10.10.24 netmask 255.255.255.0 media 10BaseT/UTP
mediaopt full-duplex"
defaultrouter="10.10.10.1"
sendmail_enable="NO"
any ideas? this machine has to go into a colo soon so it really needs to
be able to get on the net on its own from a cold boot!
thanks!
-jsd-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20011009085651.00b4a2e8>
