日期:2014-05-16  浏览次数:20699 次

怎么将虚拟机(fedora)配置成pppoe服务器,windows作客户端,急啊!!!
我是在win7上装的虚拟机,虚拟机里是fedora8,现在的工作任务是要将虚拟机配置成pppoe服务器,windows作为客户端去连虚拟机,可是一直不通,郁闷一天了。
我的虚拟机配置情况:
  eth0:192.168.102.58 (桥接模式)
  eth1:192.168.30.128 (NAT模式)

/etc/ppp/pppoe-server-options的配置如下:
  # PPP options for the PPPoE server
  # LIC: GPL
  #require-pap
  require-chap
  login
  lcp-echo-interval 10
  lcp-echo-failure 2

/etc/ppp/chap-secrets 的配置如下:
  # Secrets for authentication using CHAP  
  # client server secret IP addresses
  "admin" * "admin" *
  ####### system-config-network will overwrite this part!!! (begin) ########## 
  ####### system-config-network will overwrite this part!!! (end) ############

最后下命令如下:
  pppoe-server -I eth0 -L 192.168.102.58 -R 192.168.102.100 -N 10

各位大侠帮忙看看哪里有问题吗?小弟是新手,多多指教啊!

------解决方案--------------------
chap-secrets

是不需要加""的~~

还有 也不需要eth1~~

 pppoe-server -I eth0 -L 192.168.102.58 -R 192.168.102.100 -N 10 ???

这个??

你桥接就好了~~ 然后WINDOWS链接的时候 服务器地址就是 58 帐号密码就是admin


------解决方案--------------------
连pptpd启动没启动读不知道,,,

netstat -an | grep 1723

1723端口开了就启动了~

/etc/init.d/pptpd start

------解决方案--------------------
看看/var/log/messages里的信息,pppoe应该会记录在这里