LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

VLAN Guidance - Troubleshooting DHCP not applying down

BrianMilo
Occasional Contributor

VLAN Guidance - Troubleshooting DHCP not applying down

I'm troubleshooting the configs on my vlan between a J9311a device (main L3 router, let's call it Core) and a J9576a device (my second switch down the line, feeding devices on the plant floor, let's call it Edge). 

 

I've got vlan's created on both devices that match up; I'm attempting to go out of the Core switch, on Port 48, into my Edge switch, on port 48.  Ideally I'm feeding zero client machines on ports 1-24; 25-36, Mobile (wireless AP's) on 45-47, and Printers on 37-44, with Switch Management connecting on port 48 (I have the IP at 192.168.100.33 but not sure that's the best route to go). 

 

Settings:

Router / Gateway: 192.168.0.1

Core Switch: 192.168.0.4

Edge Switch: 192.168.0.8

DHCP Server: 192.168.0.250  (all vlan's are setup within DHCP as well)

 

***************Core Switch******************

 

; J9311A Configuration Editor; Created on release #K.15.06.0017
; Ver #02:10.0d:1f

hostname "SW-1A"
module 1 type J93yyA
module 2 type J93xxA
module 3 type J9312A
ip routing
vlan 1
   name "DEFAULT"
   untagged 1-47,A1-A4
   ip helper-address 192.168.0.250
   ip address 192.168.10.1 255.255.255.0
   ip address 192.168.0.4 255.255.255.0
   tagged 48
   exit
vlan 10
   name "SERVERS"
   ip helper-address 192.168.0.250
   ip address 192.168.10.1 255.255.255.0
   tagged 48
   exit
vlan 20
   name "WORKSTATIONS"
   ip helper-address 192.168.0.250
   ip address 192.168.20.1 255.255.255.0
   tagged 48
   exit
vlan 30
   name "ZERO"
   ip helper-address 192.168.0.250
   ip address 192.168.30.1 255.255.255.0
   tagged 48
   exit
vlan 40
   name "MOBILE"
   ip helper-address 192.168.0.250
   ip address 192.168.40.1 255.255.255.0
   tagged 48
   exit
vlan 50
   name "PRINTERS"
   ip helper-address 192.168.0.250
   ip address 192.168.50.1 255.255.255.0
   tagged 48
   exit
vlan 100
   name "SWITCH_MGMT"
   ip helper-address 192.168.0.250
   ip address 192.168.100.1 255.255.255.0
   tagged 48
   exit
ip route 0.0.0.0 0.0.0.0 192.168.0.1
snmp-server community "public.local" unrestricted
snmp-server contact "manager" location "IDF-1A"
spanning-tree
no autorun
no dhcp config-file-update
no dhcp image-file-update
password manager
password operator

 

 

***************EDGE SWITCH***************


; J9576A Configuration Editor; Created on release #KA.15.09.0012
; Ver #03:01.1f.ef:f2

hostname "SW-3A"
module 1 type j9576y
module 2 type j9576x
ip default-gateway 192.168.0.1
snmp-server community "public" unrestricted
snmp-server contact "manager"
oobm
   ip address dhcp-bootp
   exit
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-47
   untagged 48-52
   ip address 192.168.0.8 255.255.255.0
   exit
vlan 10
   name "SERVERS"
   tagged 48
   no ip address
   exit
vlan 20
   name "WORKSTATIONS"
   untagged 25-36
   tagged 48
   no ip address
   exit
vlan 30
   name "ZERO"
   untagged 1-24
   tagged 48
   no ip address
   exit

vlan 40
   name "MOBILE"
   untagged 45-47
   tagged 48
   no ip address
   exit
vlan 50
   name "PRINTERS"
   untagged 37-44
   tagged 48
   no ip address
   exit
vlan 100
   name "SWITCH_MGMT"
   tagged 48
   ip address 192.168.100.33 255.255.255.0
   exit
spanning-tree
no autorun
no dhcp config-file-update
no dhcp image-file-update
password manager

 

Any advice for a networking newb??

2 REPLIES
Vince-Whirlwind
Honored Contributor

Re: VLAN Guidance - Troubleshooting DHCP not applying down

Apart from the tagging mismatch for VLAN1, and the duplicate Server VLAN address that's on VLAN1, that all looks OK.

You don't need an IP helper on VLAN1.

 

Obviously, you're going to then untag some switchports in the Server VLAN on your "core" switch, I suppose...?

BrianMilo
Occasional Contributor

Re: VLAN Guidance - Troubleshooting DHCP not applying down

Am I right in thinking this is true?

 

Vlan 30 is tagged on port 48 on the Core switch, with an IP helper address of 192.168.0.250 and an ip address of 192.168.30.1/24.  It's also tagged on Port 48 of the Edge switch, meaning it should accept VLAN 30 traffic?  Then I untag ports 1-24 to be used by my production machines, which in theory, should pull an IP address from my DHCP server at .250??

 

With helper and IP address it should look like this?

Core

vlan 30
   name "ZERO"
   ip helper-address 192.168.0.250
   ip address 192.168.30.1 255.255.255.0
   tagged 48
   exit

 

Edge

vlan 30
   name "KIB_ZERO"
   untagged 1-24
   tagged 48
   no ip address
   exit

 

This is assuming VLAN1 configuration isn't killing it?