Thanks to recent patches I have been able to build and boot the linux guest 
kernel under the simulator in the camkes-arm-vm project using the vm_minimal 
configuration. However, I am having trouble accessing it via the network 
interface. First I set up a tap interface as follows:


# sudo ip tuntap add tap0 mode tap
# sudo ip addr add 10.0.120.100/24 dev tap0
# sudo ip link set dev tap0 up

Then I start the simulation using the following command line, which I believe 
should make the tap interface appear as an e1000 nic to the guest kernel:

./simulate --extra-qemu-args="-net nic,model=e1000 -net 
tap,script=no,ifname=tap0”

In the linux guest the “ip a” command shows that there is a tunl0 network 
device available. I have tried a couple of methods of activating it including 
using ifconfig to bring it up and assign it an ip address as well as the “ip 
link set tun0 up” followed by the “ip addr add 10.0.120.1/24 dev tunl0” 
command. According to ifconfig both of these bring the interface up and provide 
it with an ip address. However, I can’t ping the tap ip address from the guest 
nor can I ping the guest tunl0 interface from another console on the host.

So, what am I missing?


_______________________________________________
Devel mailing list
Devel@sel4.systems
https://sel4.systems/lists/listinfo/devel

Reply via email to