Information Technology Reference
In-Depth Information
> netsh ras ip set addrassign {auto | pool}
A value of auto enables RRAS to allocate addresses from DHCP; a value of pool implies a
static address table.
To add a range of addresses, use this command:
> netsh ras ip add range [from=] <StartingIPAddress> [to=] <EndingIPAddress>
Both the from and to parameters are required. Replace StartingIPAddress with the first
address in your range; replace EndingIPAddress with the final address in the range.
To delete a range of addresses, use this command:
> netsh ras ip delete range [from=] <StartingIPAddress> [to=] <EndingIPAddress>
This command takes the same parameters and value format as the preceding netsh ras ip
add range .
To delete all ranges of addresses in the static address table, use this command:
> netsh ras ip delete pool
For example, to configure your RRAS server to permit IP routing and IP-based remote
access and demand-dial connections with access to the entire LAN, to enable broadcast resolution,
and to configure two static address pools, one from 192.168.0.10 to 192.168.0.20 and one
from 192.168.0.110 to 192.168.0.120 , use the following set of commands:
> netsh ras ip set negotiation allow
> netsh ras ip set access all
> netsh ras ip set broadcastnameresolution enabled
> netsh ras ip set addrassign pool
> netsh ras ip add range from=192.168.0.10 to=192.168.0.20
> netsh ras ip add range from=192.168.0.110 to=192.168.0.120
Using the Registry
You can modify your RRAS server's IP settings at any time by creating or modifying the
following Registry values:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\IP]
￿
To permit clients to request a particular IP address, use
"AllowClientIPAddresses"=dword:1
￿
To disable NetBIOS over TCP/IP remote access connections, use
"DisableNetBIOSOverTCPIP"=dword:1
￿
To enable IP remote access connections, use
"EnableIn"=dword:1
￿
To enable clients to use NetBIOS broadcasts in the absence of a WINS or DNS server, use
"EnableNetbtBcastFwd"=dword:1
Search WWH ::




Custom Search