DHCP scopes for 3 vlans

noonoo

Reputable
Sep 19, 2014
3
0
4,510
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 ?


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


touché but he did not note his intentions. But I was also wrong as .252 only covers .1 -.3 not 192.168.4.xxx
 

noonoo

Reputable
Sep 19, 2014
3
0
4,510
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 ??

 
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.

 
Solution

noonoo

Reputable
Sep 19, 2014
3
0
4,510
^
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 ?
 
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.
 

Latest posts