cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4764
Views
0
Helpful
35
Replies

Problem with DHCP

mmalaoui
Level 1
Level 1

Hello,

I created 4 VLANS in my switych cisco SF300-48PP
the switch is connected to a 192.168.1.1 ADSL router
VLAN 1 address 192.168.1.6 DHCP 192.168.1.7-192.168.1.63 / MASK 255.255.225.192
VLAN 2 address 192.168.1.65 DHCP 192.168.1.66-192.168.1.128 / MASK 255.255.225.192
VLAN 3 address 192.168.1.130 DHCP 192.168.1.7-192.168.1.190 / MASK 255.255.225.192
VLAN 1 address 192.168.1.192 DHCP 192.168.1.193-192.168.1.250 / MASK 255.255.225.192

My problem what I have the internet only in the VLAN1 not in the others

 

Cordially

35 Replies 35

So you confirmed all working as expected ? i did not get last post - is this measn your issue is solved ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello good day,
sorry for my English.
I have SG350X-24, and I also have Vlan 1 with internet connection, but the other vlan 2,3,10, (etc)
they do not have internet connection ..
I'm following the thread because I have the same problem.
Thank you

can you share switch routing details and switch running mode (l2 or l3)?
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

this is the configuration that I followed
My IP router 172.22.0.1
and that of the IP switch 172.22.0.2

 

Switch-Cisco-01#configure terminal
Switch-Cisco-01(config)#interface vlan 1
Switch-Cisco-01(config-if)#ip address 172.28.0.1 255.255.0.0
Switch-Cisco-01(config-if)#no shutdown
Switch-Cisco-01(config-if)#exit
Switch-Cisco-01(config)#interface vlan 10
13-Dec-2018 20:52:42 %LINK-I-Up: Vlan 10
Switch-Cisco-01(config-if)#ip address 172.19.0.1 255.255.0.0
Switch-Cisco-01(config-if)#no shutdown
Switch-Cisco-01(config-if)#
Switch-Cisco-01(config-if)#exit
Switch-Cisco-01(config)#interface vlan 20
13-Dec-2018 20:53:25 %LINK-I-Up: Vlan 20
Switch-Cisco-01(config-if)#ip address 172.20.0.1 255.255.0.0
Switch-Cisco-01(config-if)#no shutdown
Switch-Cisco-01(config-if)#exit
Switch-Cisco-01(config)#interface vlan 30
13-Dec-2018 20:54:09 %LINK-I-Up: Vlan 30
Switch-Cisco-01(config-if)#ip address 172.30.0.1 255.255.0.0
Switch-Cisco-01(config-if)#no shutdown
Switch-Cisco-01(config-if)#exit
Switch-Cisco-01(config)#13-Dec-2018 20:55:06 %AAA-I-CONNECT: New http connection for user cisco, source 172.28.0.10 destination 172.28.0.1 ACCEPTED
13-Dec-2018 20:56:53 %LINK-W-Down: te1/0/2
13-Dec-2018 20:57:00 %LINK-I-Up: te1/0/2
13-Dec-2018 20:57:04 %STP-W-PORTSTATUS: te1/0/2: STP status Forwarding
Switch-Cisco-01(config)#interface te1/0/2
Switch-Cisco-01(config-if)#no switchport
Switch-Cisco-01(config-if)#ip address 172.22.0.2 255.255.0.0
Switch-Cisco-01(config-if)#no shutdown
Switch-Cisco-01(config-if)#exit
Switch-Cisco-01(config)#ip route 0.0.0.0 0.0.0.0 172.22.0.1
Switch-Cisco-01(config)#end
Switch-Cisco-01#copy running-config startup-config
Overwrite file [startup-config].... (Y/N)[N] ?Y
13-Dec-2018 21:02:38 %COPY-I-FILECPY: Files Copy - source URL running-config destination URL flash://system/configuration/startup-config
13-Dec-2018 21:02:40 %COPY-N-TRAP: The copy operation was completed successfully
Copy succeeded
Switch-Cisco-01#

what is the switch mode configured? also have you added incoming routed from your router to inside switch?
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Problem solved, it was necessary to put back the mask of the Modem ADSL with 255.255.255.0 thanks for everyone cordially

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X