First message here, thanks for helping.
I have an Nvidia TK1 with 14.04.1 LTS (GNU/Linux 3.10.40-ga7da876 armv7l) running, and I connected it with a crossover cable to a laptop running windows 10. I set up the nic cards on both computers correctly, the windows machine nic having 192.168.1.2 and the ubuntu machine having 192.168.1.1.
The 2 machines can ping each other, and the ubuntu machine can ping the windows machine's wireless NIC card (gateway) which has address 192.168.43.251, but it can't ping anything else, including the windows machine's gateway of 192.168.43.1.
The windows machine's routing table looks like this:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.43.1 192.168.43.251 55
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
192.168.1.0 255.255.255.0 On-link 192.168.1.2 291
192.168.1.2 255.255.255.255 On-link 192.168.1.2 291
192.168.1.255 255.255.255.255 On-link 192.168.1.2 291
192.168.43.0 255.255.255.0 On-link 192.168.43.251 311
192.168.43.251 255.255.255.255 On-link 192.168.43.251 311
192.168.43.255 255.255.255.255 On-link 192.168.43.251 311
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.2 291
224.0.0.0 240.0.0.0 On-link 192.168.43.251 311
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.2 291
255.255.255.255 255.255.255.255 On-link 192.168.43.251 311
===========================================================================
and the ubuntu machine's looks like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.2 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 1 0 0 eth0
ubuntu@tegra-ubuntu:~$
Anyone got any ideas how to fix it? I tried many times with the route add command, but most of the time I couldn't even successfully add a siingle route. It was very frustrating. If anyone has an idea how to solve this and allow my ubuntu machine to share the windows machine's internet connection, it'd be greatly appreciated.
Ivan