Hello,
I'm testing an automotive ethernet interface (FibreCode FC602) with TinyCore 13.
I want to enable the communication between my computer and another module.
The other module has the IP address 169.254.112.74 and requires a VLAN configuration.
I've executed the following steps to configure the VLAN:
(the automotive ethernet interface is detected as eth1)
> install the iproute2 extension
> sudo ip link add link eth1 name vlan1 type vlan id 1
> sudo ip addr add 169.254.112.70/24 dev vlan1
> sudo ip link set eth1 up
> sudo ip link set vlan1 up
To test the communication I want to execute the command ping successfully.
However I can't get a response from the other module.
I've decided to spy the ethernet communication with tcpdump and the module response is received in my computer.
Log data:
18:01:49.373189 IP 169.254.112.70 > 169.254.112.74: ICMP echo request, id 805, seq 0, length 64
0x0000: 3cce 1501 004a fcc2 3d30 88a7 8100 0001 <....J..=0......
0x0010: 0800 4500 0054 e3e7 4000 4001 2234 a9fe ..E..T..@.@."4..
0x0020: 7046 a9fe 704a 0800 20e7 0325 0000 f33f pF..pJ.....%...?
0x0030: e0b3 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 ......
18:01:49.378365 IP 169.254.112.74 > 169.254.112.70: ICMP echo reply, id 805, seq 0, length 40
0x0000: fcc2 3d30 88a7 3cce 1501 004a 8100 0001 ..=0..<....J....
0x0010: 0800 4500 003c f4a8 4000 4001 118b a9fe ..E..<..@.@.....
0x0020: 704a a9fe 7046 0000 28e7 0325 0000 f33f pJ..pF..(..%...?
0x0030: e0b3 0000 0000 0000 0000 0000 0000 0000 ................
0x0040: 0000 0000 0000 0000 0000 0000 0000 ..............
The complete log is attached.
I did some tests with ubuntu and executed the same configuration steps and the ping is done successfully.
So the hardware setup is working correctly.
In TinyCore I've updated the IP routing table to change the default gateway to 169.254.112.74 or ...70 but the result is the same.
So I would like to get some help to debug this configuration problem.
Your help is greatly appreciated.
[EDIT]: Added code tags. Rich