<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.scottlowe.org/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for blog.scottlowe.org</title>
	
	<link>http://blog.scottlowe.org</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<lastBuildDate>Wed, 15 May 2013 20:31:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.scottlowe.org/slowe/comments/feed" /><feedburner:info uri="slowe/comments/feed" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by Sascha</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/WoOTAhfurXc/</link>
		<dc:creator>Sascha</dc:creator>
		<pubDate>Wed, 15 May 2013 20:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72011</guid>
		<description>Thanks Lennie, I got it. :)</description>
		<content:encoded><![CDATA[<p>Thanks Lennie, I got it. <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/WoOTAhfurXc" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72011</feedburner:origLink></item>
	<item>
		<title>Comment on Using pf on OS X Mountain Lion by Lennie</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/k49G1k3c4Lo/</link>
		<dc:creator>Lennie</dc:creator>
		<pubDate>Wed, 15 May 2013 19:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3183#comment-72010</guid>
		<description>Scott,

My experiences with Macs are limited, but I do have experience with pf on OpenBSD.

It is interresting how they use the anchor, normally you'd just use an include.

Anchors are usually used to dynamically add/remove rules from for example a userspace program. The name of the anchor would for example be the name of the program, relayd is an example of such a program: http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&amp;sektion=8&amp;arch=&amp;apropos=0&amp;manpath=OpenBSD+Current

I wouldn't be surprised if on the Mac they are actually dynamically adding rules as well.

You can probably see that if you use these commands when pf is enabled:

pfctl -vvsr # to see the current rules
pfctl -vvss # to see the current state entries</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>My experiences with Macs are limited, but I do have experience with pf on OpenBSD.</p>
<p>It is interresting how they use the anchor, normally you&#8217;d just use an include.</p>
<p>Anchors are usually used to dynamically add/remove rules from for example a userspace program. The name of the anchor would for example be the name of the program, relayd is an example of such a program: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&#038;sektion=8&#038;arch=&#038;apropos=0&#038;manpath=OpenBSD+Current" rel="nofollow">http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&#038;sektion=8&#038;arch=&#038;apropos=0&#038;manpath=OpenBSD+Current</a></p>
<p>I wouldn&#8217;t be surprised if on the Mac they are actually dynamically adding rules as well.</p>
<p>You can probably see that if you use these commands when pf is enabled:</p>
<p>pfctl -vvsr # to see the current rules<br />
pfctl -vvss # to see the current state entries</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/k49G1k3c4Lo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/using-pf-on-os-x-mountain-lion/comment-page-1/#comment-72010</feedburner:origLink></item>
	<item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by Sascha</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/yJUTVxx3Y_k/</link>
		<dc:creator>Sascha</dc:creator>
		<pubDate>Wed, 15 May 2013 18:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72007</guid>
		<description>No need to apologize Scott. I was just confused, plus I am not a native english speaker :)  It makes more sense now to me, thanks. So the gre0 tunnel interface is actually the one connecting to the host's IP stack, not the bridge per se. 

Exciting stuff. And looking forward to the more complicated stuff :D

Also, I think it's time to setup an OpenStack lab.</description>
		<content:encoded><![CDATA[<p>No need to apologize Scott. I was just confused, plus I am not a native english speaker <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   It makes more sense now to me, thanks. So the gre0 tunnel interface is actually the one connecting to the host&#8217;s IP stack, not the bridge per se. </p>
<p>Exciting stuff. And looking forward to the more complicated stuff <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Also, I think it&#8217;s time to setup an OpenStack lab.</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/yJUTVxx3Y_k" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72007</feedburner:origLink></item>
	<item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by Lennie</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/rM9VfVWU7-A/</link>
		<dc:creator>Lennie</dc:creator>
		<pubDate>Wed, 15 May 2013 18:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72006</guid>
		<description>@Sascha I think this might make it clear:

Let's say the guest has a port called vnet0 which connected to an OVS bridge br-int. And a GRE-tunnel is created called gre0 and it is also connected to br-int.

As you know a switch and a bridge is pretty much the same thing.

The OVS/bridge uses MAC-learning like a normal swich.

When traffic comes onto the bridge from the guest through vnet0, the bridge will look at the forwarding table and might decide that the MAC-address of the destination is on gre0. In that case the traffic is forwarded to gre0.

At gre0 it gets encapsulated with a GRE-header. The GRE-tunnel is handled by the host. 


The host just routes the GRE-tunnel packets to the remote_ip, where it gets unpacked and delivered on an other bridge which will hopefully know what to do with it and deliver it at the right port, which is probably connected to a VM.</description>
		<content:encoded><![CDATA[<p>@Sascha I think this might make it clear:</p>
<p>Let&#8217;s say the guest has a port called vnet0 which connected to an OVS bridge br-int. And a GRE-tunnel is created called gre0 and it is also connected to br-int.</p>
<p>As you know a switch and a bridge is pretty much the same thing.</p>
<p>The OVS/bridge uses MAC-learning like a normal swich.</p>
<p>When traffic comes onto the bridge from the guest through vnet0, the bridge will look at the forwarding table and might decide that the MAC-address of the destination is on gre0. In that case the traffic is forwarded to gre0.</p>
<p>At gre0 it gets encapsulated with a GRE-header. The GRE-tunnel is handled by the host. </p>
<p>The host just routes the GRE-tunnel packets to the remote_ip, where it gets unpacked and delivered on an other bridge which will hopefully know what to do with it and deliver it at the right port, which is probably connected to a VM.</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/rM9VfVWU7-A" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72006</feedburner:origLink></item>
	<item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by slowe</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/7Ymc-K6Gn1I/</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Wed, 15 May 2013 18:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72005</guid>
		<description>Sascha, I'm the one that called it an isolated bridge, and that's because it has no physical interfaces associated with it. I apologize if my wording threw you off. The reason the traffic hits the host's IP stack is because of the tunnel interface. Without the tunnel interface, the bridge would truly be isolated---not able to communicate outside the host at all. The purpose of the tep0 interface is simply to control which NICs the tunnel endpoint uses. Because tep0 is utilized by the host's IP stack, and because the tunnel interface connects the bridge to the host's IP stack, that's what allows the traffic to flow from the isolated bridge through tep0. You could just as easily have used a physical interface for the tunnel endpoint instead of an OVS internal interface.

Lennie, more "complicated" configurations are on the way. First, though, I need to establish the correct base understanding upon which I can build more in-depth configurations that leverage things like VLANs, network namespaces, source routing, and similar. Patience, my friend...patience. :-)</description>
		<content:encoded><![CDATA[<p>Sascha, I&#8217;m the one that called it an isolated bridge, and that&#8217;s because it has no physical interfaces associated with it. I apologize if my wording threw you off. The reason the traffic hits the host&#8217;s IP stack is because of the tunnel interface. Without the tunnel interface, the bridge would truly be isolated&#8212;not able to communicate outside the host at all. The purpose of the tep0 interface is simply to control which NICs the tunnel endpoint uses. Because tep0 is utilized by the host&#8217;s IP stack, and because the tunnel interface connects the bridge to the host&#8217;s IP stack, that&#8217;s what allows the traffic to flow from the isolated bridge through tep0. You could just as easily have used a physical interface for the tunnel endpoint instead of an OVS internal interface.</p>
<p>Lennie, more &#8220;complicated&#8221; configurations are on the way. First, though, I need to establish the correct base understanding upon which I can build more in-depth configurations that leverage things like VLANs, network namespaces, source routing, and similar. Patience, my friend&#8230;patience. <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/7Ymc-K6Gn1I" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72005</feedburner:origLink></item>
	<item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by Lennie</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/zbZhrop-tSk/</link>
		<dc:creator>Lennie</dc:creator>
		<pubDate>Wed, 15 May 2013 16:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72002</guid>
		<description>It is very good you are explaining this to people.

But for the people that found this to easy, maybe you can add some network-namespaces, VM to VM routing, iptables, firewalling, NAT and VLAN as well. Mix it up a little. :-)

Or just try these things and see if you come across any strange things you might not have expected and make a quiz out of it. So the commenters can try and figure out what is going on.

What is on my todo list is to see what is possible in OpenStack, which configurations are supported. And making a choice which one I want to use.

What I'm hoping to do is use some of the DOVE extensions of VXLAN to prevent broadcasts, the extensions are available in Linux 3.8, like on Ubuntu 13.04, but I don't know if there are any existing open source components that can use them. I doubt I'll have time to write any code for that myself.

Haven't looked at the security groups support in OpenStack either.

So much still left to do, so little time, but at least it's fun stuff. :-)</description>
		<content:encoded><![CDATA[<p>It is very good you are explaining this to people.</p>
<p>But for the people that found this to easy, maybe you can add some network-namespaces, VM to VM routing, iptables, firewalling, NAT and VLAN as well. Mix it up a little. <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Or just try these things and see if you come across any strange things you might not have expected and make a quiz out of it. So the commenters can try and figure out what is going on.</p>
<p>What is on my todo list is to see what is possible in OpenStack, which configurations are supported. And making a choice which one I want to use.</p>
<p>What I&#8217;m hoping to do is use some of the DOVE extensions of VXLAN to prevent broadcasts, the extensions are available in Linux 3.8, like on Ubuntu 13.04, but I don&#8217;t know if there are any existing open source components that can use them. I doubt I&#8217;ll have time to write any code for that myself.</p>
<p>Haven&#8217;t looked at the security groups support in OpenStack either.</p>
<p>So much still left to do, so little time, but at least it&#8217;s fun stuff. <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/zbZhrop-tSk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72002</feedburner:origLink></item>
	<item>
		<title>Comment on Examining Open vSwitch Traffic Patterns by Sascha</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/VgXEknEn9o4/</link>
		<dc:creator>Sascha</dc:creator>
		<pubDate>Wed, 15 May 2013 16:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3185#comment-72000</guid>
		<description>Good post, thanks. So to iterate on my question from your previous post, if you have an isolated bridge, it is not really isolated but does eventually hit the host's IP stack and all of it's routing.... right? Otherwise gre0 traffic wouldn't be able to reach the tep0 interface. I don't see why they call this an "isolated" bridge then.

Or is it hitting tep0 because that belongs to another OVS instance?</description>
		<content:encoded><![CDATA[<p>Good post, thanks. So to iterate on my question from your previous post, if you have an isolated bridge, it is not really isolated but does eventually hit the host&#8217;s IP stack and all of it&#8217;s routing&#8230;. right? Otherwise gre0 traffic wouldn&#8217;t be able to reach the tep0 interface. I don&#8217;t see why they call this an &#8220;isolated&#8221; bridge then.</p>
<p>Or is it hitting tep0 because that belongs to another OVS instance?</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/VgXEknEn9o4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/comment-page-1/#comment-72000</feedburner:origLink></item>
	<item>
		<title>Comment on Using pf on OS X Mountain Lion by slowe</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/vf0pA-J8AMk/</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Wed, 15 May 2013 15:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3183#comment-71997</guid>
		<description>Tim, the advantage here is that pf offers much greater granularity than the firewall in System Preferences. For example, with pf I can allow traffic used by iTunes, but only from specific network addresses. In System Preferences, the traffic is either allowed or denied.

However, keep in mind that this additional flexibility also means additional complexity, and that might deter the use of pf for more "casual" OS X users.

I hope this helps!</description>
		<content:encoded><![CDATA[<p>Tim, the advantage here is that pf offers much greater granularity than the firewall in System Preferences. For example, with pf I can allow traffic used by iTunes, but only from specific network addresses. In System Preferences, the traffic is either allowed or denied.</p>
<p>However, keep in mind that this additional flexibility also means additional complexity, and that might deter the use of pf for more &#8220;casual&#8221; OS X users.</p>
<p>I hope this helps!</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/vf0pA-J8AMk" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/15/using-pf-on-os-x-mountain-lion/comment-page-1/#comment-71997</feedburner:origLink></item>
	<item>
		<title>Comment on Using GRE Tunnels with Open vSwitch by slowe</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/3FZnN1yZ6z8/</link>
		<dc:creator>slowe</dc:creator>
		<pubDate>Wed, 15 May 2013 15:56:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3175#comment-71996</guid>
		<description>Sean, Sascha, I've written a new post on how various Open vSwitch (OVS) configurations affect traffic. Hopefully this will help clear up some of your questions. Have a look at the article here:

http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/

Thanks!</description>
		<content:encoded><![CDATA[<p>Sean, Sascha, I&#8217;ve written a new post on how various Open vSwitch (OVS) configurations affect traffic. Hopefully this will help clear up some of your questions. Have a look at the article here:</p>
<p><a href="http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/" rel="nofollow">http://blog.scottlowe.org/2013/05/15/examining-open-vswitch-traffic-patterns/</a></p>
<p>Thanks!</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/3FZnN1yZ6z8" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/07/using-gre-tunnels-with-open-vswitch/comment-page-1/#comment-71996</feedburner:origLink></item>
	<item>
		<title>Comment on Using GRE Tunnels with Open vSwitch by Examining Open vSwitch Traffic Patterns - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</title>
		<link>http://feeds.scottlowe.org/~r/slowe/comments/feed/~3/Z7_UtyyEZ9Q/</link>
		<dc:creator>Examining Open vSwitch Traffic Patterns - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers</dc:creator>
		<pubDate>Wed, 15 May 2013 15:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/?p=3175#comment-71995</guid>
		<description>[...] Let’s look at another OVS configuration, the so-called “isolated bridge”. This is a configuration that is commonly found in implementations using NVP, OpenStack, and others, and it’s a configuration that I recently discussed in my post on GRE tunnels and OVS. [...]</description>
		<content:encoded><![CDATA[<p>[...] Let&#8217;s look at another OVS configuration, the so-called &#8220;isolated bridge&#8221;. This is a configuration that is commonly found in implementations using NVP, OpenStack, and others, and it&#8217;s a configuration that I recently discussed in my post on GRE tunnels and OVS. [...]</p>
<img src="http://feeds.feedburner.com/~r/slowe/comments/feed/~4/Z7_UtyyEZ9Q" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://blog.scottlowe.org/2013/05/07/using-gre-tunnels-with-open-vswitch/comment-page-1/#comment-71995</feedburner:origLink></item>
</channel>
</rss>
