hi,
I have a dhcp connection.
I have a computer with 2 ethernet cards on it.
eth0 and eth1(I've added eth1,a realtek).
I put the interwebz cable on eth0 and it works using the
following script to aquire an IP.
Code:
ifconfig eth0 down
ifconfig eth0 hw ether mac
ifconfig eth0 up
dhclient3 eth0
and I get an Ip for eth0 and all works well,I can ping,I can access
the interwebz no problem.
however,if I switch the cable to eth1 and I do
Code:
ifconfig eth0 down
ifconfig eth1 down
ifconfig eth1 hw ether same_mac_as_for_eth0
ifconfig eth1 up
dhclient3 eth1
it tells me it has acquired an IP and all,but when I do
ping www.google.com I get unknown host www.google.com.
I also must note that there are no physical problems because
the led on the eth1 is blinking and its alive.
is there some kind of default ethernet interface wich I must set ?
what is the problem ?
why doesn't eth1 work like eth0 works ?
thank you
2007-12-22
16:45:14
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Computer Networking
it seems I had a very strange wiring problem.
the wire from one eth to the other was supposed
to have the colors in a certain order on one side
and it didn't have them that way so it didn't work
2007-12-23
03:22:02 ·
update #1