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

Sub-interfaces to Separate routes

taimoor4engg
Level 1
Level 1

Hey Guys, 

 

We have a router with three sub-interfaces Gig0/1.111, Gig0/1.222 and Gig 0/1.333. 

I would like to set Gig 0/1.111 and 1.222 to use Gig0/2 ISP and Gig0/1.333 to use Gig 0/3 ISP.

My problem is we cant use VRF and static routing due to limitation. 

 

Is there any other way I can achieve it ?

 

Thanks

3 Replies 3

Hello

Does you rtr support Policy Based Routing ( PBR) ?
res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

No its 1800 series old ATT router, its not supported. 

Hi

I agree with Paul, I have some 1800 routers and it works, the config could be:

 

ip access-list NET1-TO-ISP

deny ip 192.168.111.0 0.0.0.255  10.0.0.0 0.255.255.255

deny ip 192.168.111.0 0.0.0.255  172.16.0.0 0.15.255.255

deny ip 192.168.111.0 0.0.0.255  192.168.0.0 0.0.255.255

permit ip any any

 

ip access-list NET2-TO-ISP

deny ip 192.168.222.0 0.0.0.255  10.0.0.0 0.255.255.255

deny ip 192.168.222.0 0.0.0.255  172.16.0.0 0.15.255.255

deny ip 192.168.222.0 0.0.0.255  192.168.0.0 0.0.255.255

permit ip any any

 

ip access-list NET3-TO-ISP

deny ip 192.168.333.0 0.0.0.255  10.0.0.0 0.255.255.255

deny ip 192.168.333.0 0.0.0.255  172.16.0.0 0.15.255.255

deny ip 192.168.333.0 0.0.0.255  192.168.0.0 0.0.255.255

permit ip any any

 

<next hops: 1.1.1.1 ISP1 and 2.2.2.2 ISP2>

 

route-map NET1-TO-ISP permit

match ip address NET1-TO-ISP

set ip next-hop 1.1.1.1

 

route-map NET2-TO-ISP permit

match ip address NET2-TO-ISP

set ip next-hop 1.1.1.1

 

route-map NET3-TO-ISP permit

match ip address NET3-TO-ISP

set ip next-hop 2.2.2.2

 

interface fa0/0.111

ip policy route-map NET1-TO-ISP

 

interface fa0/0.222

ip policy route-map NET2-TO-ISP

 

interface fa0/0.333

ip policy route-map NET3-TO-ISP

 

Hope it is useful

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<
Review Cisco Networking for a $25 gift card