qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] How to convert from ifconfig to ip ?


From: Pierre Couderc
Subject: [Qemu-discuss] How to convert from ifconfig to ip ?
Date: Thu, 26 Jul 2018 19:19:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

My bridge for qemu is started with :

sysctl net.ipv4.ip_forward=1
tunctl -t tap0 -u nous
ifconfig tap0 192.168.164.1 up
iptables...

I have replaced ipconfig line with ip:

ip link set tap0 up
ip address add 192.168.164.1 dev tap0

but it fails (no ping 192.168.164.1) in the vm.

What do I miss ?

Thanks
PC





reply via email to

[Prev in Thread] Current Thread [Next in Thread]