Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

2901 router

I have 2901 cisco router.

Running one gateway on it, is it possible to add more vlans or use psyical interfaces to run multiple gateways? Its important that they are seperat, that the routes are for each interface.

Regards j

Sent from Cisco Technical Support iPhone App

Please rate as helpful, if that would be the case. Thanx
2 ACCEPTED SOLUTIONS

Accepted Solutions
Cisco Employee

2901 router

Yes, that is possible. Just put each sub-interface in a VRF. Consider each VRF as seperate routing table.

HTH,

Lei Tian

Purple

2901 router

Hi,

you have to define your VRF first:

ip vrf vpn

rd 1:1

then add interfaces to that vrf( what you did) and there will be a global routing table( for interfaces not in VRFs) and one RIB per VRF.

you'll have to issue sh ip route vrf * to see all RIBs( including global one).

for static routing you just have to use the keyword vrf(followed by vrf name) or global depending on your need and for testing connectivity don't forget to add the keyword vrf followed by the vrf name in your ping, traceroute,... commands.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
6 REPLIES
Cisco Employee

2901 router

Hi,

Yes, you can create multiple sub-interface under one physical interface, each sub-interface is a gateway for that subnet.

HTH,

Lei Tian

New Member

Re: 2901 router

I dont want routing between the different interfaces, but as I understand this is not possible? I need extra gateways because of a asa firewall move and the traffic cannot be mixed.

Sent from Cisco Technical Support iPhone App

Please rate as helpful, if that would be the case. Thanx
Cisco Employee

2901 router

Yes, that is possible. Just put each sub-interface in a VRF. Consider each VRF as seperate routing table.

HTH,

Lei Tian

New Member

Re: 2901 router

I haved added this to the Cisco 2901 config:

interface GigabitEthernet0/0

no ip address

duplex auto

speed auto

!

interface GigabitEthernet0/0.2700

encapsulation dot1Q 2700

ip vrf forwarding vpn

ip address 10.0.122.5 255.255.254.0

I now have full connectivity to the 10.0.122.5 in 2700 vlan. But how do i configure static routes, or maintain a seperat routing table for just this vlan/vrf ?

Please rate as helpful, if that would be the case. Thanx
Purple

2901 router

Hi,

you have to define your VRF first:

ip vrf vpn

rd 1:1

then add interfaces to that vrf( what you did) and there will be a global routing table( for interfaces not in VRFs) and one RIB per VRF.

you'll have to issue sh ip route vrf * to see all RIBs( including global one).

for static routing you just have to use the keyword vrf(followed by vrf name) or global depending on your need and for testing connectivity don't forget to add the keyword vrf followed by the vrf name in your ping, traceroute,... commands.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
New Member

Re: 2901 router

Thanks for advice from both of you. This solved alot of problems for me.

Please rate as helpful, if that would be the case. Thanx
179
Views
5
Helpful
6
Replies
CreatePlease login to create content