cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1229
Views
5
Helpful
2
Replies

Creating a VRF

ud0508500
Level 1
Level 1

I need to create a VRF on a Bastion router for management..can someone direct on how I should proceed? I have a physical connection to the Bastion switch and I am not sure how I should proceed with a VRF to only allow the management vlan to be seen..

greatly appreciate the help

2 Replies 2

Suppose the router interfaces are

f0/0 - Connecting to Internet - 20.0.0.1/24

f0/1 - insideLAN - 10.0.0.1/24

f0/2 - Management - 172.16.20.1/24

your PC - 172.16.20.2

For the Management just configure the int f0/2 with ip 172.16.20.1 and your PC should be connected to this port for Management.

( If you are using switch , create a seperate VLAN for accomodating Router f0/ 2 and your PC)

then create a VRF VR1 and allocate the interfaces f0/0 and f0/1

Router(config)#ip vrf VR1

Router(config-vrf)#rd 100:100

Router(config)#int f0/0

Router(config-if)#no shut

Router(config-if)#ip vrf forwarding VR1

Router(config-if)#ip add 20.0.0.1 255.255.255.0

Router(config)#int f0/1

Router(config-if)#no shut

Router(config-if)#ip vrf forwarding VR1

Router(config-if)#ip add 10.0.0.1 255.255.255.0

Routing :

Default route towards ISP GW

Router(config)#ip route vrf VR1 0.0.0.0 0.0.0.0

Hope this helps.

this is excellent!!! I'll give it a try..thank you very much

Review Cisco Networking products for a $25 gift card