cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
472
Views
0
Helpful
3
Replies

Dual ISP, set ip next-hop issue

dbauman_wan
Level 1
Level 1

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

3 Replies 3

huangedmc
Level 3
Level 3

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.

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

dbauman_wan
Level 1
Level 1

Using set ip default next-hop 2.2.2.2 seemed to fix this issue

Review Cisco Networking products for a $25 gift card