|
|
本人最近在学习PPPOE方面的知识。在实践中遇到了一些问题,请各位高手解答。
一、实验环境:
拓扑:NAT设备---------主机A(pppoe_server)---------主机B(pppoe_client)
主机A(server 2003 RAS+RASPPPOE_099搭建PPPoe服务器)
IP 192.168.1.2
255.255.255.0
192.168.1.1
202.103.224.68
MAC 00-03-FF-17-AC-2D
主机B(windows XP sp2)
IP 192.168.0.2
255.255.255.0
MAC 00-03-FF-17-AC-2D
二、实验描述:
1、在pppoe_client下新建pppoe拔号连接并进行拔号。
拔号成功后生成一块虚拟的网卡,相关的参数如下:
PPP adapter PPPoe:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.207
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.1.207
DNS Servers . . . . . . . . . . . : 202.103.224.68
NetBIOS over Tcpip. . . . . . . . : Disabled
2、同时检查pppoe_server也产生一块虚拟网块,相关参数如下:
PPP adapter RAS Server (Dial In) Interface:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
DHCP Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.200
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
3、 检查pppoe_client的路由表如下:
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.5 20
0.0.0.0 0.0.0.0 192.168.1.207 192.168.1.207 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.5 192.168.0.5 20
192.168.0.5 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.0.255 255.255.255.255 192.168.0.5 192.168.0.5 20
192.168.1.200 255.255.255.255 192.168.1.207 192.168.1.207 1
192.168.1.207 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.1.255 255.255.255.255 192.168.1.207 192.168.1.207 50
224.0.0.0 240.0.0.0 192.168.0.5 192.168.0.5 20
224.0.0.0 240.0.0.0 192.168.1.207 192.168.1.207 1
255.255.255.255 255.255.255.255 192.168.0.5 192.168.0.5 1
255.255.255.255 255.255.255.255 192.168.1.207 192.168.1.207 1
Default Gateway: 192.168.1.207
三、问题
1、pppoe_client的默认路由指向自己,路由表中到0.0.0.0的网络下一跳也是指向自己的接口IP。
当pppoe_client要访问internet时,数据包怎么出去?
2、当pppoe_client访问internet时,在pppoe_server上抓包发现数据包二层地址是server的,但三层地址是client的,怎么回事?
3、client拔号成功后产生了一块虚拟的网卡,同时server端也会产生一块。这两块网卡的参数为什么physical地址都是一样的,能不能说两块IP对应了一个MAC?
4、在提问之前我也在网上查了很多资料,可是大部会都说pppoe协议原理,没有涉及到通讯的过程。
望各位兄弟帮心解答………… |
|