<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to create IPv4 GRE tunnels in Ubuntu</title>
	<atom:link href="http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu</link>
	<description></description>
	<lastBuildDate>Thu, 10 May 2012 14:14:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Webberist</title>
		<link>http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu/comment-page-1#comment-32</link>
		<dc:creator>Webberist</dc:creator>
		<pubDate>Thu, 10 May 2012 14:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://onvox.net/?p=94#comment-32</guid>
		<description>With recent releases of Ubuntu (tested on 12.04 LTS server) the /etc/network/interfaces file is used to establish GRE tunnels.  See the man page for interfaces at http://manpages.ubuntu.com/manpages/precise/man5/interfaces.5.html
This example config works for a local LAN on 10.0.0.0/24 from this Ubuntu computer at 10.0.0.20 to a router at 10.0.0.1. The local tunneled endpoint IP is 172.16.16.2 and the remote endpoint IP is 172.16.16.1.  This config isn&#039;t very useful as is but it demonstrates a working tunnel in a simple LAN setup.

&lt;pre&gt;
auto gre1
iface gre1 inet tunnel
        address 172.16.16.2
        mode gre
        endpoint 10.0.0.1
        dstaddr 172.16.16.1
        local 10.0.0.20
        ttl 255
        netmask 255.255.255.252
&lt;/pre&gt;

If you get a message along the lines of ioalloc buffer full it&#039;s because the tunnel interface has already been created.  You can see and delete the interfaces with iptunnel.  Easiest option is to reboot or use a different tunnel interface as sometimes it won&#039;t delete.

-Webberist</description>
		<content:encoded><![CDATA[<p>With recent releases of Ubuntu (tested on 12.04 LTS server) the /etc/network/interfaces file is used to establish GRE tunnels.  See the man page for interfaces at <a href="http://manpages.ubuntu.com/manpages/precise/man5/interfaces.5.html" rel="nofollow">http://manpages.ubuntu.com/manpages/precise/man5/interfaces.5.html</a><br />
This example config works for a local LAN on 10.0.0.0/24 from this Ubuntu computer at 10.0.0.20 to a router at 10.0.0.1. The local tunneled endpoint IP is 172.16.16.2 and the remote endpoint IP is 172.16.16.1.  This config isn&#8217;t very useful as is but it demonstrates a working tunnel in a simple LAN setup.</p>
<pre>
auto gre1
iface gre1 inet tunnel
        address 172.16.16.2
        mode gre
        endpoint 10.0.0.1
        dstaddr 172.16.16.1
        local 10.0.0.20
        ttl 255
        netmask 255.255.255.252
</pre>
<p>If you get a message along the lines of ioalloc buffer full it&#8217;s because the tunnel interface has already been created.  You can see and delete the interfaces with iptunnel.  Easiest option is to reboot or use a different tunnel interface as sometimes it won&#8217;t delete.</p>
<p>-Webberist</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quora</title>
		<link>http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu/comment-page-1#comment-20</link>
		<dc:creator>Quora</dc:creator>
		<pubDate>Mon, 12 Sep 2011 21:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://onvox.net/?p=94#comment-20</guid>
		<description>&lt;strong&gt;What Saas or Free/Opensource SSL VPN solutions are available that connect cloud servers and local area network servers/desktops?...&lt;/strong&gt;

Also check out this article on setting up GRE tunnels in Ubuntu http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu...</description>
		<content:encoded><![CDATA[<p><strong>What Saas or Free/Opensource SSL VPN solutions are available that connect cloud servers and local area network servers/desktops?&#8230;</strong></p>
<p>Also check out this article on setting up GRE tunnels in Ubuntu <a href="http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu" rel="nofollow">http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu</a>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GRE Tunnel &#124; wiki&#039;ed</title>
		<link>http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu/comment-page-1#comment-17</link>
		<dc:creator>GRE Tunnel &#124; wiki&#039;ed</dc:creator>
		<pubDate>Wed, 19 Jan 2011 20:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://onvox.net/?p=94#comment-17</guid>
		<description>[...] GRE tunnels can incapsulate IPv4/IPv6 unicast/multicast traffic, so it is de-facto tunnel standard for dynamic routed networks. You can setup up to 64K tunnels for an unique tunnel endpoints pair. It can work with FreeBSD and cisco IOS. Kernel module is &#8216;ip_gre&#8217;. Server_1  $ modprobe ip_gre $ ip tunnel add gre1 mode gre local 10.20.30.40 remote 50.60.70.80 $ ip address add dev gre1 192.168.1.2 peer 192.168.1.1/30 $ ip link set dev gre1 up $ ip route add 172.16.10.0/24 via 192.168.1.1  $ ip link show gre1 $ ifconfig gre1 Server_2  $ modprobe ip_gre $ ip tunnel add gre1 mode gre local 50.60.70.80 remote 10.20.30.40 $ ip address add dev gre1 192.168.1.1 peer 192.168.1.2/30 $ ip link set dev gre1 up $ ip route add 172.16.20.0/24 via 192.168.1.2  $ ip link show gre1 $ ifconfig gre1  $ ping 192.168.1.2 PING 192.168.1.2 &#040;192.168.1.2&#041; 56&#040;84&#041; bytes of data. 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=201 ms $ ip tunnel del gre1 $ rmmod ip_gre Ubuntu: http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu [...]</description>
		<content:encoded><![CDATA[<p>[...] GRE tunnels can incapsulate IPv4/IPv6 unicast/multicast traffic, so it is de-facto tunnel standard for dynamic routed networks. You can setup up to 64K tunnels for an unique tunnel endpoints pair. It can work with FreeBSD and cisco IOS. Kernel module is &#8216;ip_gre&#8217;. Server_1  $ modprobe ip_gre $ ip tunnel add gre1 mode gre local 10.20.30.40 remote 50.60.70.80 $ ip address add dev gre1 192.168.1.2 peer 192.168.1.1/30 $ ip link set dev gre1 up $ ip route add 172.16.10.0/24 via 192.168.1.1  $ ip link show gre1 $ ifconfig gre1 Server_2  $ modprobe ip_gre $ ip tunnel add gre1 mode gre local 50.60.70.80 remote 10.20.30.40 $ ip address add dev gre1 192.168.1.1 peer 192.168.1.2/30 $ ip link set dev gre1 up $ ip route add 172.16.20.0/24 via 192.168.1.2  $ ip link show gre1 $ ifconfig gre1  $ ping 192.168.1.2 PING 192.168.1.2 &#040;192.168.1.2&#041; 56&#040;84&#041; bytes of data. 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=201 ms $ ip tunnel del gre1 $ rmmod ip_gre Ubuntu: <a href="http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu" rel="nofollow">http://onvox.net/linux/how-to-create-ipv4-gre-tunnels-in-ubuntu</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

