From owner-freebsd-questions Wed Jul 9 02:39:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA07191 for questions-outgoing; Wed, 9 Jul 1997 02:39:14 -0700 (PDT) Received: from accton.com.tw (accton.com.tw [203.70.236.236]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA07173 for ; Wed, 9 Jul 1997 02:39:01 -0700 (PDT) From: adams@accton.com.tw Received: by AccSMTP Gateway for AccMail (v3.01.08/k4.10); Wed, 9 Jul 1997 17:40:49 +0800 Message-Id: <19970709.17404914@$T278185.AccSMTP> Accsmtp: AccMail Received: from adams.accton.com.tw ([210.66.165.63]) by AccSMTP Gateway for AccMail (v3.01.08/k4.10) [203.70.236.237]; Wed, 9 Jul 1997 17:39:25 +0800 Message-ID: <33C35C43.2D63@accton.com.tw> Date: Wed, 09 Jul 1997 17:39:15 +0800 Reply-To: adams@accton.com.tw Organization: accton X-Mailer: Mozilla 3.01Gold (Win95; I) To: freebsd-questions@FreeBSD.ORG Subject: No route to host Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Dear sir: I've installed a FreeBSD but can't ping to other hosts except for ip 127.0.0.1. If I do "ifconfig ed0 203.70.236.113 netmask 255.255.255.0" then system show me myname routed[47]:write(rt_sock) RTM_ADD 203.70.236.0-->203.70.236.113:file exits myname routed[47]:send to (ed0 224.0.0.2):no route to host myname /kernel:ed0:device timeout myname routed[47]:interface ed0 to 203.70.236.113 bad:in=1 ierr=0 out=1 oerr=1 Then I ping 203.70.236.113 it show me: ping: wrote 203.70.236.113 64 chars,ret=-1 ping:send to: no route to host Now I do "route add default 203.70.236.254" which is our company's router Then I ping 203.70.236.113 it show me: PING 203.70.236.113: 56 data bytes 203 /kernel:arpresolv:can't allocate llinfo for 203.70.236.254 Why? Anyone can help me? PS: After I installed the system there are not /etc/sysconfig. Do I need to edit this file. What parameter I have to edit. Thanks a lot. ADAMS