Article 5EBQ8 Yocto Qemu image not pingable in network

Yocto Qemu image not pingable in network

by
kahlenberg
from LinuxQuestions.org on (#5EBQ8)
Hi,

I generated a qemuarm image with bitbake in yocto and run it without problem. But I cannot reach to it over network. When I run it with runqemu qemuarm It runs and displays IP address as ip=192.168.7.2::192.168.7.1:255.255.255.0. When I check my IP on host, I see tap device but with different network mask:

Code:tap0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether d7:35:9f:ff:08:5d brd ff:ff:ff:ff:ff:ff
inet 192.168.7.1/32 brd 192.168.7.255 scope global tap0
valid_lft forever preferred_lft forever
inet6 fe81:e325:9eff:de98:abef/64 scope link
valid_lft forever preferred_lft foreverI cannot ping to 192.168.7.2. So, what is the problem? How can I change the network mask?latest?d=yIl2AUoC8zA latest?i=eeAnmLf7Acc:U-O_TzuKQVQ:F7zBnMy latest?i=eeAnmLf7Acc:U-O_TzuKQVQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=eeAnmLf7Acc:U-O_TzuKQVQ:gIN9vFweeAnmLf7Acc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments