04-16-2012 06:27 AM - edited 03-04-2019 04:02 PM
Hi,
I am trying to configure the following on an 877 router:
The config I currently have has been working for probably more than a year now and works well, the only part that doesn't work for me is each VLAN going out on it's own IP address.
My first question is: is this possible, at least on this router?
If it is then can anyone offer an example config?
I have been looking at getting this going for a while and looked in to a route-map and a pool but I'm not sure if i am going down the right lines.
Thanks
Solved! Go to Solution.
04-16-2012 11:59 AM
Try this.
ip access-list extended NAT-vlan1
permit ip 10.1.1.0 0.0.0.255 any
ip access-list extended NAT-vlan2
permit ip 10.1.2.0 0.0.0.255 any
ip access-list extended NAT-vlan3
permit ip 10.1.3.0 0.0.0.255 any
xxx.xxx.xxx.xxx is your public addresses available on your PPPoE circuit.
ip nat pool P1 xxx.xxx.xxx.xx1 netmask 255.255.255.255
ip nat pool P2 xxx.xxx.xxx.xx2 netmask 255.255.255.255
ip nat pool P3 xxx.xxx.xxx.xx3 netmask 255.255.255.255
ip nat inside source list NAT-vlan1 pool P1 overload
ip nat inside source list NAT-vlan2 pool P2 overload
ip nat inside source list NAT-vlan2 pool P3 overload
Let me know, if this helps.
thanks
04-16-2012 11:59 AM
Try this.
ip access-list extended NAT-vlan1
permit ip 10.1.1.0 0.0.0.255 any
ip access-list extended NAT-vlan2
permit ip 10.1.2.0 0.0.0.255 any
ip access-list extended NAT-vlan3
permit ip 10.1.3.0 0.0.0.255 any
xxx.xxx.xxx.xxx is your public addresses available on your PPPoE circuit.
ip nat pool P1 xxx.xxx.xxx.xx1 netmask 255.255.255.255
ip nat pool P2 xxx.xxx.xxx.xx2 netmask 255.255.255.255
ip nat pool P3 xxx.xxx.xxx.xx3 netmask 255.255.255.255
ip nat inside source list NAT-vlan1 pool P1 overload
ip nat inside source list NAT-vlan2 pool P2 overload
ip nat inside source list NAT-vlan2 pool P3 overload
Let me know, if this helps.
thanks
04-16-2012 12:45 PM
Thank you very much for your response, i will try this in a while when i get the chance. One further question though, do I need to assign all the IP addresses as secondary in my dialer interface?
Thanks
Iain
04-16-2012 01:01 PM
"One further question though, do I need to assign all the IP addresses as secondary in my dialer interface?"
No, but those public IPs in question, must be available on PPPoE circuit, assinged to you by your ISP.
thanks
04-16-2012 02:54 PM
Hi rizwanr,
Many thanks for your help, i basically already had it but was just being a donkey, I just needed to change the local pool i was trying to use into a NAT pool
Thanks
Iain
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide