01-24-2010 08:58 PM - edited 03-04-2019 07:17 AM
Greetings,
I have a 2821 router with a T1 to ISP A, and a new ethernet connection to a cable provider.
We are using public IPs from the T1 provider, and want to route some of this traffic to the cable provider. Since the cable provider cannot route ISP A's IPs, I have enabled NAT for the cable interface, and a route-map to send certain source IPs through the cable interface.
Traffic is getting caught up in the router and not getting out the cable interface, and need assistance in figuring out how to fix:
interface GigabitEthernet0/0.2
description Inside_Lan
encapsulation dot1Q 20
ip address 1.1.1.1 255.255.255.240
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip policy route-map cable_provider
no cdp enable
!
interface GigabitEthernet0/1
description Cable_Provider
ip address 2.2.2.1 255.255.255.252
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly
zone-member security in-zone
ip route-cache flow
duplex auto
speed auto
no mop enabled
route-map cable_provider permit 10
match ip address 105
set ip next-hop 2.2.2.2
access-list 105 permit ip 1.1.1.0 0 0.0.0.255 any
Thanks,
David
01-24-2010 09:36 PM
What's the subnet of your inside LAN?
Your Gi0/0.2 interface is configured as 255.255.255.240, but your ACL is matching 255.255.255.0.
Could you also post the rest of your NAT configuration?
I only see ip nat inside & ip nat outside on your interfaces.
01-24-2010 09:44 PM
Sorry, its 255.255.255.0(typo).
ip nat inside source list 10 interface GigabitEthernet0/1 overload
access-list 10 permit 1.1.1.0 0.0.0.255
When I do a show ip nat trans
I do see a bunch of translations with the inside global being gig 0/1 (cable provider) and inside local being the end-user IP
01-26-2010 09:52 AM
Using set ip default next-hop 2.2.2.2 seemed to fix this issue
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