Skip to contentSkip to conversation

bug in Renzo script ?

Qemu-devel [email protected] 1 participant 1 message Jun 17, 2004

lore
Share & tools
lore
#0 lore raw

well, when I lauch a second qemu instance, the value of TUN_DEV is still "tun0", when I expected "tun1"

it is set by : TUN_DEV=${1:-tun0}
I am wrong ?

(
so ifconfig gives me :
tun0 Link encap:Ethernet HWaddr 00:FF:C0:2C:D7:39
inet addr:192.168.105.1 Bcast:192.168.105.255 Mask:255.255.255.0 inet6 addr: fe80::2ff:c0ff:fe2c:d739/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

tun1 Link encap:Ethernet HWaddr 00:FF:38:2C:E4:25
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

(no IP for tun1)
)

anyway, Renzo has made very good, clear end usefull work.