qemu-discuss
[Top][All Lists]
Advanced

[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 4.3.2.1 via L2TPv3 to the bridge br-lan on the remote Linux host 1.2.3.4:

# Setup tunnel on linux host using raw ip as encapsulation
# on 1.2.3.4
ip l2tp add tunnel remote 4.3.2.1 local 1.2.3.4 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 4.3.2.1
# 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 1.2.3.4, how can I specify appropriate peer_tunnel_id and tunnel_id in qemu-system-i386 on system 4.3.2.1 ? 

Thanks,
Hardik Soni


reply via email to

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