Re: Why can't ping

2008-07-10 Thread Jerry McAllister
On Wed, Jul 09, 2008 at 04:01:27PM +0800, EdwardKing wrote:

> 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 
> 
> Then I Ping itself,like follows: 
> #ping 172.18.0.19 
> 
> Then result is failure:
> ping: sendto: No route to host 
> 
> Why? 

I'll make a wild guess that you have DHCP turned on and your le0 NIC 
was automatically configured the way it shows below.
Then, either you don't have an ed0 on the machine, or for some reason,
the system does not find it.   Check dmesg(8) to see if the system
finds an ed0 NIC.

jerry   

> 
> I use ifconfig -a to show my ip,like follows:
>  
> le0: flags=8843  metric 0 mtu 1500 
> options=8  
> either 00:0d:18:23:32:7a 
> inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1 
> inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 
> media: Ethernet autoselect 
> status: active 
> plip0:flags=108810  metric 1500 
> lo0:flags=8049  metric 0 mtu 16384 
> inet6::1 prefixlen 128 
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
> inet 127.0.0.1 netmask 0xff00 
> 
> 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 
> 
> What raise to lost my configure information? How to configure my ip and how 
> to ping successly?
> 
> I am a newer to BSDUnix,please give me detail steps.
> 
> Thanks in advance!
> Best regards,
> Edward
> 
> 
> --
> 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. 
> ---
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why can't ping

2008-07-10 Thread Polytropon
On Thu, 10 Jul 2008 05:10:25 -0400, "Chris Haulmark" <[EMAIL PROTECTED]> wrote:
> There is no ed in FreeBSD.

Off topic, but there is:

% man 4 ed
ed -- NE-2000 and WD-80x3 Ethernet driver

Older NIC, but still present, works for RealTek RTL-8029,
for example.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why can't ping

2008-07-10 Thread sac u
>
> This is your interface - le0.



Additonally do not forget to run /etc/netstart

> options=8 
> > either 00:0d:18:23:32:7a
> > inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1
> > inet 0.0.0.0 netmask 0xff00 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


sac.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Why can't ping

2008-07-10 Thread Chris Haulmark

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.

> 
> Then I Ping itself,like follows:
> #ping 172.18.0.19
> 
> Then result is failure:
> ping: sendto: No route to host
> 
> Why?
> 
> I use ifconfig -a to show my ip,like follows:
> 
> le0: flags=8843  metric 0 mtu
> 1500

This is your interface - le0.


> options=8 
> either 00:0d:18:23:32:7a
> inet6 fe80::20c:29ff:fe76:365a%le0 prefixlen 64 scopeid 0x1
> inet 0.0.0.0 netmask 0xff00 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=108810  metric
> 1500
> lo0:flags=8049  metric 0 mtu 16384
> inet6::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet 127.0.0.1 netmask 0xff00
> 
> 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
> 
> What raise to lost my configure information? How to configure my ip
and
> how to ping successly?
> 
> I am a newer to BSDUnix,please give me detail steps.
> 
> Thanks in advance!
> Best regards,
> Edward
> 
> 
>
---
> ---
> 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.
>
---
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"