cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
850
Views
0
Helpful
2
Replies

Network setup routing & speed issues between switches....

Networkinguy
Level 1
Level 1
Hello Everyone,
I'm having issues with dhcp leases(wireless devices getting wrong IP's) and routing questions do i need to use the sub interfaces on router as the default gateways for each network?
under the dhcp relay on router do i need to setup one for each interface in the SonicWall? 
I know is a lot information but i have try myself and can't get to setup the network correctly
below is my current setup 
Sonicwall --------- (site A)sg500 router port gi/125-------- port gi1/25 (site B)sg500 layer 2 port gi1/26----------port gi1/25 (site C )sg500 layer 2.. 
SonicWall   4 connection to Router SG500
Sonicwall  TZ 300 as the dhcp Server and Cisco Sg500 do all the routing  currently running on layer 3.
Ubiquiti Access points
Yealink ip phone --------Computers
 
Native VLAN 50 Computers    X0 192.168.50.252 255.255.255.0
Voice VLAN 250                         X3 10.0.80.1 255.255.255.128
Wireless VLAN 15                      X4  10.0.10.1 255.255.255.128
Public Wireless 150                   X4:V150 10.0.150.1 255.255.255.192
Inventory VLAN 40                    X2 10.0.40.1 255.255.255.192
Running-config of Router SG-500
PurchasingBuilding
v1.4.9.4 / R800_NIK_1_4_205_011
CLI v1.0
set system mode router queues-mode 4

file SSD indicator encrypted
@

!
vlan database
default-vlan vlan 50
exit
vlan database
vlan 1,15,40,150,250,400
exit
voice vlan id 250
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
ip dhcp relay address 192.168.50.252
ip dhcp relay enable
ip dhcp information option
bonjour interface range vlan 1
hostname PurchasingBuilding


ip ssh server
snmp-server server
snmp-server location 


ip name-server 10.10.1.20
!
interface vlan 15
ip address 10.0.10.2 255.255.255.128
!
interface vlan 40
ip address 10.0.40.2 255.255.255.192
!
interface vlan 50
ip address 192.168.50.2 255.255.255.0
ip dhcp relay enable
!
interface vlan 150
ip address 10.0.150.2 255.255.255.192
!
interface vlan 250
ip address 10.0.80.2 255.255.255.128
!
interface gigabitethernet1/2
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/3
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/4
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/5
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/6
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/7
storm-control broadcast enable
storm-control broadcast level 10
storm-control include-multicast
port security max 10
port security mode max-addresses
port security discard trap 60
spanning-tree portfast
switchport trunk native vlan 250
macro description ip_phone
switchport default-vlan tagged
!next command is internal.
macro auto smartport dynamic_type ip_phone
!
interface gigabitethernet1/10
switchport trunk native vlan 250
!
interface gigabitethernet1/12
description "X2 Inventory SonicWall"
switchport trunk allowed vlan add 40
!
interface gigabitethernet1/24
switchport trunk allowed vlan add 15,40,150,400
!
interface gigabitethernet1/25
description "Uplink to Shipping Warehouse"
spanning-tree link-type point-to-point
switchport trunk allowed vlan add 15,40,150,250,400
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
interface gigabitethernet1/27
description "Uplink to Shipping Billing"
spanning-tree link-type point-to-point
switchport trunk allowed vlan add 15,40,150,250,400
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch

macro auto processing type ap disabled
macro auto built-in parameters desktop $max_hosts 10 $native_vlan 50
macro auto built-in parameters ip_phone $max_hosts 10 $native_vlan 250
macro auto built-in parameters ip_phone_desktop $max_hosts 10 $native_vlan 250
macro auto built-in parameters switch $native_vlan 50
ip helper-address 192.168.50.2 192.168.50.252 7
ip default-gateway 192.168.50.252
ip route 10.0.10.0 /25 10.0.10.1
ip route 10.0.40.0 /26 10.0.40.1
ip route 10.0.80.0 /25 10.0.80.1
2 Replies 2

mipopov
Cisco Employee
Cisco Employee

Hello,

I see that you set ip helper 

but 

forwarding of BOOTP/DHCP (ports 67, 68) cannot be enabled with this command.  (I assume that you made a typo, trying to add bootp port 67, but missed 6 - " ip helper-address 192.168.50.2 192.168.50.252 67 ")

Anyway :)

Try to use the DHCP relay commands to relay BOOTP/DHCP packets instead of ip helper

DHCP relay

Use the ip dhcp relay enable Interface Configuration mode command to enable the DHCP relay feature on an interface.
Use the no form of this command to disable the DHCP relay agent feature on an interface.

Syntax
ip dhcp relay enable
no ip dhcp relay enable

Parameters
N/A

Default Configuration
Disabled

Command Mode
Interface Configuration mode

User Guidelines
The operational status of DHCP Relay on an interface is active if one of the following conditions exist:
• DHCP Relay is globally enabled, and there is an IP address defined on the interface.
Or
• DHCP Relay is globally enabled, there is no IP address defined on the interface, the interface is a VLAN, and option 82 is enabled.

Example
The following example enables DHCP Relay on VLAN 50.
switchxxxxxx(config)# interface vlan 50
switchxxxxxx(config-if)# ip dhcp relay enable


switchxxxxxx(config)# ip dhcp relay address 192.168.50.2

 

OR 

 

Just make all uplinks in trunk mode and add all needed VLANs in that trunks (including Sonicwall):

 

Sonicwall_X2(trunk add vlans 1,15,40,150,250,400)-----(trunk add vlans 1,15,40,150,250,400)gi1/12_(siteA)SG500_gi1/25(trunk add vlans 1,15,40,150,250,400)-----(trunk add vlans 1,15,40,150,250,400)gi1/25_(siteB)SG500_gi1/26(trunk add vlans 1,15,40,150,250,400)-----(trunk add vlans 1,15,40,150,250,400)_gi1/25_(siteC)SG500----

 

Hope it helps

Cheers,

Mike

You were right I had UDP/IP Helper enable... i disable it and added all virtual interfaces to Sonicwall.

1. IP lease have being resolved. 

Now how do i get the Layer 3 switch to do all the routing? static routes are setup on SonicWall & Switch but when i setup the default Gateway on the clients as the interVlan on layer 3 switch devices cannot reach the internet.