MirageOS networking examples tend to use ifconfig
for this. On ArchLinux, ifconfig
is (allegedly) deprecated, and we tend to use ip
for things.
# ip tuntap add tap0 mode tap # ip addr add 10.0.0.2/255.255.255.0 dev tap0 $ ping 10.0.0.2 # browse to http://10.0.0.2 if applicable