19/08/2011, 07:32
|
| | Fecha de Ingreso: agosto-2011
Mensajes: 1
Antigüedad: 13 años, 3 meses Puntos: 0 | |
Problema con 2 placas de red Hola a todos: tengo un servidor al que le instale un debian squeeze.
Tiene 2 placas de red, una para conexion con Internet y la otra para la red interna.
La de la configuracion a internet funciona barbara pero la otra no, les paso el archivo interfaces a ver si ahi le estoy errando
Código:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 200.xxx.xxx.20
netmask 255.255.255.0
network 200.xxx.xxx.0
broadcast 200.xxx.xxx.255
gateway 200.xxx.xxx.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 200.xxx.xxx.xxx 200.xxx.xxx.xxx
auto eth1
iface eth1 inet static
address 192.198.0.50
netmask 255.255.255.0
network 192.168.0.0
Tambien hice las siguientes pruebas
sudo route
Código:
========
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
192.198.0.0 * 255.255.255.0 U 0 0 0 eth1
default router2.xxxx 0.0.0.0 UG 0 0 0 eth0
sudo ifconfig
Código:
=========
eth0 Link encap:Ethernet HWaddr 00:10:22:ff:c4:6d
inet addr:200.xxx.xxx.20 Bcast:200.xxx.xxx.255 Mask:255.255.255.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55169 errors:0 dropped:0 overruns:1 frame:0
TX packets:1262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7475608 (7.1 MiB) TX bytes:197837 (193.2 KiB)
Interrupt:17 Base address:0xe000
eth1 Link encap:Ethernet HWaddr b4:99:ba:5c:70:9d
inet addr:192.198.0.50 Bcast:192.198.0.255 Mask:255.255.255.0
inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4119 (4.0 KiB) TX bytes:492 (492.0 B)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1512 (1.4 KiB) TX bytes:1512 (1.4 KiB)
dmesg | grep eth
Código:
============
[ 1.252252] eth0: Tigon3 [partno(BCM95723) rev 5784100] (PCI Express) MAC address xx:xx:xx:xx:xx:xx
[ 1.252255] eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1])
[ 1.252257] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] TSOcap[1]
[ 1.252259] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 3.434202] udev[499]: renamed network interface eth0 to eth0-eth1
[ 3.511337] udev[440]: renamed network interface eth1 to eth0
[ 3.534600] udev[499]: renamed network interface eth0-eth1 to eth1
[ 5.333392] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 6.002094] eth0: setting full-duplex.
[ 7.601757] tg3: eth1: Link is up at 100 Mbps, full duplex.
[ 7.601759] tg3: eth1: Flow control is on for TX and on for RX.
[ 7.601912] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 16.669120] eth0: no IPv6 routers present
[ 18.322390] eth1: no IPv6 routers present
[ 743.382545] tg3: eth1: Link is down.
ip link
Código:
====
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
Si hago ping a la eth0 que es de internet responde de 10.
En cambio con la eth1
ping 192.168.0.50
PING 192.168.0.50 (192.168.0.50) 56(84) bytes of data.
se queda ahi.... no hace nada
Alguien me puede decir que puedo hacer? que tengo mal?
Saludos y gracias |