2015年8月5日 星期三

[Network] routing table example

Board —–> PC
When Board ping to PC no work.
Check routing table of PC.
And make sure routing table is fine.

route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
route add default gw 192.168.0.254

Then ping PC from Board will OK.

More example
route add -net 111.2.1.0 netmask 255.255.255.0 dev p6p1
route add default gw 111.2.1.252

0 意見:

張貼留言