MoonPoint Support Logo

 


Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
May
Sun Mon Tue Wed Thu Fri Sat
         
31            
2020
Months
MayJun
Jul Aug Sep
Oct Nov Dec


Sat, Aug 20, 2005 10:05 pm

Configuring a WebRamp Entre ISDN Router as a DHCP Server

A WebRamp Entree ISDN router can be configured to function as a DHCP server. This can be done through the router's command line configuration capability by establishing a telnet connection to the router. When you have logged into the router (the default userid is "wradmin"), you can check its dhcp staruts by using the showdhcpopts command.


-> showdhcpopts

DHCP Module          :  Disabled

Domain Name          :  labyrinth.com

Gateway Address      :  192.168.  1.  2

Subnetmask id        :  255.255.255.  0

First DNS            :   10. 22.111. 53
Second DNS           :  205.197.182.100
Third DNS            :  209.150.117.251
value = 0 = 0x0

In the above example, the router's DHCP server capability is disabled, though it has already been set to provide a domain name, gateway address, subnet mask, and DNS server addresses once the DHCP server capability is re-enabled. You can change the information that it will provide to DHCP clients using the setdhcpopts command. If you want help on the command you can isse the command thelp "setdhcpopts (all arguments to the thelp command must be includied in double quotes). Once you have set the DHCP options, you can view them with the showdhcpopts command.


-> thelp "setdhcpopts"
Usage: setdhcpopts " { { -d < Domain Name > }
                       { -g < Gateway Address > }
                       { -n <-i> < ith DNS Address > } } "

Note    :    i =  {1,2,3}
value = 0 = 0x0

-> setdhcpopts "-d labyrinth.com -g 192.168.1.2 -n -1 10.22.111.53"
value = 0 = 0x0
-> showdhcpopts

DHCP Module          :  Disabled

Domain Name          :  labyrinth.com

Gateway Address      :  192.168.  1.  2

Subnetmask id        :  255.255.255.  0

First DNS            :   10. 22.111. 53
Second DNS           :  205.197.182.100
Third DNS            :  209.150.117.251
value = 0 = 0x0

With the "-d" option to setdhcpopts, you can set a domain name to be assigned to DHCP clients. The "-g" option allows you to provide the gateway address, in this case the address of of the router itself. The "-n" option allows you to set the addresses of DNS servers to be assigned to clients. The "-n" should be followed by another parameter, a dash and a number that specifies which DNS server value is being assigned, e.g. a "-1" for the first DNS server address or a "-2" for the second. That parameter should be followed by the actual DNS server address.

To specify the range of IP addresses that the DHCP server will assign use the setdhcp command.


-> thelp "setdhcp"
Usage: setdhcp " -a < Start of Address > -n < Number of Addresses > -f -p "

Note    : The value of 'Number of Addresses' must be Greater than ZERO.
value = 0 = 0x0

-> setdhcp "-a 192.168.1.50 -n 10"

 This operation may discard IP addresses that are  previously assigned/reserved.

 Are you sure you want to Continue?[y/n] :y
value = 0 = 0x0

The above setdhcp command sets the DHCP server to assign ten addresses starting at 192.168.1.50.

To actually enable the router to start functioning as a DHCP server, you need to use the enabledhcp. You need to follow that command with the saveconfig command to make the change permanent.

-> enabledhcp
Do saveconfig to save changes
value = 0 = 0x0
-> saveconfig
value = 0 = 0x0

You can then exit from the router with the exitwr command.

-> exitwr

[/network/routers/webramp] permanent link

Once You Know, You Newegg AliExpress by Alibaba.com

Shop Amazon Local - Subscribe to Deals in Your Neighborhood

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo