Setting up LAN and ppp
Hello
I'm trying to put two Linux boxes (my Debian Slink and a RH one) using
LAN and connect both to Internet via DialUp.
My /etc/init.d/network is:
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
ifconfig eth0 192.168.1.1
I did not insert the line
route add -net 192.168.1.0
cause it returns SIOCADDRT: Invalid argument
When I try to ping 192.168.1.2 (the other computer) I get "Operation not
permitted" even as root. When the other machine tries to ping
192.168.1.1 it gets timeout.
I'm stuck. I tried to read /usr/doc/HOWTOS/anithing about setting up
lan, but the documents are a bit confusing (pehaps I'm dumb).
An interesting fact is that if I start a ppp conection (pon) an close
(poff) upon connection, both machines start to ping nicely, and both can
start telnet/ftp connections on the other side.
Can anyone help me?
Claudio
Reply to: