Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Bakul Shah
On Sat, 25 Aug 2018 14:20:44 +0300 Alexander Kapshuk wrote: > I am trying to follow the instructions given here: > > http://fqa.9front.org/fqa3.html#3.3.1.4.4 > 3.3.1.4.4 - Linux TAP > > Here's what I've done so far: > (1). Set up a tap0 device as user root: > ip tuntap add dev tap0 mode tap

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Bakul Shah
On Sat, 25 Aug 2018 22:17:16 +0300 Alexander Kapshuk wrote: > 22:13:25.356189 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has > 10.0.0.2 tell 10.0.0.1, length 28 As Hiro mentioned it is strange that both sides have the same mac addr as that will confuse them both. Pick a different one for

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
Thanks Hiro and Bakul for your prompt responses. Here's what I've got to report... I brought tap0 as user root: ip link set dev tap0 up ip addr show dev tap0 4: tap0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether c6:1c:63:d9:91:1d brd ff:ff:ff:ff:ff:ff inet

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
I thought that the mac address in the qemu command had to be the same as the link/ether address of the tap device. Should I make one up and use that in the qemu command? Thanks. On Sat, Aug 25, 2018, 22:49 hiro <23h...@gmail.com> wrote: > the qemu error seems helpful: how did you chose

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread hiro
nothing in the fqa mentions the tap device's mac address (which linux generated randomly in order not to conflict with whatever you might be using on the other side). look at the tap device as an ethernet interface that is plugged into the same L2 switch as the VM's virtual interface. you don't

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
Understood. I'll give it a try and let you know how I go. Thanks. On Sun, Aug 26, 2018, 00:20 hiro <23h...@gmail.com> wrote: > nothing in the fqa mentions the tap device's mac address (which linux > generated randomly in order not to conflict with whatever you might be > using on the other