cat l-01.cfg bootloader = "/usr/bin/pygrub" memory = 512 name = "l-01" disk = ['file:/etc/xen/images/l-01.img,xvda,w'] vif = [ 'bridge=xenbr0,mac=00:16:3E:1F:32:41', 'bridge=vlan222,mac=00:16:3E:1F:33:41' ] vcpus = 1 on_reboot = 'restart' on_crash = 'destroy' root = '/dev/xvda2 rw' /root/tunnel-up.sh #!/bin/sh l2tpv3tun add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 \ udp_dport 5000 encap udp local 172.19.0.1 remote 172.19.0.2 l2tpv3tun add session tunnel_id 1 session_id 1 peer_session_id 1 ip addr add 192.168.1.101/32 peer 192.168.1.102/32 dev l2tpeth0 ifconfig l2tpeth0 up config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface wan option ifname eth1 option type bridge option proto static option ipaddr 172.19.0.1 option netmask 255.255.255.0 config interface lan option ifname eth0 option type bridge option proto static option ipaddr 192.168.1.60 option netmask 255.255.255.0 l-02 cat l-02.cfg bootloader = "/usr/bin/pygrub" memory = 512 name = "l-02" disk = ['file:/etc/xen/images/l-02.img,xvda,w'] vif = [ 'bridge=vlan123,mac=00:16:3E:1F:32:42', 'bridge=vlan222,mac=00:16:3E:1F:33:42' ] vcpus = 1 on_reboot = 'restart' on_crash = 'destroy' root = '/dev/xvda2 rw' #!/bin/sh l2tpv3tun add tunnel tunnel_id 1 peer_tunnel_id 1 udp_sport 5000 \ udp_dport 5000 encap udp local 172.19.0.2 remote 172.19.0.1 l2tpv3tun add session tunnel_id 1 session_id 1 peer_session_id 1 ip addr add 192.168.1.102/32 peer 192.168.1.101/32 dev l2tpeth0 ifconfig l2tpeth0 up config interface loopback option ifname lo option proto static option ipaddr 127.0.0.1 option netmask 255.0.0.0 config interface wan option ifname eth1 option type bridge option proto static option ipaddr 172.19.0.2 option netmask 255.255.255.0 config interface lan option ifname eth0 option type bridge option proto static option ipaddr 192.168.1.61 option netmask 255.255.255.0 BusyBox v1.16.2 (2010-07-23 19:51:18 CEST) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M KAMIKAZE (bleeding edge, r22368) ------------------ * 10 oz Vodka Shake well with ice and strain * 10 oz Triple sec mixture into 10 shot glasses. * 10 oz lime juice Salute! --------------------------------------------------- root@l-02:/# sh t tmp/ tunnel-up.sh root@l-02:/# sh tunnel-up.sh root@l-02:/# ------------[ cut here ]------------ kernel BUG at include/linux/skbuff.h:1185! invalid opcode: 0000 [#1] SMP last sysfs file: /sys/kernel/uevent_seqnum Modules linked in: nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables l2tp_ip l2tp_eth l2tp_netlink l2tp_core tunnel6 tunnel4 tun ppp_async ppp_generic slhc crc_ccitt xen_netfront evtchn xenfs ipv6 Pid: 0, comm: swapper Not tainted 2.6.35-rc6+ #1 / EIP: 0061:[] EFLAGS: 00010287 CPU: 0 EAX: 0000004c EBX: dff62540 ECX: dff62540 EDX: dfe7f000 ESI: dfe7f000 EDI: dff62568 EBP: dfe7f000 ESP: c1901b4c DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0069 Process swapper (pid: 0, ti=c1901000 task=c12bf9a0 task.ti=c12b6000) Stack: dff62540 dfe7f000 c11bfa32 dfe3ea00 dff62540 e089a430 00000112 00000111 <0> 00000066 dff62568 dff62540 e089a2b0 dff62568 dfe3ea00 e089dc51 00000111 <0> 000001c4 0000002e 00000085 00000000 dfda645c c1006d6c a3024472 dfe3ea44 Call Trace: [] ? 0xc11bfa32 [] ? 0xe089a430 [] ? 0xe089a2b0 [] ? 0xe089dc51 [] ? 0xc1006d6c [] ? 0xe089e0e0 [] ? 0xe089ebab [] ? 0xc10271f2 [] ? 0xc12037e7 [] ? 0xc120401e [] ? 0xc1006d6c [] ? 0xc10271f2 [] ? 0xc1006d6c [] ? 0xc10056e6 [] ? 0xc103e586 [] ? 0xe08eaaef [] ? 0xe0907330 [] ? 0xc11dd036 [] ? 0xc11e3880 [] ? 0xc11dd26c [] ? 0xc11e3880 [] ? 0xc11e3984 [] ? 0xc11e3880 [] ? 0xc11e37c8 [] ? 0xc11e34e0 [] ? 0xc11e3250 [] ? 0xc11bec13 [] ? 0xc11bf400 [] ? 0xc122ad60 [] ? 0xc11bf45f [] ? 0xc122ad60 [] ? 0xc122b114 [] ? 0xc122ad60 [] ? 0xc11beadc [] ? 0xc1074658 [] ? 0xc11bf45f [] ? 0xe087e924 [] ? 0xc11c217d [] ? 0xc103e216 [] ? 0xc103e180 [] ? 0xc10056e6 [] ? 0xc11474b4 [] ? 0xc1008a87 [] ? 0xc10013a7 [] ? 0xc100576f [] ? 0xc10034c9 [] ? 0xc100763c [] ? 0xc12db330 [] ? 0xc12dba75 [] ? 0xc12db330 [] ? 0xc12dd441 Code: c4 08 c3 56 89 c1 53 89 d6 8b 80 a8 00 00 00 89 51 14 89 81 98 00 00 00 8b 41 50 83 f8 0d 76 1c 83 e8 0e 3b 41 54 89 41 50 73 0a <0f> 0b 8d b6 00 00 00 00 eb fe 83 81 a8 00 00 00 0e 8b 99 98 00 EIP: [] SS:ESP 0069:c1901b4c ---[ end trace 38eccb6087791f3d ]--- Kernel panic - not syncing: Fatal exception in interrupt Pid: 0, comm: swapper Tainted: G D 2.6.35-rc6+ #1 Call Trace: [] ? 0xc10393ff [] ? 0xc100b9b3 [] ? 0xc10095d0 [] ? 0xc1009657 [] ? 0xc11d10a8 [] ? 0xc10271f2 [] ? 0xc1146675 [] ? 0xc11469a0 [] ? 0xc10271f2 [] ? 0xc1006d6c [] ? 0xc1146675 [] ? 0xc11469a0 [] ? 0xc124a406 [] ? 0xc10095d0 [] ? 0xc11d10a8 [] ? 0xc11bfa32 [] ? 0xe089a430 [] ? 0xe089a2b0 [] ? 0xe089dc51 [] ? 0xc1006d6c [] ? 0xe089e0e0 [] ? 0xe089ebab [] ? 0xc10271f2 [] ? 0xc12037e7 [] ? 0xc120401e [] ? 0xc1006d6c [] ? 0xc10271f2 [] ? 0xc1006d6c [] ? 0xc10056e6 [] ? 0xc103e586 [] ? 0xe08eaaef [] ? 0xe0907330 [] ? 0xc11dd036 [] ? 0xc11e3880 [] ? 0xc11dd26c [] ? 0xc11e3880 [] ? 0xc11e3984 [] ? 0xc11e3880 [] ? 0xc11e37c8 [] ? 0xc11e34e0 [] ? 0xc11e3250 [] ? 0xc11bec13 [] ? 0xc11bf400 [] ? 0xc122ad60 [] ? 0xc11bf45f [] ? 0xc122ad60 [] ? 0xc122b114 [] ? 0xc122ad60 [] ? 0xc11beadc [] ? 0xc1074658 [] ? 0xc11bf45f [] ? 0xe087e924 [] ? 0xc11c217d [] ? 0xc103e216 [] ? 0xc103e180 [] ? 0xc10056e6 [] ? 0xc11474b4 [] ? 0xc1008a87 [] ? 0xc10013a7 [] ? 0xc100576f [] ? 0xc10034c9 [] ? 0xc100763c [] ? 0xc12db330 [] ? 0xc12dba75 [] ? 0xc12db330 [] ? 0xc12dd441 Rebooting in 3 seconds..