<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Routing with 3 public IP net on 1800 router in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831255#M180162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ulrik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might look something like this:&lt;/P&gt;&lt;P&gt;access-list 2 permit 192.168.101.0 0.0.0.255&lt;/P&gt;&lt;P&gt;ip nat pool pool2 178.249.51.10 178.249.51.10 prefix-length 29&lt;/P&gt;&lt;P&gt;ip nat inside source list 2 pool pool2 overload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Nov 2011 13:56:18 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2011-11-28T13:56:18Z</dc:date>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831252#M180159</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know much about routers, but lately I've been playing around with router configuration and getting better &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; but I am kind of stuck now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 ip net from the ISP:&lt;/P&gt;&lt;P&gt;178.249.51.0/255.255.255.248 Gateway 178.249.51.1&lt;/P&gt;&lt;P&gt;178.249.51.8/255.255.255.248 Gateway 178.249.51.9&lt;/P&gt;&lt;P&gt;178.249.51.16/255.255.255.248 Gateway 178.249.51.17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Cisco 1800 router where I have made 3 "inside" VLANs with DHCP which works just fine.&lt;/P&gt;&lt;P&gt;VLAN1 = 192.168.100.0&lt;/P&gt;&lt;P&gt;VLAN2 = 192.168.101.0&lt;/P&gt;&lt;P&gt;VLAN3 = 192.168.102.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for testing I have assigned a vlan to a port:&lt;/P&gt;&lt;P&gt;VLAN1 = Port 2&lt;/P&gt;&lt;P&gt;VLAN2 = Port 3&lt;/P&gt;&lt;P&gt;VLAN3 = Port 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure I have a problem with routes. If I add 0.0.0.0 0.0.0.0 178.249.51.1 (as a default route) I can access the Internet with the public IP 178.249.51.2 (my routers IP on int fa0) from all VLANs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove the default route and add these three routes I have no Internet access:&lt;/P&gt;&lt;P&gt;ip route 192.168.100.0 255.255.255.0 178.249.51.1&lt;/P&gt;&lt;P&gt;ip route 192.168.101.0 255.255.255.0 178.249.51.9&lt;/P&gt;&lt;P&gt;ip route 192.168.102.0 255.255.255.0 178.249.51.17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is access the Internet from:&lt;/P&gt;&lt;P&gt;VLAN1 with public IP 178.249.51.2&lt;/P&gt;&lt;P&gt;VLAN2 with public IP 178.249.51.10&lt;/P&gt;&lt;P&gt;VLAN3 with public IP 178.249.51.18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ISP deliver the 3 IP net from their router like this:&lt;/P&gt;&lt;P&gt;interface GigabitEthernet0/1.700&lt;/P&gt;&lt;P&gt;encapsulation dot1Q 700&lt;/P&gt;&lt;P&gt;ip address 178.249.51.1 255.255.255.248 secondary&lt;/P&gt;&lt;P&gt;ip address 178.249.51.17 255.255.255.248 secondary&lt;/P&gt;&lt;P&gt;ip address 178.249.51.9 255.255.255.248&lt;/P&gt;&lt;P&gt;service-policy input 100M-police&lt;/P&gt;&lt;P&gt;service-policy output 100M-police&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also not sure if I have to add the secondary addresses to my WAN port Fa0? Or if I did it correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my configuration from the router and hope someone can give some advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also wondering - when we get more public IP net from the ISP, is this the correct way to do it? Or is there some other way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Ulrik&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 22:26:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831252#M180159</guid>
      <dc:creator>Ulrik Thorup</dc:creator>
      <dc:date>2019-03-04T22:26:07Z</dc:date>
    </item>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831253#M180160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ulrik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First let us deal with the obvious problem. When you configure these static routes &lt;/P&gt;&lt;P&gt;ip route 192.168.100.0 255.255.255.0 178.249.51.1&lt;/P&gt;&lt;P&gt;ip route 192.168.101.0 255.255.255.0 178.249.51.9&lt;/P&gt;&lt;P&gt;ip route 192.168.102.0 255.255.255.0 178.249.51.17&lt;/P&gt;&lt;P&gt;then you are saying that these subnets are reachable out in the Internet. But they are subnets on the inside of your router. If they are assigned on VLANs of your router then they will already be in the routing table as connected routes and you do not need to create static routes for them at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to the other parts of the question. In my experience this is a somewhat unusual implementation from the ISP to have all 3 address blocks assigned on the interface using secondaries. What I would usually expect would be one subnet assigned on the interface and the other 2 subnets just routed to you over that subnet. This would allow you to assign the other address blocks somewhere other than the outside interface of your router (perhaps on a firewall inside or something like that). But if this is what they have done then this is what we should deal with in this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to achieve what you want which is to access the Internet for VLAN 1 using one public address, access the Internet for VLAN 2 using another public address, and to access the Internet using another public address. What you need to do would include:&lt;/P&gt;&lt;P&gt;- remove the static routes for 192.168.100.0, 192.168.101.0, and 192.168.102.0.&lt;/P&gt;&lt;P&gt;- configure one static default route as you originally had it.&lt;/P&gt;&lt;P&gt;- remove the existing &lt;/P&gt;&lt;P&gt;ip nat inside source list 1 interface FastEthernet0 overload&lt;/P&gt;&lt;P&gt;and the existing access list 1.&lt;/P&gt;&lt;P&gt;- configure new access lists using a separate list for each VLAN subnet.&lt;/P&gt;&lt;P&gt;- configure 3 ip nat inside statements where each statement uses one of the access lists and translates that subnet to the appropriate public IP address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 12:55:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831253#M180160</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2011-11-28T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831254#M180161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still a little lost with the last part. The rest makes sense for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give an example how I can make one of the ip nat inside statements? Eg. if I want VLAN2-hosts to access the Internet with the IP address 178.249.51.10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Ulrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 13:36:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831254#M180161</guid>
      <dc:creator>Ulrik Thorup</dc:creator>
      <dc:date>2011-11-28T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831255#M180162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ulrik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might look something like this:&lt;/P&gt;&lt;P&gt;access-list 2 permit 192.168.101.0 0.0.0.255&lt;/P&gt;&lt;P&gt;ip nat pool pool2 178.249.51.10 178.249.51.10 prefix-length 29&lt;/P&gt;&lt;P&gt;ip nat inside source list 2 pool pool2 overload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 13:56:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831255#M180162</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2011-11-28T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831256#M180163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much! It is working like a dream now, just like I wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see I need to study NAT a lot more &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/tiny_mce3/plugins/jiveemoticons/images/spacer.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Ulrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 14:21:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831256#M180163</guid>
      <dc:creator>Ulrik Thorup</dc:creator>
      <dc:date>2011-11-28T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Routing with 3 public IP net on 1800 router</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831257#M180164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ulrik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that my suggestion pointed you toward a correct solution to your question. Thank you for using the rating system to mark this question as answered (and thanks for the points). It makes the forum more useful when people can read a question and can know that there was a correct solution found. Your marking has contributed to this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes there is quite a bit to study and to understand about how to effectively use NAT. I wish you well as you continue to learn about Cisco networking. This forum is a great resource and I hope that you will continue to make use of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2011 15:19:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/routing-with-3-public-ip-net-on-1800-router/m-p/1831257#M180164</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2011-11-28T15:19:19Z</dc:date>
    </item>
  </channel>
</rss>

