cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2690
Views
10
Helpful
5
Replies

L2 routing

mohamed.ali
Level 1
Level 1

Dears, 

 

i have a layer 2 link that when I put an IP on the same subnet there is connectivity. 

note that in the layer to there is a direct connection network as well static route. so I need to make routing with layer 2 from my HQ .

 

what is your recommendation for the configuration?
if i make a trunk instead of access as well make SVI ?

2 Accepted Solutions

Accepted Solutions

Hi

You could use as you mention a trunk and create SVI to enable a L3 point to point with the IP addresses. 

For example:

interface g0/24

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allow vlan 100

 

vlan 100

interface vlan 100

description xxxxxx

ip address 10.10.100.1 255.255.255.252

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

Hi

You're welcome  :-)

This point to point will be included into a routing protocol, you can see it like router A ---- router B and you can apply any routing procedure like we do on any layer 3 point to point.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

5 Replies 5

Hi

You could use as you mention a trunk and create SVI to enable a L3 point to point with the IP addresses. 

For example:

interface g0/24

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allow vlan 100

 

vlan 100

interface vlan 100

description xxxxxx

ip address 10.10.100.1 255.255.255.252

 

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

many thanks sir,

can I know any needs to make any route distribute?

Hi

You're welcome  :-)

This point to point will be included into a routing protocol, you can see it like router A ---- router B and you can apply any routing procedure like we do on any layer 3 point to point.

:-)




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

tomorrow i shall do this configure.
please, i wanna to ask you last question.

on one side I have only one subnet directly connected.
but on the other side, there are many static routes and directly connected.
when i configure SVI everything will be ok ?
and there is reachability?

Hi 

Could you please provide more details about the question or how are the ports or static routes configured?

 

For example you could have this scenario:

 

Location A

 

 

vlan 100

name Point-to-Point

 

vlan 100

interface vlan 100

description xxxxxx

ip address 10.10.100.1 255.255.255.252

 

interface g0/24

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allow vlan 100

 

 

Location B

 

vlan 100

name Point-to-Point

 

vlan 100

interface vlan 100

description xxxxxx

ip address 10.10.100.2 255.255.255.252

 

interface g0/24

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allow vlan 100

 

Now if for example on Location B you have the following static routes:

 

ip route 1.1.1.1 255.255.255.255 10.10.100.1

ip route 2.2.2.2 255.255.255.255 10.10.100.1

 

So these hosts will be known via Location A

 

But you must analyze and interpret your network first in order to avoid any impact. Before to modify any configuration I suggest request a maintenance window with approvals. 

 

:-)

 

 




>> 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 products for a $25 gift card