Aruba & ProVision-based
1753580 Members
6175 Online
108796 Solutions
New Discussion

Re: Just trying to learn some routing with a 3800 switch

 
dTardis
Frequent Visitor

Just trying to learn some routing with a 3800 switch

So I am NOT a network engineer, but I sometimes play one at work. We are exploring adding VLANS to breakup our broadcast domain and to add VOIP traffic. To that end we will need to route traffic between VLANs. I am trying to figure out exactly how to get a 3800 switch to do this. So please be gentle with me. Here is what I have so far.

 

Lab-3800# show config

Startup configuration: 11

; J9573A Configuration Editor; Created on release #KA.15.03.3015
; Ver #01:00:01

hostname "Lab-3800"
max-vlans 2048
time timezone -480
time daylight-time-rule Continental-US-and-Canada
module 1 type J9573x
ip routing
vlan 1
   name "DEFAULT_VLAN"
   untagged 3-26
   ip address 10.2.3.50 255.255.0.0
   no untagged 1-2
   exit
vlan 201
   name "Fife-1"
   untagged 1
   ip address 172.16.201.1 255.255.255.0
   exit
vlan 202
   name "Fife-2"
   untagged 2
   ip address 172.16.202.1 255.255.255.0
   exit
timesync sntp
sntp unicast
sntp server priority 1 10.2.0.2
ip route 10.2.0.0 255.255.0.0 vlan 1
ip route 172.16.201.0 255.255.255.0 vlan 201
ip route 172.16.202.0 255.255.255.0 vlan 202
snmp-server community "hp1"
spanning-tree
oobm
   ip address dhcp-bootp
   exit
no autorun
no dhcp config-file-update
no dhcp image-file-update
password manager
password operator

Lab-3800# show ip route

                                              IP Route Entries

  Destination                Gateway                             VLAN               Type      Sub-Type   Metric     Dist.
  ------------------ --------------- ---- --------- ---------- ---------- -----
  10.2.0.0/16                  DEFAULT_VLAN                    1      connected            1          0
  127.0.0.0/8                  reject                                                 static                      0          0
  127.0.0.1/32                lo0                                                      connected            1          0
  172.16.201.0/24       Fife-1                                       201  connected            1          0

 

When I add a computer to the 172.16.201.0/24 network it can ping 172.16.201.1 AND 10.2.3.50, but that’s it. I just don't know where to go from here.

 

4 REPLIES 4
hansvb
Frequent Advisor

Re: Just trying to learn some routing with a 3800 switch

In VLAN201 and 202 you untagged 1 port, if you want to be able to ping other devices you coud set port 3 untagged in VLAN 201

Put a PC on that port with ip addres 172.16.201.10 and you should be able to ping that

If you want to distribute the VLAN's to other switches through a single uplink you should start tagging ports with VLAN201 and 202

 

Hans

dTardis
Frequent Visitor

Re: Just trying to learn some routing with a 3800 switch

Thanks for the reply.

Sorry if I was not clear enough.

 

My primary network is on VLAN 1. I have PC's on that network 10.2.x.x - I connect port 20 to another switch on my network.

I connect a PC to Port 1. I give it an IP of 172.16.201.10

 

From that PC I can ping 172.16.201.1 (the switch on vlan 201), I can also ping 10.2.3.50 (the switch on vlan 1). I can not ping any of the other PC's on my network. For example 10.2.0.2

 

I hope that makes it a little more clear.

dTardis
Frequent Visitor

Re: Just trying to learn some routing with a 3800 switch

Any other ideas?

Chrisd131313
Trusted Contributor

Re: Just trying to learn some routing with a 3800 switch

dTardis,

 

What is the default gateway set to on the PCs that you are trying to ping? If you can ping the switch but not the PCs you either have an incorrect gateway set or the PCs firewall is blocking you. As far as the switch is concerned routing is working as expected.

-----------------------------------------------------

Don't forget to mark a post resolved if your question was answered.