<html><head><title>WEB Config</title>
<script language="JavaScript">
<!--
var i,j,k
function MakeArray(n) 
{
    this.length=n;
    for(var i=1;i<=n;i++)
    	this[i]=0;
    return this;
}
function isip(objs){
var lm1=0,t=1,i,j
j=objs
for(i=0;i<=j.length;i++){
    if(j.charAt(i)=="." || i==j.length){
        if(j.charAt(i)=="." && i==j.length-1)
            return false
        if(checknum(j.substring(lm1,i))){
            if(inrange(j.substring(lm1,i),0,255)){
                t++
                lm1=i+1
            }
            else{
                return false
            }
        }
    }
}
if(t!=5)
    return false
return true
}
function inrange(objs,val1,val2){
var i,j,minn,maxn
j=objs
i=parseInt(j,10)
if(val1>val2){
  maxn=val1
  minn=val2
}
else{
  maxn=val2
  minn=val1
}
if(i>maxn || i<minn)
  return false
return true
}
function checknum(objs){
var i,j,k
j=objs
if(j.length==0)
  return false
for(k=0;k<j.length;k++){
  if(j.charAt(k)!=" ")
    break
}
for(i=k;i<j.length;i++){
  if(j.charAt(i)<"0" || j.charAt(i)>"9")
    break
}
if(i==k)
  return false
for(k=i;k<j.length;k++){
  if(j.charAt(k)!=" ")
    return false
}
return true
}
function getsubnet(objs,objb){
	var lm1=0,t=1,i,j,ipstr
	
	ipnum=new MakeArray(4)
	masknum=new MakeArray(4)
	j=objs
	for(i=0;i<=j.length;i++){
	    if(j.charAt(i)=='.' || i==j.length){
	        if(j.charAt(i)=='.' && i==j.length-1)
	            return false
	        if(checknum(j.substring(lm1,i))){
	            if(inrange(j.substring(lm1,i),0,255)){
	            	ipnum[t]=parseInt(j.substring(lm1,i))
	                t++
			lm1=i+1
	            }
	            else
	                return false
	        }
	        else
	            return false
	    }
	}
	if(t!=5)
	    return false
	t=1
	lm1=0
	j=objb
	for(i=0;i<=j.length;i++){
	    if(j.charAt(i)=='.' || i==j.length){
	        if(j.charAt(i)=='.' && i==j.length-1)
	            return false
	        if(checknum(j.substring(lm1,i))){
	            if(inrange(j.substring(lm1,i),0,255)){
	            	masknum[t]=parseInt(j.substring(lm1,i))
	                t++
			lm1=i+1
	            }
	            else
	                return false
	        }
	    }
	}
	if(t!=5)
	    return false
	ipstr=(ipnum[1]& masknum[1]).toString()+'.'+(ipnum[2]& masknum[2]).toString()+'.'
	ipstr=ipstr+(ipnum[3]& masknum[3]).toString()+'.'+(ipnum[4]& masknum[4]).toString()
	return ipstr
}
function num2maskip(objs){
	var y,z
	
	i=new MakeArray(9)
	i[1]='0'
	i[2]='128'
	i[3]='192'
	i[4]='224'
	i[5]='240'
	i[6]='248'
	i[7]='252'
	i[8]='254'
	i[9]='255'
	x=new MakeArray(4)
	z=objs
	for(y=1;y<=4;y++){
		if(z<8)	{
			x[y]=z
			x[y]++
			z=0
		}
		else{
			x[y]=9
			z=z-8
		}
	}
	y=i[x[1]]+'.'+i[x[2]]+'.'+i[x[3]]+'.'+i[x[4]]
	return y
}
function checkall(formobj)
{ var error=0
  var tmp1,tmp2
  if (checknum(formobj.vpi0.value)==false)
  {
    alert("The #1 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi0.value,0,4095)==false)
  {
    alert("The #1 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci0.value)==false)
  {
    alert("The #1 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci0.value,0,65536)==false)
  {
    alert("The #1 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask0.value)==false)
  {
    alert("The #1 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask0.value,0,32)==false)
  {
    alert("The #1 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip0.value)==false)
  {
    if (formobj.wip0.value !="")
    {
      alert("The #1 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip0.value)==false)
  {
    if (formobj.gip0.value !="")
    {
      alert("The #1 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip0.value==formobj.gip0.value && formobj.wip0.value!="" && formobj.gip0.value!="")
  {
    alert("The #1 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip0.value,num2maskip(formobj.mask0.value))
  tmp2=getsubnet(formobj.gip0.value,num2maskip(formobj.mask0.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #1 WAN IP is different with #1 Gateway IP")
    error=1
  }
  if (formobj.mark0.checked==true && formobj.wip0.value=="")
  {
      alert(" #1 Need WAN IP!!")
      error=1
  }
  if (formobj.mark0.checked==true && formobj.gip0.value=="")
  {
      alert(" #1 Need Gateway IP!!")
      error=1
  }
  if (checknum(formobj.vpi1.value)==false)
  {
    alert("The #2 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi1.value,0,4095)==false)
  {
    alert("The #2 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci1.value)==false)
  {
    alert("The #2 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci1.value,0,65536)==false)
  {
    alert("The #2 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask1.value)==false)
  {
    alert("The #2 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask1.value,0,32)==false)
  {
    alert("The #2 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip1.value)==false)
  {
    if (formobj.wip1.value !="")
    {
      alert("The #2 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip1.value)==false)
  {
    if (formobj.gip1.value !="")
    {
      alert("The #2 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip1.value==formobj.gip1.value && formobj.wip1.value!="" && formobj.gip1.value!="")
  {
    alert("The #2 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip1.value,num2maskip(formobj.mask1.value))
  tmp2=getsubnet(formobj.gip1.value,num2maskip(formobj.mask1.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #2 WAN IP is different with #2 Gateway IP")
    error=1
  }
  if (formobj.mark1.checked==true && formobj.wip1.value=="")
  {
      alert(" #2 Need WAN IP!!")
      error=1
  }
  if (formobj.mark1.checked==true && formobj.gip1.value=="")
  {
      alert(" #2 Need Gateway IP!!")
      error=1
  }
  if (checknum(formobj.vpi2.value)==false)
  {
    alert("The #3 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi2.value,0,4095)==false)
  {
    alert("The #3 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci2.value)==false)
  {
    alert("The #3 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci2.value,0,65536)==false)
  {
    alert("The #3 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask2.value)==false)
  {
    alert("The #3 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask2.value,0,32)==false)
  {
    alert("The #3 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip2.value)==false)
  {
    if (formobj.wip2.value !="")
    {
      alert("The #3 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip2.value)==false)
  {
    if (formobj.gip2.value !="")
    {
      alert("The #3 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip2.value==formobj.gip2.value && formobj.wip2.value!="" && formobj.gip2.value!="")
  {
    alert("The #3 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip2.value,num2maskip(formobj.mask2.value))
  tmp2=getsubnet(formobj.gip2.value,num2maskip(formobj.mask2.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #3 WAN IP is different with #3 Gateway IP")
    error=1
  }
  if (formobj.mark2.checked==true && formobj.wip2.value=="")
  {
      alert(" #3 Need WAN IP!!")
      error=1
  }
  if (formobj.mark2.checked==true && formobj.gip2.value=="")
  {
      alert(" #3 Need Gateway IP!!")
      error=1
  }
  if (checknum(formobj.vpi3.value)==false)
  {
    alert("The #4 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi3.value,0,4095)==false)
  {
    alert("The #4 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci3.value)==false)
  {
    alert("The #4 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci3.value,0,65536)==false)
  {
    alert("The #4 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask3.value)==false)
  {
    alert("The #4 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask3.value,0,32)==false)
  {
    alert("The #4 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip3.value)==false)
  {
    if (formobj.wip3.value !="")
    {
      alert("The #4 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip3.value)==false)
  {
    if (formobj.gip3.value !="")
    {
      alert("The #4 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip3.value==formobj.gip3.value && formobj.wip3.value!="" && formobj.gip3.value!="")
  {
    alert("The #4 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip3.value,num2maskip(formobj.mask3.value))
  tmp2=getsubnet(formobj.gip3.value,num2maskip(formobj.mask3.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #4 WAN IP is different with #4 Gateway IP")
    error=1
  }
  if (formobj.mark3.checked==true && formobj.wip3.value=="")
  {
      alert(" #4 Need WAN IP!!")
      error=1
  }
  if (formobj.mark3.checked==true && formobj.gip3.value=="")
  {
      alert(" #4 Need Gateway IP!!")
      error=1
  }
  if (checknum(formobj.vpi4.value)==false)
  {
    alert("The #5 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi4.value,0,4095)==false)
  {
    alert("The #5 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci4.value)==false)
  {
    alert("The #5 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci4.value,0,65536)==false)
  {
    alert("The #5 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask4.value)==false)
  {
    alert("The #5 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask4.value,0,32)==false)
  {
    alert("The #5 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip4.value)==false)
  {
    if (formobj.wip4.value !="")
    {
      alert("The #5 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip4.value)==false)
  {
    if (formobj.gip4.value !="")
    {
      alert("The #5 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip4.value==formobj.gip4.value && formobj.wip4.value!="" && formobj.gip4.value!="")
  {
    alert("The #5 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip4.value,num2maskip(formobj.mask4.value))
  tmp2=getsubnet(formobj.gip4.value,num2maskip(formobj.mask4.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #5 WAN IP is different with #5 Gateway IP")
    error=1
  }
  if (formobj.mark4.checked==true && formobj.wip4.value=="")
  {
      alert(" #5 Need WAN IP!!")
      error=1
  }
  if (formobj.mark4.checked==true && formobj.gip4.value=="")
  {
      alert(" #5 Need Gateway IP!!")
      error=1
  }
  if (checknum(formobj.vpi5.value)==false)
  {
    alert("The #6 VPI is not a number!!")
    error=1
  }
  if (inrange(formobj.vpi5.value,0,4095)==false)
  {
    alert("The #6 VPI is out of range  0~4095!!")
    error=1
  }
  if (checknum(formobj.vci5.value)==false)
  {
    alert("The #6 VCI is not a number!!")
    error=1
  }
  if (inrange(formobj.vci5.value,0,65536)==false)
  {
    alert("The #6 VCI is out of range  1~65536!!")
    error=1
  }
  if (checknum(formobj.mask5.value)==false)
  {
    alert("The #6 Mask is not a number!!")
    error=1
  }
  if (inrange(formobj.mask5.value,0,32)==false)
  {
    alert("The #6 Mask is out of range  0~32!!")
    error=1
  }
  if (isip(formobj.wip5.value)==false)
  {
    if (formobj.wip5.value !="")
    {
      alert("The #6 WANIP IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (isip(formobj.gip5.value)==false)
  {
    if (formobj.gip5.value !="")
    {
      alert("The #6 Gateway IPis not a validIP !!!!!!")
      error=1
    }
  }
  if (formobj.wip5.value==formobj.gip5.value && formobj.wip5.value!="" && formobj.gip5.value!="")
  {
    alert("The #6 WAN and Gatewaycan not use the same IP")
    error=1
  }
  tmp1=getsubnet(formobj.wip5.value,num2maskip(formobj.mask5.value))
  tmp2=getsubnet(formobj.gip5.value,num2maskip(formobj.mask5.value))
  if((tmp1 != tmp2))
  {
    alert("The Subnet of #6 WAN IP is different with #6 Gateway IP")
    error=1
  }
  if (formobj.mark5.checked==true && formobj.wip5.value=="")
  {
      alert(" #6 Need WAN IP!!")
      error=1
  }
  if (formobj.mark5.checked==true && formobj.gip5.value=="")
  {
      alert(" #6 Need Gateway IP!!")
      error=1
  }
    if(formobj.vpi0.value==formobj.vpi1.value && formobj.mark0.checked==1 &&formobj.vci0.value==formobj.vci1.value && formobj.mark1.checked==1)
    {
      alert("The #1 VPI and VCI is the same with #2 VPI and VCI")
      error=1
    }
    if(formobj.vpi0.value==formobj.vpi2.value && formobj.mark0.checked==1 &&formobj.vci0.value==formobj.vci2.value && formobj.mark2.checked==1)
    {
      alert("The #1 VPI and VCI is the same with #3 VPI and VCI")
      error=1
    }
    if(formobj.vpi0.value==formobj.vpi3.value && formobj.mark0.checked==1 &&formobj.vci0.value==formobj.vci3.value && formobj.mark3.checked==1)
    {
      alert("The #1 VPI and VCI is the same with #4 VPI and VCI")
      error=1
    }
    if(formobj.vpi0.value==formobj.vpi4.value && formobj.mark0.checked==1 &&formobj.vci0.value==formobj.vci4.value && formobj.mark4.checked==1)
    {
      alert("The #1 VPI and VCI is the same with #5 VPI and VCI")
      error=1
    }
    if(formobj.vpi0.value==formobj.vpi5.value && formobj.mark0.checked==1 &&formobj.vci0.value==formobj.vci5.value && formobj.mark5.checked==1)
    {
      alert("The #1 VPI and VCI is the same with #6 VPI and VCI")
      error=1
    }
    if(formobj.vpi1.value==formobj.vpi2.value && formobj.mark1.checked==1 &&formobj.vci1.value==formobj.vci2.value && formobj.mark2.checked==1)
    {
      alert("The #2 VPI and VCI is the same with #3 VPI and VCI")
      error=1
    }
    if(formobj.vpi1.value==formobj.vpi3.value && formobj.mark1.checked==1 &&formobj.vci1.value==formobj.vci3.value && formobj.mark3.checked==1)
    {
      alert("The #2 VPI and VCI is the same with #4 VPI and VCI")
      error=1
    }
    if(formobj.vpi1.value==formobj.vpi4.value && formobj.mark1.checked==1 &&formobj.vci1.value==formobj.vci4.value && formobj.mark4.checked==1)
    {
      alert("The #2 VPI and VCI is the same with #5 VPI and VCI")
      error=1
    }
    if(formobj.vpi1.value==formobj.vpi5.value && formobj.mark1.checked==1 &&formobj.vci1.value==formobj.vci5.value && formobj.mark5.checked==1)
    {
      alert("The #2 VPI and VCI is the same with #6 VPI and VCI")
      error=1
    }
    if(formobj.vpi2.value==formobj.vpi3.value && formobj.mark2.checked==1 &&formobj.vci2.value==formobj.vci3.value && formobj.mark3.checked==1)
    {
      alert("The #3 VPI and VCI is the same with #4 VPI and VCI")
      error=1
    }
    if(formobj.vpi2.value==formobj.vpi4.value && formobj.mark2.checked==1 &&formobj.vci2.value==formobj.vci4.value && formobj.mark4.checked==1)
    {
      alert("The #3 VPI and VCI is the same with #5 VPI and VCI")
      error=1
    }
    if(formobj.vpi2.value==formobj.vpi5.value && formobj.mark2.checked==1 &&formobj.vci2.value==formobj.vci5.value && formobj.mark5.checked==1)
    {
      alert("The #3 VPI and VCI is the same with #6 VPI and VCI")
      error=1
    }
    if(formobj.vpi3.value==formobj.vpi4.value && formobj.mark3.checked==1 &&formobj.vci3.value==formobj.vci4.value && formobj.mark4.checked==1)
    {
      alert("The #4 VPI and VCI is the same with #5 VPI and VCI")
      error=1
    }
    if(formobj.vpi3.value==formobj.vpi5.value && formobj.mark3.checked==1 &&formobj.vci3.value==formobj.vci5.value && formobj.mark5.checked==1)
    {
      alert("The #4 VPI and VCI is the same with #6 VPI and VCI")
      error=1
    }
    if(formobj.vpi4.value==formobj.vpi5.value && formobj.mark4.checked==1 &&formobj.vci4.value==formobj.vci5.value && formobj.mark5.checked==1)
    {
      alert("The #5 VPI and VCI is the same with #6 VPI and VCI")
      error=1
    }
  if (error==0)
  {
    formobj.submit()
    return true
  }
  else return false
}
-->
</script>
</head><body bgcolor="#A1A1DA">
<form ACTION=ipoa_show1 METHOD=GET>
<center><font size="6"><p style="margin-bottom: 0">IPoA Setup</p></font><table border="5"><tr> <td><input type="hidden" name="cmd" value="Y"><table border=0>
<tr><br>
  <th width="45" align="center">Enable</th>
  <th width="15" align="center">#</th>
  <th width="20" align="center">VPI</th>
  <th width="28" align="center">VCI</th>
  <th width="50" align="center">QoS</th>
  <th width="70" align="center">WAN IP</th>
  <th width="33" align="center">/Mask</th>
  <th width="100" align="center">Gateway IP</th>
  <th width="50" align="center">RIP</th>
</tr>
<tr>
  <td width="45" align="center"><input type=checkbox name=mark0 value=1  ></td>  <td width="15" align="center">1</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi0 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci0 value=0></td>
<td align="center" width="50">

<select name=class0>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip0 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask0 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip0 value=></td>
<td align="center" width="50">

<select name=rip0>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr><tr>
  <td width="45" align="center"><input type=checkbox name=mark1 value=1  ></td>  <td width="15" align="center">2</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi1 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci1 value=0></td>
<td align="center" width="50">

<select name=class1>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip1 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask1 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip1 value=></td>
<td align="center" width="50">

<select name=rip1>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr><tr>
  <td width="45" align="center"><input type=checkbox name=mark2 value=1  ></td>  <td width="15" align="center">3</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi2 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci2 value=0></td>
<td align="center" width="50">

<select name=class2>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip2 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask2 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip2 value=></td>
<td align="center" width="50">

<select name=rip2>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr><tr>
  <td width="45" align="center"><input type=checkbox name=mark3 value=1  ></td>  <td width="15" align="center">4</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi3 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci3 value=0></td>
<td align="center" width="50">

<select name=class3>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip3 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask3 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip3 value=></td>
<td align="center" width="50">

<select name=rip3>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr><tr>
  <td width="45" align="center"><input type=checkbox name=mark4 value=1  ></td>  <td width="15" align="center">5</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi4 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci4 value=0></td>
<td align="center" width="50">

<select name=class4>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip4 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask4 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip4 value=></td>
<td align="center" width="50">

<select name=rip4>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr><tr>
  <td width="45" align="center"><input type=checkbox name=mark5 value=1  ></td>  <td width="15" align="center">6</td>
  <td width="20" align="center"><input type=text size=4 maxlength=4 name=vpi5 value=0></td>
  <td width="15" align="center"><input type=text size=5 maxlength=5 name=vci5 value=0></td>
<td align="center" width="50">

<select name=class5>
<option selected value=0>UBR<option  value=1>CBR<option  value=2>VBR-nrt<option  value=3>VBR-rt
</select>

</td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=wip5 value=></td>
  <td width="33" align="center">/<input type=text size=2 maxlength=2 name=mask5 value=24></td>
  <td width="70" align="center"><input type=text size=12 maxlength=17 name=gip5 value=></td>
<td align="center" width="50">

<select name=rip5>
<option selected value=0>None<option  value=1>V1<option  value=2>V2<option  value=3>V1&V2
</select>

</td>
</tr></table>
<br><center><INPUT TYPE=RESET value="Reset">    <INPUT TYPE=button value="Submit" onclick='checkall(this.form)'></center><br>
  </td> </tr></table></center></form></body></html>