
7.3.3 Modificare l’indirizzo IP e il SUBNET-MASK
Tutti i dispositivi di una rete
richiedono un unico indirizzo IP
utilizzato dall’host per
comunicare. Il SUBNET mask,
assieme all’indirizzo IP, definisce
la gamma di indirizzi IP
disponibili sulla rete locale
Ethernet LAN.
L’utente può modificare
l’indirizzo IP e il SUBNET mask
del WebGate in due modi: da
consolle, utilizzando il software
HyperTerminal, oppure durante
una connessione Ethernet.
Un esempio del secondo caso è
illustrato nella figura e nella
tabella che seguono.
7.3.3 Changing the IP address and the SUBNET-MASK
All devices on a network
requires a unique IP address
which host can use to
communicate with them. The
SUBNET mask, along with the
IP address, defines what range
of IP addresses are on the
local Ethernet LAN.
The user has 2 ways to
change the WebGate’s IP
address and SUBNET mask:
the first is from the console
using HyperTerminal software,
the second is during an
Ethernet connection.
An example of the last case is
given in the figure and table
below.
35
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003
Esempio di codice HTML per l’impostazione dell’indirizzo IP e del NETMASK
Example of HTML code for setting IP and NETMASK
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="Ipnet.htm">
<table width="382" border="0" cellspacing="0" align="center">
<tr align="center">
<td colspan="2" bgcolor="#FFCC33"><font face="Verdana, Arial, Helvetica, sans-serif">
<b><font size="2">Network Setup </font></b></font></td>
</tr>
<tr>
<td width="105" align="right" height="12" bgcolor="#E8E8E8">
<font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">
IP Address </font></b></font></td>
<td width="130" height="12" valign="top" bgcolor="#E8E8E8">
<font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">
</font><font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">
<
input type="text" name="?script:IPaddress" maxlength="16" value="<%IPAddress%>"
>
</font></b></font></b></font></td>
</tr>
<tr>
<td width="105" align="right" bgcolor="#D7D7D7">
<font face="Verdana, Arial, Helvetica, sans-serif">
<b><font size="2">NetMask</font></b></font></td>
<td width="130" bgcolor="#D7D7D7">
<font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">
</font><font face="Verdana, Arial, Helvetica, sans-serif">
<b><font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="2">
<
input type="text" name="?script:NetMask" maxlength="16" value="<%NetMask%>"
>
</font></b></font></b></font></b></font></td>
</tr>
<tr>
<td colspan="2" align="center" height="34">
<input type="submit" name="Button2" value="Confirm">
</td>
</tr>
</table>
</form>
</body>
</html>
Fig. 7.3.3.1