cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
444
Views
0
Helpful
1
Replies

Vlan without a switch using IPV6

wpgeiger3
Level 1
Level 1

In a little bit of a brick wall.  I need to set up a router directly to a laptop using a VLAN for a lab.  I created the VLAN and encapsulated using dot1Q but the vlan is still in a down state. 

 

int vlan 70
int g0/2.70
encapsulation dot1Q 70

 

I issued no shut on the vlan and g0/2 with no success.  Any help and explanation would be greatly appreciated.  

1 Reply 1

mlund
Level 7
Level 7

Hi

It seems you have mixed two concepts of trunking.

First way, if the interface is in mode "switchport"

Then you have to configure the layer2 vlan with command " vlan 70"

after that you configure the layer3 with command " interface vlan 70" here you add your ip address.

and then you configure the interface where you will connect the pc with commands "switchport mode access" and "switchport access vlan 70" if you want the port not to send dot1q tags, or you configure "switchport mode trunk" and "switchport trunk allowed vlan 70" if you want to send traffic with dot1q.

 

Second way, if the interface is in "no switchport"

Then you configure the interface directly with command

interface gi2/.70

encap dot1q

ip address x.x.x.x

 

/Mikael