Run Cisco XRv with QEmu.

This commit is contained in:
Miguel Scapolla 2016-10-24 17:46:04 -03:00
parent c8e65e0eeb
commit cbe5af1cf9

View File

@ -33,11 +33,14 @@
-net nic,model=e1000,vlan=2,macaddr=00:01:00:ff:01:02 \
-net nic,model=e1000,vlan=3,macaddr=00:01:00:ff:01:03 \
-net nic,model=e1000,vlan=4,macaddr=00:01:00:ff:01:04 \
-net socket,vlan=1,udp=127.0.0.1:9011,localaddr=:9001 \
-net tap,vlan=1,ifname=tapxr,script=no,downscript=no \
-net socket,vlan=2,udp=127.0.0.1:9012,localaddr=:9002 \
-net socket,vlan=3,udp=127.0.0.1:9013,localaddr=:9003 \
-net socket,vlan=4,udp=127.0.0.1:9014,localaddr=:9004
# For management with telnet or ssh over MgmtEth0/0/CPU0/0 interface.
su - root -c 'tunctl -u username -t tapxr > /dev/null ; ifconfig tapxr <IP_ADDR> netmask <MASK> up'
### Useful commands.
# Info of the qcow2 disk.