Question on VLANs on TNSR
-
Trying to set up a couple of VLANs at the moment and am encountering issues. A search of documentation has not illuminated my mind so far. On PfSense, I was able to assign VLANs to an interface without having a subnet assigned to that interface (i.e. igb3 could be unassigned but igb3.40 and igb3.60 could be set up). I am trying to do this on TNSR with TenGigabitEthernet8/0/0. I was trying to keep *8/0/0 unassigned while creating VLANs *8/0/0.40 and *8/0/0.60. However, whenever I try to enable one of the VLAN interfaces, I get the following error:
Apr 16 21:47:59: Commit failed.: application operation-failed add:vpp/intf/TenGigabitEthernet8/0/0.40, Unspecified Error, Set admin status failed
Is this because I can only assign VLANs to an interface which is already assigned to a subnet? If not, what am I doing wrong? After creating the VLAN interface, I am inputting the following:
TNSR tnsr(config)# interface TenGigabitEthernet8/0/0.40
TNSR tnsr(config-interface)# ip address 10.0.40.1/24
TNSR tnsr(config-interface)# description VLAN40
TNSR tnsr(config-interface)# enable
TNSR tnsr(config-interface)# exit
Apr 16 21:47:59: Commit failed.: application operation-failed add:vpp/intf/TenGigabitEthernet8/0/0.40, Unspecified Error, Set admin status failed -
Enable the parent interface
in your case :
TNSR tnsr(config)# interface TenGigabitEthernet8/0/0
TNSR tnsr(config-interface)# enable
TNSR tnsr(config-interface)#exitThen Enable the sub interface (TenGigabitEthernet8/0/0.40)
-
Thanks! I wasn't aware that I could do that without assigning an IP address etc to that interface.
-