?
Solved

Interface Vlan and No Switchport

Posted on 2016-10-15
7
Medium Priority
?
137 Views
Last Modified: 2016-10-22
I would like to know if :
- I configure, for instance, one L3 switch port in Vlan 10, then configure the same port as Interface Vlan 10 , and assign it IP address.
OR
-I just configure the Port with "No Switchport", then assign it IP address.

Will these be the same ?

Thank you
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 30

Assisted Solution

by:Predrag
Predrag earned 2000 total points
ID: 41844952
I configure, for instance, one L3 switch port in Vlan 10, then configure the same port as Interface Vlan 10 , and assign it IP address.
No, it is either L2 in VLAN 10 or L3 and you can assign IP address to port, not both.
 :)
if you issue # no switchport port will be removed from ports that are assigned to some vlan (the same way you cant see trunk ports when command # sh  vlan brief is issued and trunk is active).

So, second option is OK if you need to assign IP adress to interface - by issuing # no switchport you can assign later IP address to interface.
One option is assign port to VLAN - in that case IP addresses are assigned either to hosts* or to SVIs (but not to switch physical interfaces).
*Host in this case can be even router :) - you can assign IP address to router port and on the connected switch you can configure port as access port in VLAN 10.
0
 

Author Comment

by:jskfan
ID: 41846985
Correct SVI is Virtual, kind of assigned to the whole VLAN, not to specific port
0
 
LVL 30

Assisted Solution

by:Predrag
Predrag earned 2000 total points
ID: 41847046
SVI = Switch Virtual Interface
... second part is complete mystery for me since in original question you asked about ports (now it is not specific port, but assigned to whole VLAN?), and, by the way, there is no no switchport command under SVI.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:jskfan
ID: 41849809
I meant SVI IP address is specific to a VLAN (vlan can have one or more than one port)
No switchport is specific to a switch port, that you want to assign an IP address just like a router interface.

The usage of SVI IP usually serves as Default gateway for computers.
The usage of No switchport , is when you want to route traffic...

In a different questions E Experts stated that SVI can also be configured on L2 switch for management interface.
with L3 switch, you can configure SVI and you can configure IP Routing so that Vlans can route traffic within the Switch without going out to  the router

if you have L2 Switch with separate Vlans on it and you connect the L2 sw to a router port (trunk port) , vlans will have to go to the router then back to communicate between themselves.
The DG on computers will point to an interface of the Router
0
 

Author Comment

by:jskfan
ID: 41849819
Sorry I have not finished my above  comment:

if you have L2 Switch with separate Vlans on it and you connect the L2 switch Trunk port to a router port (trunk port) , vlans will have to go to the router then back to communicate between themselves.
is there anything to configure on the router to make the routing between Vlans happen ?
0
 
LVL 30

Accepted Solution

by:
Predrag earned 2000 total points
ID: 41850222
is there anything to configure on the router to make the routing between Vlans happen ?
The way you described it, answer is "No, you don't need to configure anything on router". (but, maybe you meant something else?)
0
 

Author Closing Comment

by:jskfan
ID: 41855641
Thank you for the explanation
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question