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

Duas Placas de Rede.



Ola Amigos,

Eu espetei outra placa de rede aqui no debian potato! :)

Inseri o modulo e fiz as configs no /etc/network/interfaces ficando assim:

Debian:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a #, and everything on the line after them are ignored.
rtl8139
ne2k-pci

ps.: Uma placa eh uma Realtek8139 (rtl8139.o) e a outra um Realtek8129(AS)
(ne2k-pci).


Debian:~# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
iface lo inet loopback

# Config da eth0
iface eth0 inet static
address 192.168.151.2
netmask 255.255.255.0
network 192.168.151.0
broadcast 192.168.151.255
gateway 192.168.151.1

# config da eth1
iface eth1 inet static
address 192.168.151.3
netmask 255.255.255.0
network 192.168.151.0
broadcast 192.168.151.255
gateway 192.168.151.1


Parece estar tudo correto nao ??

Inclusive as placas sao detectadas. Veja:

eth0: RealTek RTL8139 Fast Ethernet at 0x1800, IRQ 5, 00:e0:7d:c5:1b:54.
eth1: RealTek RTL-8029 found at 0x1440, IRQ 10, 00:00:21:FC:4E:E4.

A tabela de rotas tmb parece estar certa:

Debian:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.151.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.151.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.151.1   0.0.0.0         UG    0      0        0 eth0
Debian:~#


Pra desencargo de consiencia (mesmo sabendo que nao tem nada a ver) eu
coloquei a rota default pra eth1 tmb!

Debian:~# route add default gw 192.168.151.1 dev eth1
Debian:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.151.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.151.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.151.1   0.0.0.0         UG    0      0        0 eth1
0.0.0.0         192.168.151.1   0.0.0.0         UG    0      0        0 eth0
Debian:~#


Eh mesmo assim eu pingo a 192.168.151.3 (que eh a eth1) e nao responde o
ping. E nem a eth2 consegue pingar ninguem da rede! :/

Algeum sabe pq isso ta acontecendo ??

Esqueci de fazer alguma coisa ??

Obrigado.

t+

[ ]'s









Use Your Hadrion WebMail too!
Access: <A href=http://www.hadrion.com.br/>http://www.hadrion.com.br</A>
Doubts? <A href=mailto:wendel@hadrion.com.br>wendel@hadrion.com.br</A>

________________________________________________
This mail was sent by Hadrion WebMail 1.0



Reply to: