From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 09:09:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EBAE1065676 for ; Thu, 10 Jul 2008 09:09:45 +0000 (UTC) (envelope-from chris@sigd.net) Received: from ms05.mailstreet2003.net (ms05.mailstreet2003.net [69.25.50.235]) by mx1.freebsd.org (Postfix) with ESMTP id EF3A98FC16 for ; Thu, 10 Jul 2008 09:09:44 +0000 (UTC) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Thu, 10 Jul 2008 05:10:25 -0400 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22122DB487@ms05.mailstreet2003.net> In-Reply-To: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Why can't ping Thread-Index: AcjiZYnHaeaObzrcSXadG40EFejlNwABw2oA References: <006e01c8e199$fdc5be60$3f83a8c0@neusofteaf5839> From: "Chris Haulmark" To: "EdwardKing" , Cc: Subject: RE: Why can't ping X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 09:09:45 -0000 Hello! > I configure ed0 when I install FreeBSD7.0,like follows: > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 I noticed you are using ed0 as the interface? There is no ed in FreeBSD. >=20 > Then I Ping itself,like follows: > #ping 172.18.0.19 >=20 > Then result is failure: > ping: sendto: No route to host >=20 > Why? >=20 > I use ifconfig -a to show my ip,like follows: >=20 > le0: flags=3D8843 metric 0 = mtu > 1500 This is your interface - le0. > options=3D8 > either 00:0d:18:23:32:7a > inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 It shows that your le0 interface has not been assigned with the network information that you listed. Try again but use le0 as your interface instead. Chris Haulmark > media: Ethernet autoselect > status: active > plip0:flags=3D108810 metric > 1500 > lo0:flags=3D8049 metric 0 mtu 16384 > inet6::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 >=20 > Where is my following configure information, I can't find them! > Host:test.example.com > Domain:test.com > IPv4 GateWay: 172.18.0.1 > Name server: 172.18.0.250 > IPv4 Address: 172.18.0.19 > Netmask:255.255.255.0 >=20 > What raise to lost my configure information? How to configure my ip and > how to ping successly? >=20 > I am a newer to BSDUnix,please give me detail steps. >=20 > Thanks in advance! > Best regards, > Edward >=20 >=20 > ----------------------------------------------------------------------- > ----------------------- > Confidentiality Notice: The information contained in this e-mail and > any accompanying attachment(s) is intended only for the use of the > intended recipient and may be confidential and/or privileged of Neusoft > Group Ltd., its subsidiaries and/or its affiliates. If any reader of > this communication is not the intended recipient, unauthorized use, > forwarding, printing, storing, disclosure or copying is strictly > prohibited, and may be unlawful. If you have received this > communication in error, please immediately notify the sender by return > e-mail, and delete the original message and all copies from your > system. Thank you. > ----------------------------------------------------------------------- > ------------------------ >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org"