
For communication with host:

# modprobe tun
# tunctl -u emarques
# chgrp emarques /dev/net/tun
# chmod g+rw /dev/net/tun

# ifconfig tap0 200.202.112.4 up 

# echo 1 > /proc/sys/net/ipv4/ip_forward
# route add -host 200.202.112.5 dev tap0
# echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
# arp -Ds 200.202.112.5 eth0 pub 

screen /dev/ttyp0

For multicast:

# argus0: eth0=192.168.0.1/24 eth1=200.202.112.5/24
TMP=tmp /usr/bin/linux ubd0=cow0,shared_root ubd1=swap0 con=pty con0=fd:0,fd:1 eth0=mcast eth1=tuntap,tap0 umid=uml0 mem=64M

# argus1: eth0=192.168.0.2/24 eth1=192.168.1.2/24
TMP=tmp /usr/bin/linux ubd0=cow1,shared_root ubd1=swap1 con=pty con0=fd:0,fd:1 eth0=mcast eth1=mcast,,224.1.1.1 umid=uml1 mem=64M

# argus2: eth0=192.168.1.1/24
TMP=tmp /usr/bin/linux ubd0=cow2,shared_root ubd1=swap2 con=pty con0=fd:0,fd:1 eth0=mcast,,224.1.1.1 umid=uml2 mem=64M

For uml_switch:

#  ethn=daemon,ethernet address,socket type,control socket,data socket

uml_switch -unix switch0 -daemon
uml_switch -unix switch1 -daemon

# argus0: eth0=192.168.0.1/24 eth1=200.202.112.5/24
TMP=tmp /usr/bin/linux ubd0=cow0,shared_root ubd1=swap0 con=pty con0=fd:0,fd:1 eth0=daemon,,,switch0 eth1=tuntap,tap0 umid=uml0 mem=64M

# argus1: eth0=192.168.0.2/24 eth1=192.168.1.2/24
TMP=tmp /usr/bin/linux ubd0=cow1,shared_root ubd1=swap1 con=pty con0=fd:0,fd:1 eth0=daemon,,,switch0 eth1=daemon,,,switch1 umid=uml1 mem=64M

# argus2: eth0=192.168.1.1/24
TMP=tmp /usr/bin/linux ubd0=cow2,shared_root ubd1=swap2 con=pty con0=fd:0,fd:1 eth0=daemon,,,switch1 umid=uml2 mem=64M


