CONFIGURATION EXAMPLES
DHCP SERVER
Configuration of the DHCP service on one of the router's LAN interfaces (e.g. eth0) and distribution
of IP address, IP WINS, DNS, and Domain Info.
set dhcp-server <DHCP-POOL-NAME> interface <INTERFACE>
set dhcp-server <DHCP-POOL-NAME> start-address <IP-START-ADDRESS>
set dhcp-server <DHCP-POOL-NAME> end-address <IP-END-ADDRESS>
set dhcp-server <DHCP-POOL-NAME> router <GATEWAY-IP>
set dhcp-server <DHCP-POOL-NAME> subnet <SUBNET-MASK>
set dhcp-server <DHCP-POOL-NAME> lease-time <LEASETIME(s)>
set dhcp-server <DHCP-POOL-NAME> dns <DNS1-IP-ADDR> <DNS2-IP-ADDR>
set dhcp-server <DHCP-POOL-NAME> wins <WINS-IP-ADDR>
set dhcp-server <DHCP-POOL-NAME> directive option domain <MYDOMAIN>
set dhcp-server <DHCP-POOL-NAME> on
If you need to specify more WINS addresses to be distributed, instead of the previous command:
set dhcp-server <DHCP-POOL-NAME> wins <WINS-IP-ADDRESS>
it is better to use
set dhcp-server <DHCP-POOL-NAME> directive option wins <IPADDR1> <IPADDR2>
Configuring the service for more than one <DHCP-POOL-NAME>, it is possible to activate the
multiple DHCP servers, but on different interfaces. For example:
set dhcp-server pool1 interface eth0
set dhcp-server pool1 start-address 192.168.24.50
set dhcp-server pool1 end-address 192.168.24.70
set dhcp-server pool1 router 192.168.24.1
set dhcp-server pool1 subnet 255.255.255.128
set dhcp-server pool1 lease-time 864000
set dhcp-server pool1 dns 10.1.82.6 10.1.84.5
set dhcp-server pool1 directive option wins 10.1.80.38 10.1.80.39
set dhcp-server pool1 directive option domain tiesse.com
set dhcp-server pool1 on
To use the possible options of the DHCP server, see the next chapter.
VLAN IN ACCESS MODE
The switch ports of the router Imola can be divided in separate VLANs, each one with its own IP
address. For example, we can assign to a single port a specific IP address:
set switch port 1 mode access
set switch port 1 vid 10
set switch port 2 mode access
set switch port 2 vid 20