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

Re: Sun Fire V210 NIC's don't work



On 11/14/2012 02:39 PM, Frans van Berckel wrote:
On Wed, 2012-11-14 at 14:05 +0000, Kaya Saman wrote:
I am getting icmp echo responses.

I rejigged the interface to sit inside a new vlan:

eth1      Link encap:Ethernet  HWaddr 00:14:4f:5d:1e:80
            inet addr:192.168.140.2  Bcast:192.168.140.3 Mask:255.255.255.252
            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:1000
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
            Interrupt:31

ping 192.168.140.2
PING 192.168.140.2 (192.168.140.2) 56(84) bytes of data.
64 bytes from 192.168.140.2: icmp_req=1 ttl=64 time=0.057 ms
64 bytes from 192.168.140.2: icmp_req=2 ttl=64 time=0.036 ms
64 bytes from 192.168.140.2: icmp_req=3 ttl=64 time=0.040 ms

ping 192.168.140.1
PING 192.168.140.1 (192.168.140.1) 56(84) bytes of data.
  From 192.168.140.2 icmp_seq=1 Destination Host Unreachable
  From 192.168.140.2 icmp_seq=2 Destination Host Unreachable


while similar config on eth0 works fine.....
In the example is 192.168.140.3 your vlan gateway? If so, please do ...

# route add default gw 192.168.140.3
# ping 192.168.140.3
# ping 192.168.140.2

The eth0 has the same gateway. So this will break your default eth0
communication. Now it's all set by hand. Later on you want this all well
in interfaces, true.

Actually the gateway for eth0 is: 192.168.1.1/24 and the gateway for eth1 is 192.168.140.1/30; two completely different subnets.....

Interfaces file:

auto eth0
iface eth0 inet static
address 192.168.1.116
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

auto eth1
#iface eth1 inet dhcp
iface eth1 inet static
address 192.168.140.2
netmask 255.255.255.252
network 192.168.140.0
broadcast 192.168.140.3
gateway 192.168.140.1


# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.140.0 * 255.255.255.252 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.140.1 0.0.0.0 UG 0 0 0 eth1 default cisco857w.optip 0.0.0.0 UG 0 0 0 eth0


If however I run ping -I eth1 192.168.140.1 nothing happens and hence dmesg is claiming the link isn't ready... the green lights on the back of the system are on and so are the ones on the switch.

Also just now I reconfigured eth1 and took out the config from the eth0 in the interfaces file. However, after setting my switch to the proper vlan on eth1 port I am still not getting any connectivity?

eth1      Link encap:Ethernet  HWaddr 00:14:4f:5d:1e:80
          inet addr:192.168.1.116  Bcast:192.168.1.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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:31

ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.116 icmp_seq=1 Destination Host Unreachable
From 192.168.1.116 icmp_seq=2 Destination Host Unreachable





Check your settings with # ifconfig again. And does # update-initramfs
also complains about the missing firmware files, as asked?
update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-5-sparc64
That all, looks good to me.

Thanks,


Frans van Berckel



Outside of driver issue I really don't understand what's going on.


Regards,


Kaya


Reply to: