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?


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?