Am Montag, 17. M�rz 2003 18:34 schrieb Heriberto H�hlke: > Hello > > I tried my first ADSL connection. I thought the interface connecting to > Internet would be eth0, but it is ppp0. Is this correct or is something > wrong?
All is well; you might look into shorewall configuration, where you have to adjust the settings from eth0 to ppp0 and don't forget to set CLAMPMSS in shorewall.conf to YES. kp > # ip addr > 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 brd 127.255.255.255 scope host lo > 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop > link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff > 3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:c0:df:f5:02:4a brd ff:ff:ff:ff:ff:ff > 4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:c0:df:ec:4e:74 brd ff:ff:ff:ff:ff:ff > inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1 > 5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 3 > link/ppp > inet 200.45.218.59 peer 200.3.62.138/32 scope global ppp0 > > # /etc/network/interfaces > # Loopback interface. > auto lo > iface lo inet loopback > # Option 1.3: PPP/PPPOE (modem connected to eth0) > auto ppp0 > iface ppp0 inet ppp > pre-up ip link set eth0 up > provider dsl-provider eth0 > # > # Option 1.4: PPP modem > #auto ppp0 > #iface ppp0 inet ppp > # provider provider > > # Step 2: configure internal interface > # Default: eth1 / fixed IP = 192.168.1.254 > auto eth1 > iface eth1 inet static > address 192.168.1.254 > masklen 24 > broadcast 192.168.1.255 > > Regards > Heriberto > > ------------ > �Internet GRATIS es Yahoo! Conexi�n! > Usuario "yahoo", contrase�a "yahoo". > Desde Buenos Aires, 4004-1010. > Otras ciudades: http://conexion.yahoo.com.ar/avanzados.html > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > ------------------------------------------------------------------------ > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
