Solved

IP Routing and SwitchPort

Posted on 2014-03-31
6
369 Views
Last Modified: 2014-04-23
** If I create Vlan 10 and Vlan 20 and assign them appropriate ports.
then if I type IP Routing.
Will workstations on Vlan 10 be able to ping Vlan 20 ?
OR
Do I still  have  to create Vlan Interfaces   ?

** Let 's say I have Vlan 10 and Vlan 20 created. Nothing else created, I mean no Vlan Interfaces, No IP Routing commands typed.
I will select a port, i.e. : Interface fa0/11 (it is in Vlan 10)
and type : No Switchport
then type : Ip address 192.168.45.66
then type: No Shutdown.
What will interface fa0/11 be capable of doing ? I mean if I connect a workstation to fa0/11 , will the workstation be able to talk to every other workstation in Vlan 10 ?
If I connect fa0/11 to another switch port that is also configured with No Switchport and assigned IP address , what will this be able to do ? If I connect fa0/11 to Router port what will this be able to do…

by and large I am trying to know in what circumstances No Switchport is used

Any Help will be very much appreciated.

Thank you
0
Comment
Question by:jskfan
  • 4
  • 2
6 Comments
 
LVL 45

Accepted Solution

by:
Craig Beck earned 500 total points
ID: 39966946
If you enable IP routing on a switch you will need to do the following, at the very least, to get clients on different VLANs to 'see' eachother...

1] Configure a VLAN interface (commonly called SVI) and assign an IP address.
2] Configure each client to use the relevant SVI as its default-gateway.

If you put ports Fa0/10 and Fa0/11 in VLAN 10 the clients on those ports will both be in VLAN 10 and will be able to 'see' eachother without using a default-gateway (routing).

If you put port Fa0/10 in VLAN 10 and Fa0/11 in VLAN 20 you would need to configure as above in [1] and [2] in order for the clients to 'see' eachother.

The no switchport command is used when you want to remove the VLAN capability from a port.  In order for any traffic to go 'through' that port you must configure an IP address (generally but not always, but let's keep it simple) on the port for it to communicate with other devices.  Think of that port as a routed (like on a proper router) port.  In a Cisco router you have to assign an IP address to each physical port if you want to use it (in a simple scenario).  This is the same concept.
0
 

Author Comment

by:jskfan
ID: 39972294
well..I will try to illustrate a scenario
0
 

Author Comment

by:jskfan
ID: 39978924
Scenario with case1 and case2:
Let 's say we have an L3 switch with 2 VLANs , vlan10 and vlan20

Case1
-we create 2 SVIs one for vlan10 and one for vlan20, we assign 2 IPs, one for each SVI.
We type the command IP ROUTING at the global configuration of the switch.
We plug PC1 to vlan10 and PC2 to vlan20
Now PC1 should be able to communicate with  PC2

Case2
- We do not create SVIs,we just type IP ROUTING at the global configuration on the switch.
we select one interface on VLAN10 and type NO SWITCHPORT command then assign it IP Address.
we select one interface on VLAN20 and type NO SWITCHPORT command then assign it IP Address.
we connect PC1 to the port on VLAN10, (the port that we have configured with NO SWITCHPORT command and assigned IP Address).

we connect PC2 to the port on VLAN20, (the port that we have configured with NO SWITCHPORT command and assigned IP Address).
Now is PC1 going to be able to communicate with PC2 ?

Thanks
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 45

Assisted Solution

by:Craig Beck
Craig Beck earned 500 total points
ID: 39979378
A port with the no switchport command is not associated to a VLAN, even if you configure the port in one.  The no switchport command will negate all switchport configuration.
0
 

Author Comment

by:jskfan
ID: 40017890
I've requested that this question be closed as follows:

Accepted answer: 0 points for jskfan's comment #a39978924
Assisted answer: 250 points for craigbeck's comment #a39966946
Assisted answer: 250 points for craigbeck's comment #a39979378

for the following reason:

Thank you
0
 

Author Closing Comment

by:jskfan
ID: 40017891
Thank you
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
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…

856 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