06-24-2024 04:53 AM - edited 06-24-2024 04:54 AM
Hey there!
Please, help to resolve my issuse after first configuring bgp connection
don't work nat translation what matter what i do
!Debugin ip nat access-list 1
did't show anything
06-25-2024 03:44 AM - edited 06-25-2024 03:44 AM
Hello
Right 212.110.1.0/24 - pool of public ip
LAN - required access to internet
1 way - static nat to privat addresses from public
or
2 way assign on devices static public ip and have access to internet
@valentyn-lytvynov @MHM Cisco World
So based on your diagram , you only have a single wan interface and two internal lan subnets, so im not sure why you are Policy base routing and having loopback interfaces with public ip addressing?
It suggests you just need to create some simple nat rules and you should be good, that last file (333.txt) makes no sense based on your topology ?
06-25-2024 04:00 AM
do you see any interface other than LO have Public IP 212.110.10.0 ?
he use private IP to connect two router (1.1.1.1) and he need to NAT his client into public IP.
so he need LO and he need PBR to direct traffic into LO
@valentyn-lytvynov I will run lab and share with the code and how you can check it
MHM
06-25-2024 04:36 AM
Public addresses on L0
06-25-2024 05:04 AM
so in end @paul driver was correct and you dont answer his first comment correctly
the WAN use public IP not 1.1.1.1 (as you post and as you answer mr @paul driver ) this change all thing
ISP2 as secondary of WAN interface to ISP1 ?
what you want here ?
I think you far away what you need here
what you need here is dual ISP and NAT with route-map only
http://www.bscottrandall.com/9.5.3
I think you receive default route from both ISP?
MHM
06-25-2024 04:23 AM
I have BGP connection from two dieferent ISP for now setuping just 1st, on examples what I seen one configured Public ip's on loopback other no, which is best practice ?
L0 - for ISP1 and ISP2 secondary addresses and Public ip's assign on G0/0/0 LAN ip's to Loopback 2 - 3
or
ISP1 address and ISP2 secondary ip's assign on G0/0/0 and G0/0/1 Public on Loopback0 and Lan on L0 or Loopback1-2 (need to be accessible from several interfaces)
Thanks!
06-25-2024 04:59 AM - edited 06-25-2024 04:59 AM
Hello
You would have two separate physical interfaces when connecting to two differing ISP circuits and BGP ASNs
06-25-2024 05:04 AM
Got it,
Do you mean 1 interface for ISP 1 for ISP2 and one for assign Public ip?
I haven't connection to access switch only servers direct connected
Thanks!
06-25-2024 05:28 AM
Hello
In most cases the public ip addressing is supplied by the ISP you are connecting to, so based on your topology you will have different public subnets which you can NAT towards (if need be) however you show BGP , so the next question is -
Are you really running bgp or do you have just dual internet ISP connections you want to NAT on to allow internet access
06-25-2024 06:12 AM
Really BGP - get 0.0.0.0 (MHM are right) and advertase Public subnet 212.110.141.0/24
Before I encrypted real addresing!
Now, I reconfiguring all ip's on dieferent physiacall interfaces
but, still can't ping client from router, LAN gateways pinged
06-25-2024 11:45 PM
Hello
So im still not sure you require bgp or not, its suggest you do not if you are swapping interfaces on the fly?
Can you post your current cfg please (in a file)
Im thinking you have two internet paths (now on two physical interfaces) and two lan interfaces, and your requirement is to use both of these wan connections at the same time( dual wan active/active) so to provide internet access for you lan1/lan2 hosts
06-26-2024 04:48 AM - edited 06-26-2024 05:21 AM
06-26-2024 04:52 AM - edited 06-26-2024 04:57 AM
Hi Guy's
Very grateful to you!
But there is one more thing, what method can be used to add several interfaces in one group instead of Vlan on router, BDI is good way or VRF or other?
Thanks!
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