cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


312
Views
0
Helpful
22
Replies
Highlighted
Beginner

Problem with DHCP

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

22 REPLIES
Collaborator

Re: Problem with DHCP

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

 

is this typo or why there 2 VLAN 1 available here ?

 

 

 

By default VLAN 1 is Nat , you need to configure other VLAN to NAT

 

below guide help you:

 

https://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/78-19308-01.pdf

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: Problem with DHCP

vlan4 not vlan1

Collaborator

Re: Problem with DHCP

ok, then we would be more interested to see your NAT config along with routing.

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: Problem with DHCP

 

Hi,

I saw the document but I can not find it or configure NAT
on the other hand I configure my switch by program Managed SWITCH 

cordially

Collaborator

Re: Problem with DHCP

Can you post the configuration to have look.

BB
*** Rate All Helpful Responses ***
Beginner

Re: Problem with DHCP

 
Cisco Employee

Re: Problem with DHCP

Hi,

Please make sure your ADSL Router LAN Pool IP subnet mask is similar to the VLAN 1 (VLAN 10 as per the screenshot) IP Subnet, after that you need to apply the static routes (reverse route) on the ADSL Router for the remaining VLANs configured on the Switch towards the IP 192.168.1.6 (assuming that 192.168.1.6 IP is directly communicating with your ADSL Router (192.168.1.1). Also make sure you have configured the DNS settings on the DHCP pools (you may try 8.8.8.8).

In case ADSL Router IP configured as 192.168.1.1 /24 then it will better if you can use the IP subnet like 192.168.2.0 /24, 192.168.3.0 /24 for the respective VLANs on the SF300 Switch and accordingly apply the reverse route on your ADSL Router to allow the Internet Access for the other VLANs on the Switch.

On the attached screenshots VLAN are showing as VLAN 10,20,30 & 40. FE1 port is showing ‘Tagged’ and remaining ports are ‘Untagged’. It will be better if you can share the ‘Port VLAN Membership’ scrennshot.

In case your ADSL Router supports 802.1Q Trunking then you can use the ‘Tagged’ option otherwise you may keep the port settings as ‘Untagged’.

Beginner

Re: Problem with DHCP

 
Beginner

Re: Problem with DHCP

 
Beginner

Re: Problem with DHCP

Hi, 

As i understood from this IPs,

You need to have IP address for each vlan in switch. That IP will be the gateway for those VLANs. 

Then add default route to adsl router IP address using static routes.

At ADSL router you should add static routes for each VLAN network,  Which are pointed to switch VLAN 1 IP

 

 

 

Beginner

Re: Problem with DHCP

Thank you in advance ,

really what I was doing but unfortunately I can not.
I have a DLINK ADSL Modem,
I send you a screenshot for the modem and send me an example of a route

Collaborator

Re: Problem with DHCP

This example : you can do same for all VLAN and test and advice.

 

Destination address : 192.168.1.65 

subnet sk MASK 255.255.225.192

gateway : 192.168.1.6 ( as per your information the router IP)

 

BB
*** Rate All Helpful Responses ***
Beginner

Re: Problem with DHCP

 
Beginner

Re: Problem with DHCP

Network address is 192.168.1.64
Subnet
255.255.255.192
CreatePlease to create content
Ask the Expert- DMVPN on Cisco routers