Sign in with
Sign up | Sign in
Your question

DHCP scopes for 3 vlans

Tags:
  • DHCP
  • VLAN
  • Servers
Last response: in Networking
Share
September 19, 2014 8:49:09 AM

hello
i have 3 dhcp scopes each for a vlan
vlan 10 192.168.1.1 for server% switches
vlan 20 192.168.2.1 for wired
vlan 30 192.168.3.1 for wireless

my question is how to setup my adsl so all my clients on different vlans can access the internet ?


More about : dhcp scopes vlans

September 19, 2014 8:55:03 AM

What is providing you your VLANs, do you have a router or managed switch, or i did you just static set IPs on the computers? You should have the WAN port bidged to all of the VLANs.
m
0
l
September 19, 2014 9:01:06 AM

should be able to set the subnet mask to 255.255.252.0 that will cover 192.168.1.xxx - 192.168.4.xxx
m
0
l
Related resources
September 19, 2014 9:04:10 AM

But by opening up the subnet mask to that, he is now allowing access from one VLAN to another.

If he is using VLANs to sperate equipment into groups then that is fine, but if he wants issolated lans, then that is not going to work.
m
0
l
September 19, 2014 9:07:56 AM

boosted1g said:
But by opening up the subnet mask to that, he is now allowing access from one VLAN to another.

If he is using VLANs to sperate equipment into groups then that is fine, but if he wants issolated lans, then that is not going to work.


touché but he did not note his intentions. But I was also wrong as .252 only covers .1 -.3 not 192.168.4.xxx
m
0
l
September 19, 2014 12:19:13 PM

i am using a L3 switch as management switch

i want all clients on different IP scopes\VLANS to access internet through one adsl modem
i want to know if there any setting or configuration in huawei or linksys or any other adsl
i can do to let all clients connect the internet through ??

m
0
l
September 19, 2014 12:31:56 PM

Hard to say. If you had a real router the answer would be yes but since most things you buy are really gateways its hard to say.

So lets assume you are using a fourth vlan to connect to the "router" since it is unlikely the device will support vlan tags. Now lets also assume you have a way to give ip to these end devices with the switch. Again the router is unlikely to support dhcp helpers.

Now if you get past these 2 issue all that is left is the NAT and a route. So some routers let you route blocks so you could static route the 3 subnets to the switch. Now the NAT might work if the router allows nat to match ip other than the lan subnet.

One of the few things a L3 managed switch can not do is NAT. So if the router will pretty much nat any source ip you might get it to work.

m
0
l
September 20, 2014 12:37:06 AM

^
what if use the advance routing > static routing on my ADSL router and add the vlans ip address , ??

everything in my network works fine i have 6 switch and one core switch
i am using a ip helper and one dhcp server .

but i want all clients on my network to get internet access through one gateway, one public ip ,
How can setting up my adsl to do NAT without the need of real router ?
m
0
l
September 20, 2014 3:05:38 AM

Its either going to work or it is not. Most dsl routers can not have firmware replaced by third party firmware.

So define a network like 192.168.4.x and put a ip on the layer 3 switch. Then on the dsl router put in static routes for all the other subnets that the layer 3 switches uses and point them to the 192.168.4.x address you assigned the switch. the switch needs a default route back to the router address on the 192.168.4.x network. The basic routing will now work.

At this point the router will either NAT all the addresses or it will not there is nothing you can do if it does not.
m
0
l
!