[Top][All Lists]

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

[Qemu-discuss] L2TPv3 network transport: tunnel ID

From: Hardik Soni
Subject: [Qemu-discuss] L2TPv3 network transport: tunnel ID
Date: Tue, 19 May 2015 17:08:28 +0200 (CEST)

Hi All,

I have question regarding tunnel_id parameter in configuring l2tpV3 tunnels.

For example, to attach a VM running on host via L2TPv3 to the bridge br-lan on the remote Linux host

# Setup tunnel on linux host using raw ip as encapsulation
# on
ip l2tp add tunnel remote local tunnel_id 1 peer_tunnel_id 1 \
encap udp udp_sport 16384 udp_dport 16384
ip l2tp add session tunnel_id 1 name vmtunnel0 session_id \
0xFFFFFFFF peer_session_id 0xFFFFFFFF
ifconfig vmtunnel0 mtu 1500
ifconfig vmtunnel0 up
brctl addif br-lan vmtunnel0

# on
# launch QEMU instance - if your network has reorder or is very lossy add ,pincounter

qemu-system-i386 linux.img -net nic -net l2tpv3,src=""

I dont see tunnel_id and peer_tunnel_id parameters in qemu-system-i386
If I configure different tunnel_id and peer_tunnel_if(not equal to 1 ), while creating tunnel on, how can I specify appropriate peer_tunnel_id and tunnel_id in qemu-system-i386 on system ? 

Hardik Soni

reply via email to

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