Jump to content

How to make a vlan on the router?

GamerGry123

In cisco packet tracer, he enters:
enable
conf t
vlan 10

 

and there is no vlan and it works on the switch.

Link to comment
Share on other sites

Link to post
Share on other sites

Probably licensing issue. Cisco is like that.

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, willies leg said:

Probably licensing issue. Cisco is like that.

It's packet tracer, there is no license

Plus nothing that basic is licensed with cisco

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

42 minutes ago, GamerGry123 said:

In cisco packet tracer, he enters:
enable
conf t
vlan 10

 

and there is no vlan and it works on the switch.

You need to expand on what you mean because that's how you make a VLAN

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

You create a vlan then you assign it to ports

You just created the vlan and didn't even save it to the config

paste in a show run and we can help more

Link to comment
Share on other sites

Link to post
Share on other sites

It sounds like you are talking about a Cisco IOS router, if so, they are called sub interfaces, not vlans (vlan is a switch term). The sub interface basically acts exactly like an interface once setup, expect instead of representing a physical port, it represents tagged traffic on a port.

 

Here is a quick example of how you would create VLAN 100 on g0/0

 

conf t

interface g0/0.100  (this could technically be anything, but matching it with the vlan number avoids confusion later)
encapsulation dot1Q 100  (this is where the VLAN number is set)
ip address 172.16.100.1 255.255.255.0

 

This assumes the switch port g0/0 is connected to is in trunk mode. If it is in switchport mode, this would not work.

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Lurick said:

You need to expand on what you mean because that's how you make a VLAN

That is how you make a vlan on a switch, not on a router.

Link to comment
Share on other sites

Link to post
Share on other sites

17 minutes ago, sphbecker said:

That is how you make a vlan on a switch, not on a router.

True, I guess it would help if OP clarified a bit more since the title does say router (which your sub-interface example is correct for IOS) but the post makes no mention of a router only a switch.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Lurick said:

True, I guess it would help if OP clarified a bit more since the title does say router (which your sub-interface example is correct for IOS) but the post makes no mention of a router only a switch.

Agreed, no idea what kind of router he is talking about. Might be a Netgear router that could only do it if DDWRT got installed.

Link to comment
Share on other sites

Link to post
Share on other sites

14 minutes ago, sphbecker said:

Agreed, no idea what kind of router he is talking about. Might be a Netgear router that could only do it if DDWRT got installed.

Well it's Cisco packet tracer (or at least that's what OP mentions) which I don't recall having functionality to connect to outside devices like CML does.

Current Network Layout:

Current Build Log/PC:

Prior Build Log/PC:

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Lurick said:

Well it's Cisco packet tracer (or at least that's what OP mentions) which I don't recall having functionality to connect to outside devices like CML does.

fair.

Link to comment
Share on other sites

Link to post
Share on other sites

It sounds to me like homework for a class.

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 1/5/2022 at 9:47 PM, willies leg said:

It sounds to me like homework for a class.

 

Because it's a homework assignment. I'll show you all the homework.

I did all the tasks but I didn't know what this one was about.

Link to comment
Share on other sites

Link to post
Share on other sites

-= Locked =-

The Forum is not for you to ask us to do your homework.

COMMUNITY STANDARDS   |   TECH NEWS POSTING GUIDELINES   |   FORUM STAFF

LTT Folding Users Tips, Tricks and FAQ   |   F@H & BOINC Badge Request   |   F@H Contribution    My Rig   |   Project Steamroller

I am a Moderator, but I am fallible. Discuss or debate with me as you will but please do not argue with me as that will get us nowhere.

 

Spoiler

  

 

Character is like a Tree and Reputation like its Shadow. The Shadow is what we think of it; The Tree is the Real thing.  ~ Abraham Lincoln

Reputation is a Lifetime to create but seconds to destroy.

You have enemies? Good. That means you've stood up for something, sometime in your life.  ~ Winston Churchill

Docendo discimus - "to teach is to learn"

 

 CHRISTIAN MEMBER 

 

 
 
 
 
 
 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Guest
This topic is now closed to further replies.

×