cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4763
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

1 Accepted Solution

Accepted Solutions

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

View solution in original post

35 Replies 35

balaji.bandi
Hall of Fame
Hall of Fame

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 *****

How to Ask The Cisco Community for Help

vlan4 not vlan1

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

 

BB

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

How to Ask The Cisco Community for Help

 

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

Can you post the configuration to have look.

BB

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

How to Ask The Cisco Community for Help

 

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’.

 

 

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

 

 

 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

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

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 *****

How to Ask The Cisco Community for Help

 

Network address is 192.168.1.64
Subnet
255.255.255.192
Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB
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