{"id":1796,"date":"2015-03-10T22:53:00","date_gmt":"2015-03-10T22:53:00","guid":{"rendered":"https:\/\/www.balajibandi.com\/?p=1796"},"modified":"2023-12-16T19:03:38","modified_gmt":"2023-12-16T19:03:38","slug":"basic-router-setup-and-nat-with-internet-provider","status":"publish","type":"post","link":"https:\/\/www.balajibandi.com\/?p=1796","title":{"rendered":"Basic Router setup and NAT with internet provider"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"174\" height=\"470\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2023\/12\/image.png\" alt=\"\" class=\"wp-image-1977\" style=\"width:163px;height:auto\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2023\/12\/image.png 174w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2023\/12\/image-111x300.png 111w\" sizes=\"auto, (max-width: 174px) 100vw, 174px\" \/><\/figure>\n\n\n\n<p>In this example Router, Eth 0\/1 is connected to ISP and gets DHCP IP address<\/p>\n\n\n\n<p>Ethernet 0\/1 connects to the LAN side, the Switch acting as Layer 2 and default VLAN1<\/p>\n\n\n\n<p>interface Ethernet0\/1<br>ip address dhcp<br>ip nat outside<br>ip virtual-reassembly in<br>duplex auto<br>no shut<br>!<br>interface Ethernet0\/0<br>ip address 10.10.10.1 255.255.255.0<br>ip nat inside<br>ip virtual-reassembly in<br>duplex auto<br>no shut<br>!<br>!<br>ip nat inside source list 20 interface Ethernet0\/1 overload<br>ip route 0.0.0.0 0.0.0.0 Ethernet0\/1 dhcp<br>!<br>!<br>!<br>access-list 20 permit 10.10.10.0 0.0.0.255<\/p>\n\n\n\n<p>Happy Labbbing &#8230;&#8230;&#8230;&#8230;&#8230;!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this example Router, Eth 0\/1 is connected to ISP and gets DHCP IP address Ethernet 0\/1 connects to the LAN side, the Switch acting as Layer 2 and default VLAN1 interface Ethernet0\/1ip address dhcpip nat outsideip virtual-reassembly induplex autono shut!interface Ethernet0\/0ip address 10.10.10.1 255.255.255.0ip nat insideip virtual-reassembly induplex autono shut!!ip nat inside source list [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1796","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1796"}],"version-history":[{"count":4,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1796\/revisions"}],"predecessor-version":[{"id":1980,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1796\/revisions\/1980"}],"wp:attachment":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}