Please refer to image at :
The thick-blueline is the connection we get to our lab,where we access internet ,and our web-server 18.104.22.168 has public IP.
What we want to do is,to use the Debian server with DNS (dnsmasq),and DHCP (dhcp3) to assign IPs to devices in the network for using their MAC addresses.(192.168.2.XXX range)
My question is
1) when configuring this setup what IP address should I give to the Debian server(DNS+DHCP server). Is it a static IP ?
2)How does the IP of switch relate to this?
3) To tell 'switch' to use the Debian server as DHCP server,can I use 'DHCP relay' option in the switch ?
Can someone give me steps for configuring this ?
thanks in advance.