{"id":8,"date":"2013-06-24T21:34:03","date_gmt":"2013-06-24T20:34:03","guid":{"rendered":"http:\/\/www.segfault.be\/?p=8"},"modified":"2013-06-24T21:34:03","modified_gmt":"2013-06-24T20:34:03","slug":"nat-statement-allowing-to-simplify-the-change-of-networks","status":"publish","type":"post","link":"https:\/\/www.segfault.be\/?p=8","title":{"rendered":"Nat Statement allowing to simplify the change of networks"},"content":{"rendered":"<p>Hi,<br \/>\nImagine you need to map your local LAN behind another IP range because for example another site uses the same IP addressing.<br \/>\nIt exists a great feature on Cisco IOS to allow mapping your range towards another from a simple way (to avoid to define a static NAT for each devices you have). In this case we make a NAT to reach everything:<br \/>\n<code><br \/>\ninterface Vlan1<br \/>\ndescription *** TO LAN CUSTOMER ***<br \/>\nip address 192.168.2.1 255.255.255.0<br \/>\nip nat inside<br \/>\nip virtual-reassembly in<br \/>\nduplex auto<br \/>\nspeed auto<br \/>\nip nat pool NAT 10.10.2.0 10.10.2.255 netmask 255.255.255.0 type match-host<br \/>\nip nat inside source list 111 pool NAT overload<br \/>\naccess-list 111 remark NAT_TO_DEFAULT_ROUTE_ONLY<br \/>\naccess-list 111 permit ip 192.168.2.0 0.0.0.255 any<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, Imagine you need to map your local LAN behind another IP range because for example another site uses the same IP addressing. It exists a great feature on Cisco IOS to allow mapping your range towards another from a simple way (to avoid to define a static NAT for each devices you have). In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/posts\/8"}],"collection":[{"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.segfault.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":1,"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/www.segfault.be\/index.php?rest_route=\/wp\/v2\/posts\/8\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/www.segfault.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.segfault.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.segfault.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}