<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>issues Archives - Think Netsec</title>
	<atom:link href="https://www.thinknetsec.com/tag/issues/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.thinknetsec.com/tag/issues/</link>
	<description>Think Network Security</description>
	<lastBuildDate>Thu, 11 Jan 2018 00:33:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://www.thinknetsec.com/wp-content/uploads/2017/08/cropped-ThinkNetsec-Full-Logo-1-32x32.png</url>
	<title>issues Archives - Think Netsec</title>
	<link>https://www.thinknetsec.com/tag/issues/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">133674323</site>	<item>
		<title>Issues connecting to a VIP on the Brocade ADX from a Server</title>
		<link>https://www.thinknetsec.com/brocade-servers-source-nat/</link>
					<comments>https://www.thinknetsec.com/brocade-servers-source-nat/#respond</comments>
		
		<dc:creator><![CDATA[John Finnegan]]></dc:creator>
		<pubDate>Thu, 11 Jan 2018 00:24:17 +0000</pubDate>
				<category><![CDATA[Brocade]]></category>
		<category><![CDATA[Loadbalancers]]></category>
		<category><![CDATA[ADX]]></category>
		<category><![CDATA[issues]]></category>
		<category><![CDATA[Source NAT]]></category>
		<guid isPermaLink="false">https://www.thinknetsec.com/?p=401</guid>

					<description><![CDATA[<p>If you are going to be creating a VIP on the Brocade that would need to be accessible from another Server behind the Brocade, there will be some things to consider. For example, if a VIP has Servers that it is loadbalancing too that are in the same segment as<a class="moretag" href="https://www.thinknetsec.com/brocade-servers-source-nat/"> Read more&#8230;</a></p>
<p>The post <a href="https://www.thinknetsec.com/brocade-servers-source-nat/">Issues connecting to a VIP on the Brocade ADX from a Server</a> appeared first on <a href="https://www.thinknetsec.com">Think Netsec</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you are going to be creating a VIP on the Brocade that would need to be accessible from another Server behind the Brocade, there will be some things to consider. For example, if a VIP has Servers that it is loadbalancing too that are in the same segment as a Server that needs to connect to this VIP, it will not function without something called Source NAT.</p>
<div>
<h1><strong>Real Servers in the same Segment as Client Server</strong></h1>
<h3><em><strong>Without Source NAT</strong></em></h3>
<p>Lets use an example that you have a segment of 10.10.10.0/24 behind the Brocade. All of your Servers are in this segment and you need these Servers to connect to a VIP on the Brocade which loadbalances to these servers.</p>
</div>
<p>We will use the configuration below:</p>
<div>
<pre>server real WEB1-10.10.10.5 10.10.10.5
port http
port http keepalive
<em>port http url "HEAD/"
</em>port ssl
port ssl keepalive

server real WEB2-10.10.10.6 10.10.10.6 
port http 
port http keepalive 
<em>port http url "HEAD/" 
</em>port ssl 
port ssl keepalive

server virtual VS-10.10.10.100 10.10.10.100
port http
port http reset-on-port-fail
port ssl
port ssl reset-on-port-fail
bind http WEB1-10.10.10.5 http WEB2-10.10.10.6 http
bind ssl WEB1-10.10.10.5 ssl WEB2-10.10.10.6 ssl</pre>
</div>
<p>Lets say we need our App Server with IP 10.10.10.50 to connect to the 10.10.10.100 VIP. If you try to connect to this VIP from the App Server, the connection will never complete. The flow would look like the following TCP flow below.</p>
<p><strong>Source IP   &#8212;&#8212;&#8212;-   Destination IP<br />
</strong>10.10.10.50   &#8212;&gt;     10.10.10.100 (VIP)<br />
10.10.10.50   &#8212;&gt;     10.10.10.5 (Member)<br />
10.10.10.5     &#8212;&gt;     10.10.10.50 (Client)</p>
<p>Notice that the Server responds back to the Client and not the VIP. The Client Server did not connect to the 10.10.10.5 but rather the VIP at 10.10.10.100. The Server will drop this traffic since it never had made a connection to the 10.10.10.5 so the TCCP connection will never complete.</p>
<h3><em><strong>With Source NAT</strong></em></h3>
<p>To correct the issue from before, we would need to enable Source NAT. This will allow the Brocade to translate the Source IP for any connections to the VIP as the closest egress interface IP. For the sake of the example, the IP on the Brocade is 10.10.10.1 and it is the gateway for these Servers. To enable Source NAT, you will add the source-nat keyword to the real servers.</p>
<pre>server real WEB1-10.10.10.5 10.10.10.5 
source-nat

server real WEB2-10.10.10.6 10.10.10.6 
source-nat</pre>
<div>
<p>With the addition of source-nat keyword to the real servers, the flow will now look like the following TCP flow.</p>
<p><strong>Source IP   &#8212;&#8212;&#8212;&#8212;   Destination IP<br />
</strong>10.10.10.50     &#8212;&gt;     10.10.10.100 (VIP)<br />
10.10.10.1       &#8212;&gt;     10.10.10.5 (Member) &lt;&#8211;Notice that the Source IP became the Brocade IP<br />
10.10.10.5       &#8212;&gt;     10.10.10.1 (Brocade IP <em>-Source-Nat</em>)<br />
10.10.10.100  &#8212;&gt; .   10.10.10.5 (Client)</p>
<p>Notice that the VIP is now what responded back to the Client Server. Now that the traffic is coming back from the VIP, the TCP connection is valid and will complete the handshake.</p>
<p>You can find more details about Brocade Real Servers and Remote Server configurations in my other Brocade article <a href="https://www.thinknetsec.com/brocade-realremote-servers/">here</a>.</p>
<p>Please feel free to reach out to me via my <a href="http://www.thinknetsec.com/contact/">contacts</a> page if you have any requests on more content or if you have any questions. If you want any help with an ADX in your Office, please feel free to contact me as well and I will work with you on configuring, upgrading or migrating the ADX.</p>
</div>
<p>The post <a href="https://www.thinknetsec.com/brocade-servers-source-nat/">Issues connecting to a VIP on the Brocade ADX from a Server</a> appeared first on <a href="https://www.thinknetsec.com">Think Netsec</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thinknetsec.com/brocade-servers-source-nat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">401</post-id>	</item>
	</channel>
</rss>
