Re: ADSL y 2 Tarjetas Red
El Mon, 15 Sep 2003 22:47:34 -0700 (PDT)
FERNANDO VILLARROEL <fvillarroel@yahoo.com> escribió:
> Hola Angel te reenvio las rutas, ifconfig y
> interfaces;
> esto ya que mi adsl es dinamico oK:
En realidad eso no importa mucho, yo tengo lo mismo.
[...]
> eth1 Link encap:Ethernet HWaddr
> 00:10:5A:E0:D5:A1
> inet addr:192.168.1.2 Bcast:192.168.1.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500
> Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0
> frame:0
> TX packets:240 errors:0 dropped:0 overruns:0
> carrier:0
> collisions:0 txqueuelen:100
> RX bytes:0 (0.0 b) TX bytes:10080 (9.8 KiB)
> Interrupt:10 Base address:0x300
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:200.72.216.171 P-t-P:10.52.30.4
> Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST
> MTU:1492 Metric:1
> RX packets:9 errors:0 dropped:0 overruns:0
> frame:0
> TX packets:11 errors:0 dropped:0 overruns:0
> carrier:0
> collisions:0 txqueuelen:3
> RX bytes:701 (701.0 b) TX bytes:639 (639.0
> b)
>
> woody:/home/fvillarroel# route
> Kernel IP routing table
> Destination Gateway Genmask Flags
> Metric Ref Use Iface
> 10.52.30.4 * 255.255.255.255 UH
> 0 0 0 ppp0
> localnet * 255.255.255.0 U
> 0 0 0 eth1
> default 10.52.30.4 0.0.0.0 UG
> 0 0 0 ppp0
Aquí puede haber cierto problema, ¿cómo tienes definida la variable
localnet? Envía el comando "route -n" que dirá los números nada más
(en la página del manual de route tienes otras opciones que te podrán
ayudar en el futuro).
>
> Ahy va /etc/network/interfaces
>
> # /etc/network/interfaces -- configuration file for
> ifup(8), ifdown(8)
>
> # The loopback interface
> auto lo
> #auto lo eth0 eth1
>
> iface lo inet loopback
>
> # The first network card - this entry was created
> during the Debian installation
> # (network, broadcast and gateway are optional)
> #auto eth0
> #iface eth0 inet static
> # address 194.168.1.1
> # netmask 255.255.255.0
> # network 194.168.1.0
> # broadcast 194.168.1.255
> # gateway 192.168.1.1
> auto eth1
> iface eth1 inet static
> address 192.168.1.2
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> auto eth0
> iface eth0 inet static
> address 0.0.0.0
> netmask 0.0.0.0
> network 0.0.0.0
> _ broadcast 0.0.0.0
Como comenté antes, yo dejaría nada más "auto eth0" para la eth0.
--
Atentamente, yo <Matías>
Nunca hay libertad en una invasión
http://nnss.reop.net
http://savannah.gnu.org/projects/tasklist
Reply to: