[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eth0 y eth1 colision



Yo creo que es problema de rutas. Prueba a añadirle una ruta statica
para que vaya a la LAN.

route add 192.168.1.2 192.168.1.1 (Mirate como se hace que este seguro
que falla)

Suerte

On 8/19/05, fernando villarroel <bbddlinux@yahoo.es> wrote:
> Te pego las salidas de netstat, ifconfig y otros
> 
> woody:/home/fvillarroel# netstat -nr
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags
>  MSS Window  irtt Iface
> 10.52.xx.x      0.0.0.0         255.255.255.255 UH
>   40 0          0 ppp0
> 192.168.2.0     0.0.0.0         255.255.255.0   U
>   40 0          0 vpn
> 192.168.1.0     0.0.0.0         255.255.255.0   U
>   40 0          0 eth1
> 192.168.1.0     0.0.0.0         255.255.255.0   U
>   40 0          0 vpn
> 0.0.0.0         10.52.xx.x      0.0.0.0         UG
>   40 0          0 ppp0
> woody:/home/fvillarroel#
> 
> woody:/home/fvillarroel# ifconfig
> eth0      Link encap:Ethernet  HWaddr
> 00:50:BA:4F:6D:B1
>           UP BROADCAST RUNNING MULTICAST  MTU:1500
> Metric:1
>           RX packets:544 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:320 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:61105 (59.6 KiB)  TX bytes:42852
> (41.8 KiB)
>           Interrupt:9 Base address:0xa100
> 
> eth1      Link encap:Ethernet  HWaddr
> 00:20:AF:71:66:49
>           inet addr:192.168.1.1  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:18 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:756 (756.0 b)
>           Interrupt:10 Base address:0x300
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:32 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:32 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:3276 (3.1 KiB)  TX bytes:3276 (3.1
> KiB)
> 
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:200.111.xx.xx  P-t-P:10.52.xx.x
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST
> MTU:1492  Metric:1
>           RX packets:452 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:221 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:3
>           RX bytes:45547 (44.4 KiB)  TX bytes:31957
> (31.2 KiB)
> 
> vpn       Link encap:Point-to-Point Protocol
>           inet addr:192.168.1.1  P-t-P:192.168.1.1
> Mask:255.255.255.0
>           UP POINTOPOINT RUNNING NOARP MULTICAST
> MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0
> frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0
> carrier:0
>           collisions:0 txqueuelen:10
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> 
> woody:/home/fvillarroel# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags
> Metric Ref    Use Iface
> 10.52.xx.x      *               255.255.255.255 UH
> 0      0        0 ppp0
> 192.168.2.0     *               255.255.255.0   U
> 0      0        0 vpn
> localnet        *               255.255.255.0   U
> 0      0        0 eth1
> localnet        *               255.255.255.0   U
> 0      0        0 vpn
> default         10.52.xx.x      0.0.0.0         UG
> 0      0        0 ppp0
> 
> woody:/var/log# lspci
> 00:00.0 Host bridge: Intel Corp. 440FX - 82441FX PMC
> [Natoma] (rev 02)
> 00:0d.0 PCI bridge: IBM IBM27-82351 (rev 01)
> 00:12.0 SCSI storage controller: LSI Logic / Symbios
> Logic (formerly NCR) 53c875 (rev 03)
> 00:14.0 EISA bridge: Compaq Computer Corporation PCI
> to EISA Bridge (rev 07)
> 01:06.0 VGA compatible controller: Cirrus Logic GD
> 5430/40 [Alpine] (rev 22)
> 01:07.0 Network controller: Compaq Computer
> Corporation ProLiant Integrated Netelligent 10/100
> (rev 10)
> 01:09.0 SCSI storage controller: LSI Logic / Symbios
> Logic (formerly NCR) 53c875 (rev 03)
> 01:0b.0 Ethernet controller: D-Link System Inc RTL8139
> Ethernet (rev 10)
> woody:/var/log#
> 
> 
> Te pego lo que me tira dmesg al iniciar el servidor:
> 
> TLAN: eth2 irq=10, io=7800, Compaq Netelligent
> Integrated 10/100 TX UTP, Rev. 16
> TLAN: 1 device installed, PCI: 1  EISA: 0
> eth0: Setting 100mbps full-duplex based on
> auto-negotiated partner ability 41e1.
> eth1: Setting Rx mode to 1 addresses.
> 
> 
> Como ves tengo una vpn y fuinciona perfecto, con
> equipos que estan remotamente.
> Ademas eth0 esta sin dreccion ip ya que por ahy se
> levanta la interfaz ppp0 (ADSL)
> 
> 
> TLAN corresponde a una tarjeta integrada que trae el
> servidor, pero que esa si que esta mala fisicamente en
> el switch de coneccion, no se puede usar
> 
> Ya he probado varias alternativas y nada.
> 
> Lo otro es que no me deja instalar el modulo via-rhine
> que correspionde al modulo que usan las tarjetas de
> d-link, pero no me deja. De que otra forma le puedo
> cargar el modulo de las tarjetas d-link, ademas de
> modconf
> 
> 
> Mi teoria es problema en la tarjeta aunque he probado
> cambiandolas, de hecho tengo un set de 4 tarjetas
> d-link, 3com y no creo que esten todas malas, lo otro
> que pienso es que el hub este presentando problemas.
> 
> Bueno ojala me puedas ayudar
> 
> Fernando Villarroel
> 
>  --- DK <ionidk@gmail.com> escribió:
> 
> > El problema no lo veo en el eth0 mas bien diria que
> > esta en el eth1 o
> > sino en la tabla de rutas. Tambien podria darse el
> > caso de que la
> > propia tarjeta estuviera mal. Has probado a
> > configurar solo la eth0 o
> > la eth1? Quizas la eth1 este mal.
> > Un ping a la IP de la eth1 responde?
> > No tendras iptables no? Si pones iptables -L existe
> > algun drop que
> > pueda ser el causante de los problemas?
> >
> > Un saludo
> >
> >
> > On 8/19/05, Luis Vega <fodsite@gmail.com> wrote:
> > > eth0 es con ip 0.0.0.0 ?
> > > a que te refieres con eso?.
> > >
> > > Si te conectas con eth0, me imagino que tienes una
> > conexion adsl con pppoe.
> > >
> > > A mi parece la interfaz eth0 no deberia llevar
> > ninguna configuracion, ya que
> > > se le asigna un IP cuando se establece la conexion
> > con internet.
> > >
> > > --
> > > Luis Vega M.
> > > Linux Registered User #356394
> > > http://fodsite.webcindario.com
> >
> 
> 
> 
> 
> 
> 
> ______________________________________________
> Renovamos el Correo Yahoo!
> 1GB de capacidad, nuevos servicios y más seguridad
> http://correo.yahoo.es
>



Reply to: