cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1493
Views
0
Helpful
8
Replies

deleted

Oliver Warry
Level 1
Level 1
8 Replies 8

Edson A. Hernandez
Spotlight
Spotlight


Verify that the router is configured to handle traffic for the VLANs: The router should be configured with a sub-interface for each VLAN that you have created. Make sure the sub-interface IP addresses are correctly configured and that the router is configured to route traffic between the VLANs.

configure terminal
interface g0/0
no shutdown
no ip address
!
interface g0/0.1
encapsulation dot1q 1 native
descripticion VLAN NATIVE
!
interface g0/0.10
encapsulation dot1q 10
descripticion VLAN 10
ip add 11.1.10.1 255.255.255.0
!
interface g0/0.20
encapsulation dot1q 20
descripticion VLAN 20
ip add 11.1.20.65 255.255.255.0
!
interface g0/0.30
encapsulation dot1q 30
descripticion VLAN 30
ip add 11.1.30.1 255.255.255.0
!

Thanks for the response, I haven't seen the decimal notation before when configuring interfaces, nor the dot1q command, do they function the same as using the 'interface vlan ##' command?

Looking at my project again, the multilayer switch that I have on the left side already uses the 11.1.##.1 address, would setting the same ones on the router cause some form of conflict?

if your MLS1 is the Gateway you have to configure Static Routing or any IGP to send traffic between Router and MLS1

 

Hi

 You are missing routes on the Layer3 switch and on the routers.  I added a default route on the Layer3 switch pointing to the first router. And the first router another default router pointing to the second router.

On the second router I put an static route like this:  ip route 11.0.0.0. 255.0.0.0 10.20.1.1, which means, any communication from 11.0.0.0 network, return traffic to router1.

 As you can see you can reach from PC to the server.

About the Guest MLS 1 switch on the right, you can not have the same network as the Employee MLS 1 switch, otherwise you would create a conflict for routing.

Use different networks or you can connected both switches using trunk with Router and then use the router as gateway for both switches.

FlavioMiranda_0-1683487069701.png

 

Oliver Warry
Level 1
Level 1

I thought the guest network switch would be fine if I gave it a different IP address, since the one on the left falls under 11.1.1.1 and the one on the right falls under 11.1.2.1. Is doing that simply not enough to avoid issues?

And regarding routing, since I'm still very inexperienced, what you're saying is that I need to create a static route from the MLS on the left to what, the gateway port of the router?

Thanks for the response, sorry if it takes a bit of time for me to grasp it but stuff like this feels immensely complicated.

"I thought the guest network switch would be fine if I gave it a different IP address, since the one on the left falls under 11.1.1.1 and the one on the right falls under 11.1.2.1."

 Yes, you are right, from the router´s perspective this is right. But I was saying about the switch perspective.

As per the file I have, you were using the same network addressing on this switch as you used in the other. And that´s what I meant.  You should use different network.

 

Vlan10 11.1.10.1 YES manual administratively down down

Vlan20 11.1.20.1 YES manual administratively down down

Vlan30 11.1.30.1 YES manual administratively down down

Vlan99 11.1.99.1 YES manual up

 

"And regarding routing, since I'm still very inexperienced, what you're saying is that I need to create a static route from the MLS on the left to what, the gateway port of the router?"

 

 That´s correct. You need to tell the switch to where send the packets when a PC call 192.168.1.x. You can do this by adding a specific route, like

ip route 192.168.1.0 255.255.255.0 11.1.1.1.

Or you add a default route, like I did

0.0.0.0 0.0.0.0 11.1.1.1 (Which means, everything you dont know, send to the router)

 

"Thanks for the response, sorry if it takes a bit of time for me to grasp it but stuff like this feels immensely complicated."

   dont worry. Take your time and ask if you do not understood.  It seems complicate at the begenning but it will becoming easier and easier as you practice.

 

 I am sharing with you a working file. I added a new addressing on the guest network to avoid any conflict.

 

 

Edson A. Hernandez
Spotlight
Spotlight

You need to create a static routes for each network on R1

 

R1(config)#ip route 11.1.10.0 255.255.255.0 11.1.1.2

R1(config)#ip route 11.1.20.0 255.255.255.0 11.1.1.2

R1(config)#ip route 11.1.30.0 255.255.255.0 11.1.1.2

R1(config)#ip route 11.1.99.0 255.255.255.0 11.1.1.2

For this to work would I need to assign the Gig0/1 interface an IP address of 11.1.1.2? Since at the moment that address doesn't exist anywhere.

OliverWarry_0-1683546207808.png