[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] Preparing QEMU guest for equal-cost multipath routing
From: |
Lars Noodén |
Subject: |
[Qemu-discuss] Preparing QEMU guest for equal-cost multipath routing |
Date: |
Mon, 20 Mar 2017 21:40:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
I'd like to prepare a QEMU guest for equal-cost multipath routing on
OpenBSD using two network interfaces. I've set up the following:
qemu-img -f qcow2 ~/tmp/openbsd-6.1.img 5g
qemu-system-x86_64 -boot c \
-redir tcp:2261::22 \
-redir tcp:4761::80 \
-netdev user,id=network0,net=10.0.2.0/24 \
-netdev user,id=network1,net=10.0.3.0/24 \
-device e1000,netdev=network0 \
-device rtl8139,netdev=network1 \
-m 1024 -enable-kvm \
-cdrom ~/tmp/install61.iso ~/tmp/openbsd-6.1.img
That seems to give me two types of interface on two different networks.
Have I laid the foundation correctly with the above options?
Or is there something additional I need to set or be aware of in regards
to host/guest networking? With the above settings, DNS would be
10.0.2.3 and 10.0.3.3 and the gateways 10.0.2.2 and 10.0.3.2, right?
Regards,
Lars
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-discuss] Preparing QEMU guest for equal-cost multipath routing,
Lars Noodén <=