607 lines
26 KiB
HTML
607 lines
26 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
|
|
<html>
|
|
<head>
|
|
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
|
<title>Windows Server installation advisor--TCP/IP port configuration</title>
|
|
<script language="Javascript" type="text/javascript" src="rzahqadvcommon.js"></script>
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- // Hide script from older browsers
|
|
|
|
var errMess = "You entered an unallowed IP address. The segments of an IP address must be numbers from 0 to 255.";
|
|
var errMess1 = "You entered an unallowed subnet mask. The segments of a subnet mask must be numbers from 0 to 255.";
|
|
var errMess2 = "You entered an unallowed gateway. The segments of a gateway must be numbers from 0 to 255.";
|
|
var errMess4 = "You must enter a subnet mask for each IP address.";
|
|
var comsg = "If you do not enter an IP address for a port, the corresponding subnet mask and gateway information will not be saved. Click OK to continue, or click Cancel if you want to enter any IP addresses.";
|
|
|
|
//START NON-TRANSLATABLE
|
|
//Obtain name of HTML file in parent frame.
|
|
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
|
|
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
|
|
|
|
function checkFrame() {
|
|
//Is the hidden frame already loaded with the correct html?
|
|
if (parentUrl != "rzahqadvisor1.htm") {
|
|
window.location = "rzahqadvisor1.htm"; //load advisor frameset
|
|
return;
|
|
} else {
|
|
//Obtain name of HTML file in hidden frame.
|
|
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
|
|
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
|
|
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
|
|
if (hiddenUrl != "rzahqadvhidden.htm") {
|
|
//Correct HTML not loaded, load it
|
|
parent.hidden.window.location = "rzahqadvhidden.htm";
|
|
} else { //already loaded
|
|
getData();
|
|
}
|
|
}
|
|
}
|
|
|
|
function getData() {
|
|
if (!isEmpty(parent.hidden.v1[57])) {
|
|
var seg = parent.hidden.v1[57].split(".");
|
|
document.form1.a1.value = seg[0];
|
|
document.form1.a2.value = seg[1];
|
|
document.form1.a3.value = seg[2];
|
|
document.form1.a4.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[58])) {
|
|
var seg = parent.hidden.v1[58].split(".");
|
|
document.form1.a5.value = seg[0];
|
|
document.form1.a6.value = seg[1];
|
|
document.form1.a7.value = seg[2];
|
|
document.form1.a8.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[59])) {
|
|
var seg = parent.hidden.v1[59].split(".");
|
|
document.form1.a9.value = seg[0];
|
|
document.form1.a10.value = seg[1];
|
|
document.form1.a11.value = seg[2];
|
|
document.form1.a12.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[60])) {
|
|
var seg = parent.hidden.v1[60].split(".");
|
|
document.form1.b1.value = seg[0];
|
|
document.form1.b2.value = seg[1];
|
|
document.form1.b3.value = seg[2];
|
|
document.form1.b4.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[61])) {
|
|
var seg = parent.hidden.v1[61].split(".");
|
|
document.form1.b5.value = seg[0];
|
|
document.form1.b6.value = seg[1];
|
|
document.form1.b7.value = seg[2];
|
|
document.form1.b8.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[62])) {
|
|
var seg = parent.hidden.v1[62].split(".");
|
|
document.form1.b9.value = seg[0];
|
|
document.form1.b10.value = seg[1];
|
|
document.form1.b11.value = seg[2];
|
|
document.form1.b12.value = seg[3];
|
|
}
|
|
|
|
if (parseInt(parent.hidden.v1[3],10) != "4812") { //not 4812 hardware type
|
|
if (!isEmpty(parent.hidden.v1[63])) {
|
|
var seg = parent.hidden.v1[63].split(".");
|
|
document.form1.c1.value = seg[0];
|
|
document.form1.c2.value = seg[1];
|
|
document.form1.c3.value = seg[2];
|
|
document.form1.c4.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[64])) {
|
|
var seg = parent.hidden.v1[64].split(".");
|
|
document.form1.c5.value = seg[0];
|
|
document.form1.c6.value = seg[1];
|
|
document.form1.c7.value = seg[2];
|
|
document.form1.c8.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[65])) {
|
|
var seg = parent.hidden.v1[65].split(".");
|
|
document.form1.c9.value = seg[0];
|
|
document.form1.c10.value = seg[1];
|
|
document.form1.c11.value = seg[2];
|
|
document.form1.c12.value = seg[3];
|
|
}
|
|
if (parseInt(parent.hidden.v1[3],10) == "2892") { //2892 for hardware type
|
|
if (!isEmpty(parent.hidden.v1[66])) {
|
|
var seg = parent.hidden.v1[66].split(".");
|
|
document.form1.d1.value = seg[0];
|
|
document.form1.d2.value = seg[1];
|
|
document.form1.d3.value = seg[2];
|
|
document.form1.d4.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[67])) {
|
|
var seg = parent.hidden.v1[67].split(".");
|
|
document.form1.d5.value = seg[0];
|
|
document.form1.d6.value = seg[1];
|
|
document.form1.d7.value = seg[2];
|
|
document.form1.d8.value = seg[3];
|
|
}
|
|
if (!isEmpty(parent.hidden.v1[68])) {
|
|
var seg = parent.hidden.v1[68].split(".");
|
|
document.form1.d9.value = seg[0];
|
|
document.form1.d10.value = seg[1];
|
|
document.form1.d11.value = seg[2];
|
|
document.form1.d12.value = seg[3];
|
|
}
|
|
} //end if 2892
|
|
} //end not 4812
|
|
}
|
|
|
|
|
|
function onNext() {
|
|
for (var z=57; z < 69; z++) {
|
|
parent.hidden.v1[z] = "";
|
|
}
|
|
tooMuchData = 0;
|
|
|
|
//Save data
|
|
ip1 = document.form1.a1.value + "." + document.form1.a2.value + "." + document.form1.a3.value + "." + document.form1.a4.value;
|
|
sub1 = document.form1.a5.value + "." + document.form1.a6.value + "." + document.form1.a7.value + "." + document.form1.a8.value;
|
|
gate1 = document.form1.a9.value + "." + document.form1.a10.value + "." + document.form1.a11.value + "." + document.form1.a12.value;
|
|
ip2 = document.form1.b1.value + "." + document.form1.b2.value + "." + document.form1.b3.value + "." + document.form1.b4.value;
|
|
sub2 = document.form1.b5.value + "." + document.form1.b6.value + "." + document.form1.b7.value + "." + document.form1.b8.value;
|
|
gate2 = document.form1.b9.value + "." + document.form1.b10.value + "." + document.form1.b11.value + "." + document.form1.b12.value;
|
|
|
|
if (parseInt(parent.hidden.v1[3],10) != "4812") { //not 4812
|
|
ip3 = document.form1.c1.value + "." + document.form1.c2.value + "." + document.form1.c3.value + "." + document.form1.c4.value;
|
|
sub3 = document.form1.c5.value + "." + document.form1.c6.value + "." + document.form1.c7.value + "." + document.form1.c8.value;
|
|
gate3 = document.form1.c9.value + "." + document.form1.c10.value + "." + document.form1.c11.value + "." + document.form1.c12.value;
|
|
}
|
|
|
|
if (parseInt(parent.hidden.v1[3],10) == "2892") { //2892 for hardware type
|
|
ip4 = document.form1.d1.value + "." + document.form1.d2.value + "." + document.form1.d3.value + "." + document.form1.d4.value;
|
|
sub4 = document.form1.d5.value + "." + document.form1.d6.value + "." + document.form1.d7.value + "." + document.form1.d8.value;
|
|
gate4 = document.form1.d9.value + "." + document.form1.d10.value + "." + document.form1.d11.value + "." + document.form1.d12.value;
|
|
}
|
|
|
|
////////
|
|
//Port 1
|
|
////////
|
|
if (!isEmpty(document.form1.a1.value) || !isEmpty(document.form1.a2.value) || !isEmpty(document.form1.a3.value) || !isEmpty(document.form1.a4.value)) {
|
|
//Must have valid data in ip, subnet, and gateway (or gateway can be blank)
|
|
if (isInteger(document.form1.a1.value) && isInteger(document.form1.a2.value) && isInteger(document.form1.a3.value) && isInteger(document.form1.a4.value)) {
|
|
if (!isValidIPAddress(ip1)) {
|
|
alert(errMess);
|
|
document.form1.a1.select();
|
|
document.form1.a1.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess);
|
|
document.form1.a1.select();
|
|
document.form1.a1.focus();
|
|
return;
|
|
}
|
|
if (!isEmpty(document.form1.a5.value) || !isEmpty(document.form1.a6.value) || !isEmpty(document.form1.a7.value) || !isEmpty(document.form1.a8.value)) {
|
|
//Must have valid data in subnet
|
|
if (isInteger(document.form1.a5.value) && isInteger(document.form1.a6.value) && isInteger(document.form1.a7.value) && isInteger(document.form1.a8.value)) {
|
|
if (!isValidIPAddress(sub1)) {
|
|
alert(errMess1);
|
|
document.form1.a5.select();
|
|
document.form1.a5.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess1);
|
|
document.form1.a5.select();
|
|
document.form1.a5.focus();
|
|
return;
|
|
}
|
|
} else { //must enter subnet
|
|
alert(errMess4);
|
|
document.form1.a5.select();
|
|
document.form1.a5.focus();
|
|
return;
|
|
}
|
|
|
|
parent.hidden.v1[57] = ip1;
|
|
parent.hidden.v1[58] = sub1;
|
|
if (!isEmpty(document.form1.a9.value) || !isEmpty(document.form1.a10.value) || !isEmpty(document.form1.a11.value) || !isEmpty(document.form1.a12.value)) {
|
|
//Must have valid data in gateway
|
|
if (isInteger(document.form1.a9.value) && isInteger(document.form1.a10.value) && isInteger(document.form1.a11.value) && isInteger(document.form1.a12.value)) {
|
|
if (!isValidIPAddress(gate1)) {
|
|
alert(errMess2);
|
|
document.form1.a9.select();
|
|
document.form1.a9.focus();
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[59] = gate1;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess2);
|
|
document.form1.a9.select();
|
|
document.form1.a9.focus();
|
|
return;
|
|
}
|
|
}
|
|
} else {
|
|
//if subnet or gateway fields have data, plan to warn user
|
|
if (!isEmpty(document.form1.a5.value) || !isEmpty(document.form1.a6.value) || !isEmpty(document.form1.a7.value) || !isEmpty(document.form1.a8.value) ||
|
|
!isEmpty(document.form1.a9.value) || !isEmpty(document.form1.a10.value) || !isEmpty(document.form1.a11.value) || !isEmpty(document.form1.a12.value)) {
|
|
tooMuchData = 1;
|
|
}
|
|
}
|
|
|
|
////////
|
|
//Port 2
|
|
////////
|
|
if (!isEmpty(document.form1.b1.value) || !isEmpty(document.form1.b2.value) || !isEmpty(document.form1.b3.value) || !isEmpty(document.form1.b4.value)) {
|
|
//Must have valid data in ip, subnet, and gateway (or gateway can be blank)
|
|
if (isInteger(document.form1.b1.value) && isInteger(document.form1.b2.value) && isInteger(document.form1.b3.value) && isInteger(document.form1.b4.value)) {
|
|
if (!isValidIPAddress(ip2)) {
|
|
alert(errMess);
|
|
document.form1.b1.select();
|
|
document.form1.b1.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess);
|
|
document.form1.b1.select();
|
|
document.form1.b1.focus();
|
|
return;
|
|
}
|
|
if (!isEmpty(document.form1.b5.value) || !isEmpty(document.form1.b6.value) || !isEmpty(document.form1.b7.value) || !isEmpty(document.form1.b8.value)) {
|
|
//Must have valid data in subnet
|
|
if (isInteger(document.form1.b5.value) && isInteger(document.form1.b6.value) && isInteger(document.form1.b7.value) && isInteger(document.form1.b8.value)) {
|
|
if (!isValidIPAddress(sub2)) {
|
|
alert(errMess1);
|
|
document.form1.b5.select();
|
|
document.form1.b5.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess1);
|
|
document.form1.b5.select();
|
|
document.form1.b5.focus();
|
|
return;
|
|
}
|
|
} else { //must enter subnet
|
|
alert(errMess4);
|
|
document.form1.b5.select();
|
|
document.form1.b5.focus();
|
|
return;
|
|
}
|
|
|
|
parent.hidden.v1[60] = ip2;
|
|
parent.hidden.v1[61] = sub2;
|
|
if (!isEmpty(document.form1.b9.value) || !isEmpty(document.form1.b10.value) || !isEmpty(document.form1.b11.value) || !isEmpty(document.form1.b12.value)) {
|
|
//Must have valid data in gateway
|
|
if (isInteger(document.form1.b9.value) && isInteger(document.form1.b10.value) && isInteger(document.form1.b11.value) && isInteger(document.form1.b12.value)) {
|
|
if (!isValidIPAddress(gate2)) {
|
|
alert(errMess2);
|
|
document.form1.b9.select();
|
|
document.form1.b9.focus();
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[62] = gate2;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess2);
|
|
document.form1.b9.select();
|
|
document.form1.b9.focus();
|
|
return;
|
|
}
|
|
}
|
|
} else {
|
|
//if subnet or gateway fields have data, plan to warn user
|
|
if (!isEmpty(document.form1.b5.value) || !isEmpty(document.form1.b6.value) || !isEmpty(document.form1.b7.value) || !isEmpty(document.form1.b8.value) ||
|
|
!isEmpty(document.form1.b9.value) || !isEmpty(document.form1.b10.value) || !isEmpty(document.form1.b11.value) || !isEmpty(document.form1.b12.value)) {
|
|
tooMuchData = 1;
|
|
}
|
|
}
|
|
|
|
////////
|
|
//Port 3
|
|
////////
|
|
if (parseInt(parent.hidden.v1[3],10) != "4812") { //not 4812 hardware type
|
|
if (!isEmpty(document.form1.c1.value) || !isEmpty(document.form1.c2.value) || !isEmpty(document.form1.c3.value) || !isEmpty(document.form1.c4.value)) {
|
|
//Must have valid data in ip, subnet, and gateway (or gateway can be blank)
|
|
if (isInteger(document.form1.c1.value) && isInteger(document.form1.c2.value) && isInteger(document.form1.c3.value) && isInteger(document.form1.c4.value)) {
|
|
if (!isValidIPAddress(ip3)) {
|
|
alert(errMess);
|
|
document.form1.c1.select();
|
|
document.form1.c1.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess);
|
|
document.form1.c1.select();
|
|
document.form1.c1.focus();
|
|
return;
|
|
}
|
|
if (!isEmpty(document.form1.c5.value) || !isEmpty(document.form1.c6.value) || !isEmpty(document.form1.c7.value) || !isEmpty(document.form1.c8.value)) {
|
|
//Must have valid data in subnet
|
|
if (isInteger(document.form1.c5.value) && isInteger(document.form1.c6.value) && isInteger(document.form1.c7.value) && isInteger(document.form1.c8.value)) {
|
|
if (!isValidIPAddress(sub3)) {
|
|
alert(errMess1);
|
|
document.form1.c5.select();
|
|
document.form1.c5.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess1);
|
|
document.form1.c5.select();
|
|
document.form1.c5.focus();
|
|
return;
|
|
}
|
|
} else { //must enter subnet
|
|
alert(errMess4);
|
|
document.form1.c5.select();
|
|
document.form1.dc5.focus();
|
|
return;
|
|
}
|
|
|
|
parent.hidden.v1[63] = ip3;
|
|
parent.hidden.v1[64] = sub3;
|
|
if (!isEmpty(document.form1.c9.value) || !isEmpty(document.form1.c10.value) || !isEmpty(document.form1.c11.value) || !isEmpty(document.form1.c12.value)) {
|
|
//Must have valid data in gateway
|
|
if (isInteger(document.form1.c9.value) && isInteger(document.form1.c10.value) && isInteger(document.form1.c11.value) && isInteger(document.form1.c12.value)) {
|
|
if (!isValidIPAddress(gate3)) {
|
|
alert(errMess2);
|
|
document.form1.c9.select();
|
|
document.form1.c9.focus();
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[65] = gate3;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess2);
|
|
document.form1.c9.select();
|
|
document.form1.c9.focus();
|
|
return;
|
|
}
|
|
}
|
|
} else {
|
|
//if subnet or gateway fields have data, plan to warn user
|
|
if (!isEmpty(document.form1.c5.value) || !isEmpty(document.form1.c6.value) || !isEmpty(document.form1.c7.value) || !isEmpty(document.form1.c8.value) ||
|
|
!isEmpty(document.form1.c9.value) || !isEmpty(document.form1.c10.value) || !isEmpty(document.form1.c11.value) || !isEmpty(document.form1.c12.value)) {
|
|
tooMuchData = 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
////////
|
|
//Port 4
|
|
////////
|
|
if (parseInt(parent.hidden.v1[3],10) == "2892") { //2892 for hardware type
|
|
if (!isEmpty(document.form1.d1.value) || !isEmpty(document.form1.d2.value) || !isEmpty(document.form1.d3.value) || !isEmpty(document.form1.d4.value)) {
|
|
//Must have valid data in ip, subnet, and gateway (or gateway can be blank)
|
|
if (isInteger(document.form1.d1.value) && isInteger(document.form1.d2.value) && isInteger(document.form1.d3.value) && isInteger(document.form1.d4.value)) {
|
|
if (!isValidIPAddress(ip4)) {
|
|
alert(errMess);
|
|
document.form1.d1.select();
|
|
document.form1.d1.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess);
|
|
document.form1.d1.select();
|
|
document.form1.d1.focus();
|
|
return;
|
|
}
|
|
if (!isEmpty(document.form1.d5.value) || !isEmpty(document.form1.d6.value) || !isEmpty(document.form1.d7.value) || !isEmpty(document.form1.d8.value)) {
|
|
//Must have valid data in subnet
|
|
if (isInteger(document.form1.d5.value) && isInteger(document.form1.d6.value) && isInteger(document.form1.d7.value) && isInteger(document.form1.d8.value)) {
|
|
if (!isValidIPAddress(sub4)) {
|
|
alert(errMess1);
|
|
document.form1.d5.select();
|
|
document.form1.d5.focus();
|
|
return;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess1);
|
|
document.form1.d5.select();
|
|
document.form1.d5.focus();
|
|
return;
|
|
}
|
|
} else { //must enter subnet
|
|
alert(errMess4);
|
|
document.form1.d5.select();
|
|
document.form1.d5.focus();
|
|
return;
|
|
}
|
|
|
|
parent.hidden.v1[66] = ip4;
|
|
parent.hidden.v1[67] = sub4;
|
|
if (!isEmpty(document.form1.d9.value) || !isEmpty(document.form1.d10.value) || !isEmpty(document.form1.d11.value) || !isEmpty(document.form1.d12.value)) {
|
|
//Must have valid data in gateway
|
|
if (isInteger(document.form1.d9.value) && isInteger(document.form1.d10.value) && isInteger(document.form1.d11.value) && isInteger(document.form1.d12.value)) {
|
|
if (!isValidIPAddress(gate4)) {
|
|
alert(errMess2);
|
|
document.form1.d9.select();
|
|
document.form1.d9.focus();
|
|
return;
|
|
} else {
|
|
parent.hidden.v1[68] = gate4;
|
|
}
|
|
} else {
|
|
//One of the segments is not a number
|
|
alert(errMess2);
|
|
document.form1.d9.select();
|
|
document.form1.d9.focus();
|
|
return;
|
|
}
|
|
}
|
|
} else {
|
|
//if subnet or gateway fields have data, plan to warn user
|
|
if (!isEmpty(document.form1.d5.value) || !isEmpty(document.form1.d6.value) || !isEmpty(document.form1.d7.value) || !isEmpty(document.form1.d8.value) ||
|
|
!isEmpty(document.form1.d9.value) || !isEmpty(document.form1.d10.value) || !isEmpty(document.form1.d11.value) || !isEmpty(document.form1.d12.value)) {
|
|
tooMuchData = 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (tooMuchData == 1) { //subnet or gateway entered without ip address.
|
|
if (!confirm(comsg)) {
|
|
return;
|
|
}
|
|
}
|
|
//Next page
|
|
window.location = "rzahqadvisor28.htm";
|
|
}
|
|
|
|
function onBack() {
|
|
window.location = "rzahqadvisor25.htm";
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
|
|
<body onLoad="checkFrame()">
|
|
<h2>Windows Server installation advisor</h2>
|
|
<strong>TCP/IP port configuration (optional)</strong>
|
|
|
|
<p>Specify the Windows TCP/IP configuration
|
|
values that are specific to each physical adapter port. To manually configure from Windows, you can leave
|
|
the port information values blank.</p>
|
|
<form name="form1">
|
|
<table>
|
|
<tr><th align="left">Port 1</th><th></td></tr>
|
|
<tr><td> <label for="port1_ip">IP address:</label></td>
|
|
<td nowrap=""><input type="text" size="3" maxlength="3" name="a1" id="port1_ip">
|
|
. <input type="text" size="3" maxlength=3 name="a2" id="port1_ip">
|
|
. <input type="text" size="3" maxlength=3 name="a3" id="port1_ip">
|
|
. <input type="text" size="3" maxlength=3 name="a4" id="port1_ip">
|
|
</td></tr>
|
|
<tr><td> <label for="port1_sub">Subnet mask:</label></td>
|
|
<td nowrap=""><input type="text" name="a5" size="3" maxlength="3" id="port1_sub">
|
|
. <input type="text" size="3" maxlength="3" name="a6" id="port1_sub">
|
|
. <input type="text" size="3" maxlength="3" name="a7" id="port1_sub">
|
|
. <input type="text" size="3" maxlength="3" name="a8" id="port1_sub">
|
|
</td></tr>
|
|
<tr><td> <label for="port1_gate">Gateway:</label></td>
|
|
<td nowrap=""><input type="text" size="3" maxlength="3" name="a9" id="port1_gate">
|
|
. <input type="text" size="3" maxlength="3" name="a10" id="port1_gate">
|
|
. <input type="text" size="3" maxlength="3" name="a11" id="port1_gate">
|
|
. <input type="text" size="3" maxlength="3" name="a12" id="port1_gate"> (optional)
|
|
</td></tr>
|
|
</table>
|
|
|
|
<table>
|
|
<tr><th align="left">Port 2</th><th></td></tr>
|
|
<tr><td> <label for="port2_ip">IP address:</label></td>
|
|
<td nowrap=""><input type="text" size="3" maxlength="3" name="b1" id="port2_ip">
|
|
. <input type="text" size="3" maxlength=3 name="b2" id="port2_ip">
|
|
. <input type="text" size="3" maxlength=3 name="b3" id="port2_ip">
|
|
. <input type="text" size="3" maxlength=3 name="b4" id="port2_ip">
|
|
</td></tr>
|
|
<tr><td> <label for="port2_sub">Subnet mask:</label></td>
|
|
<td nowrap=""><input type="text" name="b5" size="3" maxlength="3" id="port2_sub">
|
|
. <input type="text" size="3" maxlength="3" name="b6" id="port2_sub">
|
|
. <input type="text" size="3" maxlength="3" name="b7" id="port2_sub">
|
|
. <input type="text" size="3" maxlength="3" name="b8" id="port2_sub">
|
|
</td></tr>
|
|
<tr><td> <label for="port2_gate">Gateway:</label></td>
|
|
<td nowrap=""><input type="text" size="3" maxlength="3" name="b9" id="port2_gate">
|
|
. <input type="text" size="3" maxlength="3" name="b10" id="port2_gate">
|
|
. <input type="text" size="3" maxlength="3" name="b11" id="port2_gate">
|
|
. <input type="text" size="3" maxlength="3" name="b12" id="port2_gate"> (optional)
|
|
</td></tr>
|
|
</table>
|
|
|
|
<script type="text/javascript" language="Javascript">
|
|
<!-- //////////
|
|
tx2a = "<tr><th align='left'>Port 3<\/th><th><\/th><\/tr>";
|
|
tx2 = "<tr><th align='left'>Port 4<\/th><th><\/th><\/tr>";
|
|
tx3 = "<tr><td> <label for='port4_ip'>IP address:<\/label><\/td>";
|
|
tx9 = "<\/td><\/tr><tr><td> <label for='port4_sub'>Subnet mask:<\/label><\/td>";
|
|
tx15 = "<\/td><\/tr><tr><td> <label for='port4_gate'>Gateway:<\/label><\/td>";
|
|
|
|
//START NON-TRANSLATABLE
|
|
tx1 = "<table>";
|
|
|
|
tx4 = "<td><input type='text' size='3' maxlength='3' name='d1' id='port4_ip'>";
|
|
tx4 += " . <input type='text' size='3' maxlength=3 name='d2' id='port4_ip'>";
|
|
tx4 += " . <input type='text' size='3' maxlength=3 name='d3' id='port4_ip'>";
|
|
tx4 += " . <input type='text' size='3' maxlength=3 name='d4' id='port4_ip'>";
|
|
|
|
tx10 = "<td nowrap=''><input type='text' name='d5' size='3' maxlength='3' id='port4_sub'>";
|
|
tx10 += " . <input type='text' size='3' maxlength='3' name='d6' id='port4_sub'>";
|
|
tx10 += " . <input type='text' size='3' maxlength='3' name='d7' id='port4_sub'>";
|
|
tx10 += " . <input type='text' size='3' maxlength='3' name='d8' id='port4_sub'>";
|
|
|
|
tx16 = "<td nowrap=''><input type='text' size='3' maxlength='3' name='d9' id='port4_gate'>";
|
|
tx16 += " . <input type='text' size='3' maxlength='3' name='d10' id='port4_gate'>";
|
|
tx16 += " . <input type='text' size='3' maxlength='3' name='d11' id='port4_gate'>";
|
|
tx16 += " . <input type='text' size='3' maxlength='3' name='d12' id='port4_gate'> (optional)";
|
|
tx20 = "<\/td><\/tr><\/table>";
|
|
tx4a = "<td nowrap=''><input type='text' size='3' maxlength='3' name='c1' id='port3_ip'>";
|
|
tx4a += " . <input type='text' size='3' maxlength=3 name='c2' id='port3_ip'>";
|
|
tx4a += " . <input type='text' size='3' maxlength=3 name='c3' id='port3_ip'>";
|
|
tx4a += " . <input type='text' size='3' maxlength=3 name='c4' id='port3_ip'>";
|
|
|
|
|
|
tx10a = "<td nowrap=''><input type='text' name='c5' size='3' maxlength='3' id='port3_sub'>";
|
|
tx10a += " . <input type='text' size='3' maxlength='3' name='c6' id='port3_sub'>";
|
|
tx10a += " . <input type='text' size='3' maxlength='3' name='c7' id='port3_sub'>";
|
|
tx10a += " . <input type='text' size='3' maxlength='3' name='c8' id='port3_sub'>";
|
|
|
|
tx16a = "<td nowrap=''><input type='text' size='3' maxlength='3' name='c9' id='port3_gate'>";
|
|
tx16a += " . <input type='text' size='3' maxlength='3' name='c10' id='port3_gate'>";
|
|
tx16a += " . <input type='text' size='3' maxlength='3' name='c11' id='port3_gate'>";
|
|
tx16a += " . <input type='text' size='3' maxlength='3' name='c12' id='port3_gate'> (optional)";
|
|
|
|
//3rd port
|
|
if (parent.hidden.v1[3] != "4812") { // not 4812
|
|
document.writeln(tx1);
|
|
document.writeln(tx2a);
|
|
document.writeln(tx3);
|
|
document.writeln(tx4a);
|
|
document.writeln(tx9);
|
|
document.writeln(tx10a);
|
|
document.writeln(tx15);
|
|
document.writeln(tx16a);
|
|
document.writeln(tx20);
|
|
}
|
|
|
|
//4th port
|
|
if (parent.hidden.v1[3] == "2892") { //2892 for hardware type
|
|
document.writeln(tx1);
|
|
document.writeln(tx2);
|
|
document.writeln(tx3);
|
|
document.writeln(tx4);
|
|
document.writeln(tx9);
|
|
document.writeln(tx10);
|
|
document.writeln(tx15);
|
|
document.writeln(tx16);
|
|
document.writeln(tx20);
|
|
}
|
|
|
|
//END NON-TRANSLATABLE
|
|
|
|
////////// -->
|
|
</script>
|
|
|
|
<br><br>
|
|
<center>
|
|
<input type="button" value="<< Back" onClick="onBack()">
|
|
<input type="button" value="Next >>" onClick="onNext()">
|
|
</center>
|
|
</form>
|
|
</body>
|
|
</html>
|