Information Technology Reference
In-Depth Information
> netsh ras ip show config
RAS IP config
Negotiation mode: deny
Access mode: serveronly
Address request mode: deny
Broadcast name resolution: enabled
Assignment method: pool
Pool:
192.168.2.200 to 192.168.2.250
■
Note
In the preceding results,
Negotiation mode
corresponds to the Allow IP-Based Remote Access
and Demand-Dial Connections setting in the graphical user interface.
Access mode
corresponds to the
Enable IP Routing setting, and
Address request mode
, which is set to
deny
by default, refers to the ability
of clients to request a specific IP address, a feature not available in the graphical user interface.
Broadcast
name resolution
is the same as its graphical counterpart, and
Assignment method
refers to the selection
of static addresses (
pool
) or DHCP (
auto
).
There are a number of commands for configuring the IP settings. Use the following
commands to make the indicated configuration changes.
To set the negotiation method, use this command:
> netsh ras ip set negotiation {allow | deny}
A value of
allow
will permit IP-based remote access and demand-dial connections.
To set the access mode, use this command:
> netsh ras ip set access {all | serveronly}
A value of
all
will permit the remote client to access the entire LAN, or whatever segment
has been made accessible; a value of
serveronly
restricts the client to resources on the RRAS server.
To set the ability of clients to request a specific IP address, use this command:
> netsh ras ip set addrreq {allow | deny}
A value of
allow
will enable this feature; a value of
deny
(the default) will disable it.
To enable clients to use NetBIOS over TCP/IP broadcasts to resolve names without a WINS
or DNS server, use this command:
> netsh ras ip set broadcastnameresolution {enabled | disabled}
A value of
enabled
will permit clients to resolve names.
To configure RRAS to allocate addresses using DHCP or from a static address table, use
this command: