<?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/"
	>

<channel>
	<title>Blog sur les technologies réseau et sécurité &#187; global</title>
	<atom:link href="http://bmigette.fr/tag/global/feed/" rel="self" type="application/rss+xml" />
	<link>http://bmigette.fr</link>
	<description>Blog de Bastien Migette sur les technologies réseau et sécurité, particulièrement cisco.</description>
	<lastBuildDate>Sat, 19 May 2012 14:49:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Static subnet NAT avec VRF pour monter des &#8216;PODs&#8217; (LAB)</title>
		<link>http://bmigette.fr/2011/06/14/static-subnet-nat-avec-vrf-pour-monter-des-pods-lab/</link>
		<comments>http://bmigette.fr/2011/06/14/static-subnet-nat-avec-vrf-pour-monter-des-pods-lab/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 12:11:08 +0000</pubDate>
		<dc:creator>Bastien Migette</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[Réseau Avancé]]></category>
		<category><![CDATA[addressing]]></category>
		<category><![CDATA[adressage]]></category>
		<category><![CDATA[global]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[overlapping]]></category>
		<category><![CDATA[pod]]></category>
		<category><![CDATA[static]]></category>
		<category><![CDATA[subnet]]></category>
		<category><![CDATA[VRF]]></category>

		<guid isPermaLink="false">http://bmigette.fr/?p=581</guid>
		<description><![CDATA[Etant en train de monter un LAB, et celui-ci se décomposant en plusieurs PODs, j'ai voulu faire en sorte que ces PODs soient identiques (topologie, adressage IP, ...), tout en ayant un accès vers un réseau externe. Voici donc comment j'ai fait pour réaliser ça:]]></description>
			<content:encoded><![CDATA[<p>Etant en train de monter un LAB, et celui-ci se décomposant en plusieurs PODs, j&#8217;ai voulu faire en sorte que ces PODs soient identiques (topologie, adressage IP, &#8230;), tout en ayant un accès vers un réseau externe. Voici donc comment j&#8217;ai fait pour réaliser ça:</p>
<p>On va utiliser cette topologie pour l&#8217;exemple:</p>
<div id="attachment_583" class="wp-caption aligncenter" style="width: 389px"><a href="http://bmigette.fr/wp-content/uploads/2011/06/screen1.png"><img class="size-full wp-image-583" title="Topologies PODs" src="http://bmigette.fr/wp-content/uploads/2011/06/screen1.png" alt="Topologies PODs" width="379" height="247" /></a><p class="wp-caption-text">Topologies PODs</p></div>
<p style="text-align: left;">On va donc ici utiliser des VRFs pour chacuns des PODs, et on va ajouter du NAT statique pour tout le réseau du POD. Cela veut dire que 2 PODs peuvent avoir le même réseau, mais seront vu depuis l&#8217;extérieur comme des réseau différent. Cela permets de copier/déplacer des machines depuis un POD vers l&#8217;autre.</p>
<p style="text-align: left;">On commence par la configuration IP et VRF sur R2:</p>
<pre style="text-align: left;">!
hostname R2
!
ip vrf pod1
rd 65000:1
!
ip vrf pod2
rd 65000:2
!
interface FastEthernet1/0
ip address 192.168.10.2 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet1/1
ip vrf forwarding pod1
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface FastEthernet2/0
ip vrf forwarding pod2
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
</pre>
<p style="text-align: left;">On ajoute ensuite la config du NAT et du routage:</p>
<pre style="text-align: left;">!
ip nat inside source static network 192.168.0.0 192.168.1.0 /24 vrf pod1
ip nat inside source static network 192.168.0.0 192.168.2.0 /24 vrf pod2
ip route vrf pod1 0.0.0.0 0.0.0.0 192.168.10.1 global
ip route vrf pod2 0.0.0.0 0.0.0.0 192.168.10.1 global
!
</pre>
<p style="text-align: left;">Voilà, le plus gros du travail est fait. Si on regarde la syntaxe des commandes nat, on voit que l&#8217;ont traduit le réseau 192.168.0.0 de la VRF pod1 vers le réseau 192.168.1.0, avec un masque de 24bits (on auraient pu mettre netmask 255.255.255.0). On fait la même chose avec le réseau 192.168.0.0 de la VRF pod2 que l&#8217;ont traduit en 192.168.2.0. L&#8217;astuce ici est d&#8217;utiliser le &laquo;&nbsp;source static network&nbsp;&raquo; qui indique que l&#8217;on va translater un réseau et non pas une IP.</p>
<p style="text-align: left;">Ensuite, on ajoute des routes dans les VRF vers la table globale afin que le traffic puisse joindre le réseau extérieur.</p>
<p style="text-align: left;">La configuration des autres routeurs est assez simple ici :</p>
<p style="text-align: left;">R1:</p>
<pre style="text-align: left;">!
interface FastEthernet1/0
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
ip route 192.168.0.0 255.255.0.0 192.168.10.2
!
</pre>
<p style="text-align: left;">R3/R4:</p>
<pre style="text-align: left;">!
interface FastEthernet1/0
ip address 192.168.0.2 255.255.255.0
duplex auto
speed auto
!
ip route 0.0.0.0 0.0.0.0 192.168.0.1
!
</pre>
<p style="text-align: left;">Ici, si je ping 192.168.1.2 depuis R1, je ping R3, et si je ping 192.168.2.2 je ping R4:</p>
<pre style="text-align: left;">R1#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 132/159/176 ms
R1#ping 192.168.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 152/167/188 m

R3#
*Jun 14 14:08:51.187: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:51.335: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:51.491: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:51.667: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:51.819: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0

R4#
*Jun 14 14:08:54.023: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:54.183: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:54.323: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:54.531: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
*Jun 14 14:08:54.667: ICMP: echo reply sent, src 192.168.0.2, dst 192.168.10.1, topology BASE, dscp 0 topoid 0
</pre>
<p style="text-align: left;">On peut voir sur R2 que le traffic est bien natté:</p>
<pre style="text-align: left;">R2#sh ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
icmp 192.168.1.2:7     192.168.0.2:7      192.168.10.1:7     192.168.10.1:7
--- 192.168.1.2        192.168.0.2        ---                ---
--- 192.168.1.0        192.168.0.0        ---                ---
icmp 192.168.2.2:6     192.168.0.2:6      192.168.10.1:6     192.168.10.1:6
--- 192.168.2.2        192.168.0.2        ---                ---
--- 192.168.2.0        192.168.0.0        ---                ---
</pre>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves /> <w:TrackFormatting /> <w:PunctuationKerning /> <w:ValidateAgainstSchemas /> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF /> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> <w:DontGrowAutofit /> <w:SplitPgBreakAndParaMark /> <w:DontVertAlignCellWithSp /> <w:DontBreakConstrainedForcedTables /> <w:DontVertAlignInTxbx /> <w:Word11KerningPairs /> <w:CachedColBalance /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathPr> <m:mathFont m:val="Cambria Math" /> <m:brkBin m:val="before" /> <m:brkBinSub m:val="&#45;-" /> <m:smallFrac m:val="off" /> <m:dispDef /> <m:lMargin m:val="0" /> <m:rMargin m:val="0" /> <m:defJc m:val="centerGroup" /> <m:wrapIndent m:val="1440" /> <m:intLim m:val="subSup" /> <m:naryLim m:val="undOvr" /> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"   DefSemiHidden="true" DefQFormat="false" DefPriority="99"   LatentStyleCount="267"> <w:LsdException Locked="false" Priority="0" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Normal" /> <w:LsdException Locked="false" Priority="9" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="heading 1" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" /> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" /> <w:LsdException Locked="false" Priority="39" Name="toc 1" /> <w:LsdException Locked="false" Priority="39" Name="toc 2" /> <w:LsdException Locked="false" Priority="39" Name="toc 3" /> <w:LsdException Locked="false" Priority="39" Name="toc 4" /> <w:LsdException Locked="false" Priority="39" Name="toc 5" /> <w:LsdException Locked="false" Priority="39" Name="toc 6" /> <w:LsdException Locked="false" Priority="39" Name="toc 7" /> <w:LsdException Locked="false" Priority="39" Name="toc 8" /> <w:LsdException Locked="false" Priority="39" Name="toc 9" /> <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" /> <w:LsdException Locked="false" Priority="10" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Title" /> <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" /> <w:LsdException Locked="false" Priority="11" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" /> <w:LsdException Locked="false" Priority="22" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Strong" /> <w:LsdException Locked="false" Priority="20" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Emphasis" /> <w:LsdException Locked="false" Priority="59" SemiHidden="false"    UnhideWhenUsed="false" Name="Table Grid" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text" /> <w:LsdException Locked="false" Priority="1" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="No Spacing" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 1" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 1" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 1" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 1" /> <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision" /> <w:LsdException Locked="false" Priority="34" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph" /> <w:LsdException Locked="false" Priority="29" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Quote" /> <w:LsdException Locked="false" Priority="30" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 1" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 1" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 1" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 1" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 1" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 2" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 2" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 2" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 2" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 2" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 2" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 2" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 2" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 2" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 3" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 3" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 3" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 3" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 3" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 3" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 3" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 3" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 3" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 4" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 4" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 4" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 4" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 4" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 4" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 4" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 4" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 4" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 5" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 5" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 5" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 5" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 5" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 5" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 5" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 5" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 5" /> <w:LsdException Locked="false" Priority="60" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Shading Accent 6" /> <w:LsdException Locked="false" Priority="61" SemiHidden="false"    UnhideWhenUsed="false" Name="Light List Accent 6" /> <w:LsdException Locked="false" Priority="62" SemiHidden="false"    UnhideWhenUsed="false" Name="Light Grid Accent 6" /> <w:LsdException Locked="false" Priority="63" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6" /> <w:LsdException Locked="false" Priority="64" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6" /> <w:LsdException Locked="false" Priority="65" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 1 Accent 6" /> <w:LsdException Locked="false" Priority="66" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium List 2 Accent 6" /> <w:LsdException Locked="false" Priority="67" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6" /> <w:LsdException Locked="false" Priority="68" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6" /> <w:LsdException Locked="false" Priority="69" SemiHidden="false"    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6" /> <w:LsdException Locked="false" Priority="70" SemiHidden="false"    UnhideWhenUsed="false" Name="Dark List Accent 6" /> <w:LsdException Locked="false" Priority="71" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Shading Accent 6" /> <w:LsdException Locked="false" Priority="72" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful List Accent 6" /> <w:LsdException Locked="false" Priority="73" SemiHidden="false"    UnhideWhenUsed="false" Name="Colorful Grid Accent 6" /> <w:LsdException Locked="false" Priority="19" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis" /> <w:LsdException Locked="false" Priority="21" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis" /> <w:LsdException Locked="false" Priority="31" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference" /> <w:LsdException Locked="false" Priority="32" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference" /> <w:LsdException Locked="false" Priority="33" SemiHidden="false"    UnhideWhenUsed="false" QFormat="true" Name="Book Title" /> <w:LsdException Locked="false" Priority="37" Name="Bibliography" /> <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading" /> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} --> <!--[endif] --></p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">hostname R2</p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">ip vrf pod1</p>
<p class="MsoPlainText">rd 65000:1</p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">ip vrf pod2</p>
<p class="MsoPlainText">rd 65000:2</p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">interface FastEthernet1/0</p>
<p class="MsoPlainText">ip address 192.168.10.2 255.255.255.0</p>
<p class="MsoPlainText">ip nat outside</p>
<p class="MsoPlainText">ip virtual-reassembly</p>
<p class="MsoPlainText">duplex auto</p>
<p class="MsoPlainText">speed auto</p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">interface FastEthernet1/1</p>
<p class="MsoPlainText">ip vrf forwarding pod1</p>
<p class="MsoPlainText">ip address 192.168.0.1 255.255.255.0</p>
<p class="MsoPlainText">ip nat inside</p>
<p class="MsoPlainText">ip virtual-reassembly</p>
<p class="MsoPlainText">duplex auto</p>
<p class="MsoPlainText">speed auto</p>
<p class="MsoPlainText">!</p>
<p class="MsoPlainText">interface FastEthernet2/0</p>
<p class="MsoPlainText">ip vrf forwarding pod2</p>
<p class="MsoPlainText">ip address 192.168.0.1 255.255.255.0</p>
<p class="MsoPlainText">ip nat inside</p>
<p class="MsoPlainText">ip virtual-reassembly</p>
<p class="MsoPlainText">duplex auto</p>
<p class="MsoPlainText">speed auto</p>
<p class="MsoPlainText">!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://bmigette.fr/2011/06/14/static-subnet-nat-avec-vrf-pour-monter-des-pods-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Les différents types d&#8217;adresses IPv6</title>
		<link>http://bmigette.fr/2008/06/09/les-differents-types-dadresses-ipv6/</link>
		<comments>http://bmigette.fr/2008/06/09/les-differents-types-dadresses-ipv6/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 18:34:01 +0000</pubDate>
		<dc:creator>Bastien Migette</dc:creator>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[adresses]]></category>
		<category><![CDATA[adresses ipv6]]></category>
		<category><![CDATA[anycast]]></category>
		<category><![CDATA[global]]></category>
		<category><![CDATA[link local]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[multicast]]></category>
		<category><![CDATA[unicast]]></category>

		<guid isPermaLink="false">http://bmigette.wordpress.com/?p=11</guid>
		<description><![CDATA[Comme vous le savez (ou non) IPv6 reprends les concepts d&#8217;IPv4, tout en y apportant son lot d&#8217;amélioration. Les adresses ne font pas exceptions à la règles. Tout d&#8217;abord, une adresse IPv6 mesure 128 bits (contre 32 pour une adresse IPv4). Afin de simplifier son écriture, on l&#8217;écrira sous forme de nombre héxadécimaux: 8 nombres [...]]]></description>
			<content:encoded><![CDATA[<p>Comme vous le savez (ou non) IPv6 reprends les concepts d&#8217;IPv4, tout en y apportant son lot d&#8217;amélioration. Les adresses ne font pas exceptions à la règles.</p>
<p><span id="more-13"></span></p>
<p>Tout d&#8217;abord, une adresse IPv6 mesure 128 bits (contre 32 pour une adresse IPv4). Afin de simplifier son écriture, on l&#8217;écrira sous forme de nombre héxadécimaux: 8 nombres de 4 digits hexadécimaux séparés par &#8216;:&#8217;.<br />
On peut simplifier en suprimant les 0 en début de nombre (00FF = FF).<br />
On peut aussi supprimer les blocs de 0 en les remplacant par &#8216;::&#8217;.<br />
Exemple:<br />
0000:0000:0000:0000:0000:0000:0000:0001 = 0:0:0:0:0:0:0:1 = ::1<br />
Attention, on ne peut pas utiliser plusieurs fois &#8216;::&#8217;.<br />
FC00::5::1 pourrait être FC00:0:0:5:0:0:0:1 ou FC00:0:5:0:0:0:0:1 ou FC00:0:0:0:5:0:0:1 &#8230;</p>
<p>Note: le caractère &#8216;:&#8217; étant utilisé pour indiqué le numéro d&#8217;un port TCP ou UDP, pour écrire une adresse IPv6 dans la plupart des applications on l&#8217;encadrera de crochets (ex: [FC00::1]).</p>
<h2>Les différents type d&#8217;adresses IPv6:</h2>
<ul>
<li>les adresses Unicast, sont, tout comme les adresses Unicast IPv4, associées à des interfaces réseau. Une nouveauté est que plusieurs interfaces peuvent avoir la même adresse unicast pour le partage de charge.</li>
<li>Les adresses unicast globales (global unicast), qui ont la même fonction que les adresses unicast, mais sont des adresses routables sur un réseau publique (internet). C&#8217;est le même principe que les adresses IPv4 publiques&#8230;<br />
La plage de ces adresses est:<br />
2000::/3</li>
<li>Les adresses de lien local (Link Local Address), sont des adresses qui ne sont pas routables, qui permettent à des équipements reliés entre eux de communiquer entre eux, lorsqu&#8217;ils n&#8217;ont pas besoin de communiquer avec l&#8217;extérieur. L&#8217;avantage de ces adresses est qu&#8217;elles se configurent automatiquement, par exemple, si l&#8217;on a deux routeurs reliés entre eux, pour qu&#8217;ils puissent communiquer entre eux, il suffit de taper:
<pre>rtr(config-if)ipv6 enable</pre>
<p>La plage de ces adresses est:<br />
FE80::/10</li>
<li>Addresses locales Uniques: Ces adresses sont des adresses unicast pouvant être routées uniquement au sein d&#8217;un LAN: elles ont la même fonction que les adresses ip privées IPv4.<br />
La plage de ces adresses est:<br />
FC00::/7</li>
<li>Les adresses multicast, qui, comment les adressent multicast IPv4, permettent de joindre un groupe d&#8217;hôtes.<br />
La plage de ces adresses est:<br />
FF00::/8</li>
<li>Les adresses anycast: Nouveautée IPv6, sont des adresses qui comment les multicast pointent vers un groupe d&#8217;hôte, mais seul le premier hôte joignable recevra l&#8217;information. Cela permet de faire des serveurs de backup en toute transparence.</li>
</ul>
<h2>Quelques plages d&#8217;adresses particulières:</h2>
<ul>
<li>0:0:0:0:0:0:0:0 ou :: est l&#8217;équivalent de 0.0.0.0 en IPv4.</li>
<li>0:0:0:0:0:0:0:1 ou ::1 est l&#8217;équivalent de 127.0.0.1 en IPv4, l&#8217;adresse de loopback d&#8217;une machine.</li>
<li>0:0:0:0:0:0:192.168.1.1 est la forme qu&#8217;aurait une adresse IPv4 dans un environnement IPv6: Utilisé pour la compatibilité.</li>
<li>3FFF:FFFF::/32 et 2001:0DB8::/32 : Réservé pour exemples, documentations et recherche&#8230;</li>
<li>2002::/16 adresses utilisées pour les tunnels 6to4, qui permettent le transport de paquets IPv6 dans un réseau IPv4</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bmigette.fr/2008/06/09/les-differents-types-dadresses-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

