cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1109
Views
4
Helpful
2
Replies

Routing over a Trunk

mparekh
Level 3
Level 3

Suppose I have 2 core switches at seperate locations with a GiG ethernet connection between the switches. Right now the GiG Ethernet connection is configured as a dot1q trunk which is required to carry a vendor's Layer 2 proprietary traffic between sites.

The issue i'm facing now is if we wanted to route traffic (i.e OSPF routes) over the trunk for other application how would I do that?

2 Replies 2

Istvan_Rabai
Level 7
Level 7

Hi Milan,

If you want this trunk to remain a layer2 trunk, you can use the vlan interfaces belonging to the vlans allowed on this trunk to route traffic.

E.g. your trunk carries vlans 2 and 3, then you can configure the vlan interfaces like this:

interface vlan 2

ip address x.x.x.x x.x.x.x

interface vlan 3

ip address y.y.y.y y.y.y.y

Then you can use the ip addresses of these interfaces in your ospf configuration with the "network" ospf router command.

If you provide more info about your current and expected configurations, then I can give you a more specific answer.

Cheers:

Istvan

kapish.mohole
Level 1
Level 1

Hi,

That is right, you can create vlan layer 3 interfaces and do routing.

If you dont want vlan interfeaces and routing to happen in your desired vlans and other vlans then use loopback and gre tunnel combination to pass routing information.

Regards

Review Cisco Networking products for a $25 gift card