dsl interface problem
ok, here is my problem.
i set up my dsl via pppoe ( roaring penguin ) and pptp. the eth0 network card is connected to the dsl modem, and gets its ip adress via dhcp from the modem. the dial up via pptp works fine, i can ping the modem and i can log in ( into my computer ) via ssh from any other computer in the internet ( i tested it with a friend ). the problem is, I can only ping ip addresses if i use ping -I ppp0 ( or my ip address ) if i do not use the -I switch with the right interface it wont work because linux is using the ip adress I got form the modem ( somwhat in the 192.168.0.* subnet ). i tried to set the default gw via route add default gw ip-adress but it doesn t work at all. so what ip adress do i have to set for gw?
- my own dynamic one
- the one of the pptp partner?
- something else?
or can anybody explain me how to steh the -I option you can use with the ping command for the whole computer?
thanks in advance...
|