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

共3条 1/1 1 跳转至

PPPOE疑问

菜鸟
2005-10-23 01:48:06     打赏

target一个网口“motfec”

PPPOE client原来的静态地址为192.168.0.65

PPPOE client原来的静态地址为192.168.0.66

client登陆Server后分配了IP地址90.0.0.2

Server的自己分配的IP地址为90.0.0.1

觉得client应该绑定为server分配的IP地址,可是测试时

在tshell里面ping命令"90.0.0.1",”90.0.0.2”

pc机ping “192.168.0.86”,“192.168.0.85“

都OK

那么该接着怎么办???

如果连接上ADSL,分配了公网IP以后

该怎么测试TCP/IP的连接???


-> 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
243 packets received
18 packets sent
16 unicast packets received
16 unicast packets sent
227 non-unicast packets received
2 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: 90.0.0.2
Destination Internet address: 90.0.0.1
Netmask 0xff000000 Subnetmask 0xffffffff
Metric is 0
Maximum Transfer Unit size is 1492
688 octets received
688 octets sent
8 packets received
8 packets sent
8 unicast packets received
8 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
-> ping "90.0.0.1",2
PING 90.0.0.1: 56 data bytes
64 bytes from 90.0.0.1: icmp_seq=0. time=0. ms
64 bytes from 90.0.0.1: icmp_seq=1. time=0. ms
----90.0.0.1 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
value = 0 = 0x0
-> ping "192.168.0.66",2
PING 192.168.0.65: 56 data bytes
64 bytes from 192.168.0.65: icmp_seq=0. time=16. ms
64 bytes from 192.168.0.65: icmp_seq=1. time=0. ms
----192.168.0.65 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/8/16
value = 0 = 0x0




关键词: PPPOE     疑问     received     packets    

菜鸟
2005-10-23 01:50:00     打赏
2楼


菜鸟
2005-10-24 17:26:00     打赏
3楼

共3条 1/1 1 跳转至

回复

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