Hi all,
We are using IMX6SX Eval board and running Android 6.0.x marshmallow . we want use both eth0 & eth1 interfaces. but currently only eth0 interface getting UP on boot and eth1 manually we have to make it up. but dhcp is working only with eth0 not with eth1, even though both the interface are connected to diff dhcp servers. I have used the command "dhcptool eth1" after this it takes the ip from dhcp server. but the problem here is, ping is not happening through eth1. what could be problem? and how to make both eth0 and eth1 both UP at the boot time with dhcp enabled? at the same time eth0 working in all cases.
1. After boot
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 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
RX bytes:0 TX bytes:0
eth0 Link encap:Ethernet HWaddr 00:04:9F:04:0D:1B
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 TX bytes:0
2. root@sabresd_6sx:/ # dhcptool eth1
root@sabresd_6sx:/ # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 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
RX bytes:0 TX bytes:0
eth0 Link encap:Ethernet HWaddr 00:04:9F:04:0D:1A
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 TX bytes:0
eth1 Link encap:Ethernet HWaddr 00:04:9F:04:0D:1B
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:9fff:fe04:d1b/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1826 TX bytes:1706
root@sabresd_6sx:/ # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. -----------stops.