PPPoE server v.s. how to route?

這個版面主要討論 debian 在 server 端的應用問題, server 種類繁多..舉凡 Web Server 、 File Server、 DHCP Server..等等。

版主: 阿信

PPPoE server v.s. how to route?

文章cephalus » 週二 1月 20, 2009 4:32 pm

Hi all

I have one PC with only one NIC. The eth0 IP is 172.25.18.122. This IP can connect to internet.

And then I run the PPPoE server on it, the command is "pppoe-server -I eth0 -L 192.168.1.100 -R 10.0.0.1 &". I use the windows XP as the PPPoE client connects to my PPPoE server. My windows xp get a IP 10.0.0.1.

At the windwos XP command mode, I run "ping 192.168.1.100". It works. But If I ping 172.25.18.122, it fails, and the www.yahoo.com also can not ping, either.

Can anyone help me to slove it? add route table (how to add?) or the settings is impossible to route to internet?

P.S. There is only one NIC on the PPPoE server, so that the packet trace should be WindowsXP-->PPPoE-->PPP0-->LinuxOS-->eth0-->internet. I think it should be no problem even only one NIC (But 2 interfaces).

Cephalus Hu
cephalus
可愛的小學生
可愛的小學生
 
文章: 1
註冊時間: 週一 7月 14, 2008 11:54 am

回到 debian server

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客