Entiendo que solo una debe tener la opción gateway activa ----- Original Message ----- From: "Alexis Roda" <[EMAIL PROTECTED]> To: "Lista Debian" <debian-user-spanish@lists.debian.org> Sent: Friday, September 21, 2001 11:09 AM Subject: [OT] 2 ethernets
> Hola a todos, > estoy intentado configurar una maquina (potato con nucleo 2.2.19) con > dos ethernets y no hay manera de que funcione. A ver si alguien de la > lista puede echarme una mano. > > eth0 es un 3Com 509 y eth1 una DLink 220, ambas son detectadas por el > nucleo y se encuentran en redes diferentes (10.40.0.0/16 y > 10.20.0.0/16). Lo curioso es que si hago pings a ambas IPs solamente > responde la eth0. Si bajo (ifdown) eth0 entonces eth1 si responde, pero > cuando vuelvo a subir eth0 deja de responder. Por si sirve de algo aqui > teneis la tabla de enrutamiento i la salida de ifconfig: > > logger:~# cat /etc/network/interfaces > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) > > # The loopback interface > iface lo inet loopback > > iface eth0 inet static > address 10.40.200.152 > netmask 255.255.0.0 > network 10.40.0.0 > broadcast 10.40.255.255 > gateway 10.40.0.1 > > iface eth1 inet static > address 10.20.200.12 > netmask 255.255.0.0 > network 10.20.0.0 > broadcast 10.20.255.255 > gateway 10.20.0.1 > > logger:~# ifconfig > eth0 Link encap:Ethernet HWaddr 00:A0:24:EB:68:3B > inet addr:10.40.200.152 Bcast:10.40.255.255 Mask:255.255.0.0 > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:14167 errors:0 dropped:0 overruns:0 frame:0 > TX packets:594 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:5 Base address:0x200 > > eth1 Link encap:Ethernet HWaddr 00:80:C8:3A:03:43 > inet addr:10.20.200.12 Bcast:10.20.255.255 Mask:255.255.0.0 > UP BROADCAST RUNNING MTU:1500 Metric:1 > RX packets:840 errors:0 dropped:0 overruns:0 frame:0 > TX packets:41 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:10 Base address:0x300 > > logger:~# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.20.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth1 > 10.40.0.0 0.0.0.0 255.255.0.0 U 0 0 0 > eth0 > 0.0.0.0 10.40.0.1 0.0.0.0 UG 0 0 0 > eth0 > 0.0.0.0 10.20.0.1 0.0.0.0 UG 0 0 0 > eth1 > > > Saludos y gracias por adelantado > -- > //// > (@ @) > ---------------------------oOO----(_)----OOo------------------------ > Los pecados de los tres mundos desapareceran conmigo. > Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain) > -------------------------------------------------------------------- > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >