[Avila] Problems with eth1 on GW2345
John Carter
john at rhinosys.com
Mon Jul 17 16:02:29 EDT 2006
--Apple-Mail-9-913173810
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
I've just started working with a GW2345 board and I'm having trouble
getting eth1 to work. I have seen the previous posts regarding a
problem recognizing PHY 0 but I don't believe that is an issue here
since that problem seems to be with eth0.
Here is what I have tried:
1. Boot a brand new GW2345 with the version of Linux that came
installed on it (2.6.15-uc0).
2. Connect an Ethernet cable from any of the RJ45's on J6 to a switch.
3. Configure a PC to be 192.168.3.1 and connect to the same switch
4. Run ping on the GW2345:
# ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1): 56 data bytes
64 bytes from 192.168.3.1: icmp_seq=0 ttl=64 time=8.1 ms
64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=1.9 ms
64 bytes from 192.168.3.1: icmp_seq=2 ttl=64 time=1.1 ms
64 bytes from 192.168.3.1: icmp_seq=3 ttl=64 time=1.1 ms
64 bytes from 192.168.3.1: icmp_seq=4 ttl=64 time=1.3 ms
--- 192.168.3.1 ping statistics ---
6 packets transmitted, 5 packets received, 16% packet loss
round-trip min/avg/max = 1.1/2.7/8.1 ms
#
#
#
5. Configure eth1 to be on a different subnet and then verify
ifconfig output:
#
# ifconfig eth1 192.168.2.2 broadcast 192.168.2.255 netmask
255.255.255.0
#
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:D0:12:02:42:11
inet addr:192.168.3.2 Bcast:192.168.3.255 Mask:
255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:256
eth1 Link encap:Ethernet HWaddr 00:D0:12:12:42:11
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:
255.255.255.0
UP BROADCAST 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:256
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
6. Move the Ethernet cable from J6 to J8 and reconfigure the PC to
192.168.2.1
7. Try pinging 192.168.2.1:
# ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
--- 192.168.2.1 ping statistics ---
17 packets transmitted, 0 packets received, 100% packet loss
#
And one more interesting piece of information: If I just boot into
RedBoot, it configures eth1 rather than eth0, probably because of the
PHY issue, and I can ping over eth1 just fine from RedBoot in the
same test setup.
Everything looks like it is configured correctly to me but I must be
missing some configuration option. Has anyone else seen this? Has
anyone else successfully used both interfaces on a GW2345 in BSP 0.6?
Thanks,
John Carter
--Apple-Mail-9-913173810--
More information about the Avila
mailing list