Using switchport as "hosts"
oli356
Member Posts: 364
in CCNA & CCENT
Hey all,
I'm trying to setup a lab and have several ports in use, all on different VLANs.
I got a 3750 switch and did a "no ip routing" and "no switchport" on a few ports. I assigned the ports IP address and can successfully ping the IP of the VLAN on the switch which it's connected to (this is where the VLANs are set).
Though I have port 0/44 on VLAN 44 and 0/45 on VLAN 45. The problem is, even with "no ip routing" on the switch with the VLANs configured, the 3750 ports can still ping VLAN 45 and VLAN 44 on the other end...
I hope this makes sense! Does anyone know why this is and if my method even is practical?
I'm trying to setup a lab and have several ports in use, all on different VLANs.
I got a 3750 switch and did a "no ip routing" and "no switchport" on a few ports. I assigned the ports IP address and can successfully ping the IP of the VLAN on the switch which it's connected to (this is where the VLANs are set).
Though I have port 0/44 on VLAN 44 and 0/45 on VLAN 45. The problem is, even with "no ip routing" on the switch with the VLANs configured, the 3750 ports can still ping VLAN 45 and VLAN 44 on the other end...
I hope this makes sense! Does anyone know why this is and if my method even is practical?
Lab:
Combination of GNS3 and Cisco equipment if required.
Combination of GNS3 and Cisco equipment if required.
Comments
-
networker050184 Mod Posts: 11,962 ModTo the switch both are directly connected, it's not routing.An expert is a man who has made all the mistakes which can be made.
-
RouteMyPacket Member Posts: 1,104networker050184 wrote: »To the switch both are directly connected, it's not routing.
One time I can provide an answer and i'm beat to the punch.Modularity and Design Simplicity:
Think of the 2:00 a.m. test—if you were awakened in the
middle of the night because of a network problem and had to figure out the
traffic flows in your network while you were half asleep, could you do it? -
Roguetadhg Member Posts: 2,489 ■■■■■■■■□□I'll give ya rep for trying!In order to succeed, your desire for success should be greater than your fear of failure.
TE Threads: How to study for the CCENT/CCNA, Introduction to Cisco Exams -
oli356 Member Posts: 364So as it's "connected" the no ip routing command doesn't apply.
Wish I had a bunch of somethings to use as hosts, should've connected each of my routers to the same switch... out of the office till next year
Thanks guys!Lab:
Combination of GNS3 and Cisco equipment if required. -
networker050184 Mod Posts: 11,962 ModYou can use VRFs on the switch to separate them out.An expert is a man who has made all the mistakes which can be made.
-
Roguetadhg Member Posts: 2,489 ■■■■■■■■□□You can use your computer, couple it up with another NIC or two.
I'm going to be buying a quad RJ-45 NIC for my system. Run it with VirtualBox. Bam. Honestly, a dual-NIC should be more than enough for most people!
Newegg.com - Computer Hardware, Networking, Wired Networking, Network Interface Cards, 2 x RJ45In order to succeed, your desire for success should be greater than your fear of failure.
TE Threads: How to study for the CCENT/CCNA, Introduction to Cisco Exams -
oli356 Member Posts: 364Good idea. The equipment I use is in my works lab, I'll ask if I can use one of the old rack servers; I know there are quad NICs about.Lab:
Combination of GNS3 and Cisco equipment if required. -
oli356 Member Posts: 364networker050184 wrote: »You can use VRFs on the switch to separate them out.
Like setting each VLAN to a different VRF? So then without setting up RIP the VLANs can't communicate with each other at all.
I spend half my time trying to get my mind around my topology and how to make it do what I want it to doLab:
Combination of GNS3 and Cisco equipment if required. -
networker050184 Mod Posts: 11,962 ModOn the switch with ports acting as hosts you create a separate VRF for each host port. This way they have separate routing tables and won't route to each other on the single device.An expert is a man who has made all the mistakes which can be made.
-
oli356 Member Posts: 364Running IP base, if that can't do it I will have to go into the office and upgrade.
Thanks.
Edit:
OIA_S4(config)#ip vrf 44
% VRF-Lite is not supported in the IP Base feature set and will be removed in future releases, please refer to www.cisco.com for the feature sets that support this feature
OIA_S4(config-vrf)#
So it seems.Lab:
Combination of GNS3 and Cisco equipment if required.