I want to use my Debian as ADSL-Router for my homenetwork.
I did the following:
- plug in a second NIC
- configure second NIC (eth1) so my interfaces-file looks like:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.99
auto eth1
iface eth1 inet static
address 10.0.0.140
netmask 255.0.0.0
gateway 10.0.0.138
eth0 always worked fine for the LAN, eth1 is the new one, which should be connected to the ADSL-modem via ethernet.
- connect modem to eth1 as mentioned.
- configure ppp ( /etc/ppp/options )
Code:
name ***username***
noauth
noipdefault
defaultroute
mtu 1492
mru 2400
- configure chap and pap by adding username and password
- adding my ISPs nameservers to my /etc/resolv.conf
- connect to my ISP with
WELL....
It says, that CHAP-authentification is successful
I receive my dynamic IP
I receive my remote-hosts IP
But I can't ping anything at all!!
Everything thats available for me ist my remote-host
But I dont have a connection to anyone else?
Have I forgot anything?
PLZ help, my ISPs service center doesnt support linux and I start getting more and more confused!
grz, BoB
PS: i use console-only. no x-server, no kde or anything like that!