这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » PPPOE分配IP地址的问题?

共3条 1/1 1 跳转至

PPPOE分配IP地址的问题?

菜鸟
2005-10-22 18:00:11     打赏

-> ifShow
motfec (unit number 0):
Flags: (0x8063) UP BROADCAST MULTICAST ARP RUNNING
Type: ETHERNET_CSMACD
Internet address: 192.168.0.66
Broadcast address: 192.168.0.255
Netmask 0xffffff00 Subnetmask 0xffffff00
Ethernet address is 00:00:00:11:22:33
Metric is 0
Maximum Transfer Unit size is 1500
0 octets received
0 octets sent
371 packets received
17 packets sent
14 unicast packets received
13 unicast packets sent
357 non-unicast packets received
4 non-unicast packets sent
0 input discards
0 input unknown protocols
0 input errors
0 output errors
0 collisions; 0 dropped
lo (unit number 0):
Flags: (0x8069) UP LOOPBACK MULTICAST ARP RUNNING
Type: SOFTWARE_LOOPBACK
Internet address: 127.0.0.1
Netmask 0xff000000 Subnetmask 0xff000000
Metric is 0
Maximum Transfer Unit size is 32768
0 packets received; 0 packets sent
0 multicast packets received
0 multicast packets sent
0 input errors; 0 output errors
0 collisions; 0 dropped
ppp (unit number 1):
Flags: (0xf1) UP POINT-TO-POINT RUNNING
Type: PPP
Internet address: 0.245.68.128
Destination Internet address: 0.245.68.136
Netmask 0xff000000 Subnetmask 0xffffffff
Metric is 0
Maximum Transfer Unit size is 1492
0 octets received
0 octets sent
0 packets received
0 packets sent
0 unicast packets received
0 unicast packets sent
0 non-unicast packets received
0 non-unicast packets sent
0 input discards
0 input unknown protocols
0 input errors
0 output errors
value = 21 = 0x15

发现IP地址还是静态的IP 地址192.168.0.66

-> ping "0.245.68.136",1
no answer from 0.245.68.136
value = -1 = 0xffffffff = udbinfo + 0xffea7c1f
-> ping "0.245.68.128",1
0.245.68.128 is alive
value = 0 = 0x0
-> ping "192.168.0.66",1
192.168.0.66 is alive
value = 0 = 0x0

为什么?




关键词: PPPOE     分配     地址     问题     received     p    

菜鸟
2005-10-22 18:07:00     打赏
2楼

在PPPOE server端的测试如下:

> ping "0.245.68.136",1
0.245.68.136 is alive
value = 0 = 0x0
-> ping "0.245.68.128"
PING 0.245.68.128: 56 data bytes
no answer from 0.245.68.128
value = -1 = 0xffffffff = udbinfo + 0xffea7b5f

WHY?

thanks!


菜鸟
2005-10-22 23:09:00     打赏
3楼
ding!

共3条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]