KB 265

From SWCP Support Wiki
Jump to navigationJump to search

How to configure a Broadmax Linkmax Router the telnet way.

Article:265
Created:2003-11-14 14:45:52
Categories:
  DSL

Question or Symptom

Resolution

The Broadmax router has both a web based GUI and a telnet interface. Both can be used to configure the device. Here is how to configure the device thru the telnet interface.

  1. Configure your ethernet device to have an ip address on the same subnet as
     the Broadmax, by default the Broadmax's ethernet ip address is
     192.168.0.1.
  2. Telnet to the Broadmax. You will be prompted fro username and password,
     the default's are broadmax/broadmax.
  3. Issue the following commands:
 
      -------------------------------------------------------------------
      BASIC CONFIG
 
      modify bridge mode disable
          
      modify bridge mode wan2wan disable
          
      create atm vc intf ifname aal5-1 vpi 0 vci 32 vcmux enable
          
      create ppp intf ifname ppp-0 start lowif aal5-1 droute true PPOA
      usedhcp true
 
      create ppp security ifname ppp-0 PAP login USERNAME passwd PASSWORD
 
      -------------------------------------------------------------------
      DHCP SERVER
 
      create dhcp server pool poolid 0 start-ip IP end-ip IP mask NETMASK
      dname DOMAIN gwy GATEWAY dns DNS1 sdns DNS2 enable
 
      modify dhcp server cfg enable
      commit
 
      reboot

      -------------------------------------------------------------------
      ROUTED SUBNET CONFIG
 
      modify bridge mode disable
 
      modify bridge mode wan2wan disable
          
      create atm vc intf ifname aal5-1 vpi 0 vci 32 vcmux enable
 
      create ppp intf ifname ppp-0 start lowif aal5-1 droute true PPOA
      usedhcp true None
 
      create ppp security ifname ppp-0 PAP login USERNAME passwd PASSWORD
 
      modify ethernet intf ifname eth-0 ip ETH_IP mask NETMASK usedhcp false
 
      modify nat global disable
 
      commit
 
      reboot
 
      ------------------------------------------------------------------
      CHANGING ETH ADDRESS
 
      modify ethernet intf ifname eth-0 ip ETH_IP mask NETMASK usedhcp false
 
      commit
 
      reboot
 
      ------------------------------------------------------------------
      CHANGING PASSWORD
 
      passwd broadmax         
 
      commit
 
      reboot
 
      ------------------------------------------------------------------
      CHANGING FROM NAT TO ROUTED
 
      delete ppp intf ifname ppp-0
 
      create ppp intf ifname ppp-0 start lowif aal5-1 droute true PPOA
      usedhcp true None
 
      modify ethernet intf ifname eth-0 ip ETH_IP mask NETMASK usedhcp false
 
      modify dhcp server cfg disable
 
      modify nat global disable
 
      commit
 
      reboot
 
      ------------------------------------------------------------------
      PORT FORWARDING (!!THESE THREE LINES ARE ONE LINE WRAPPED FOR SANITY!!)
 
      create nat rule entry ruleid NUMBER rdr prot PROT ifname ppp-0
      lcladdrfrom INT_IP lcladdrto INT_IP destportfrom num EXT_PORT 
      destportto num EXT_PORT lclport num INT_PORT
 
      commit
 
      reboot
 
      The NUMBER field can be any number above 3. To see what is currently 
      defined, issue:
 
      get nat rule entry
 
      To delete:
 
      delete nat rule entry ruleid NUMBER
 
      ------------------------------------------------------------------
      NAT
 
      To get NAT satus:
 
      get nat global
 
      To Disable:
 
      set nat global disable
 
      To Enable:
 
      set nat global enable
 KB 276 I jacked my BroadMax router, now what? Or configuring the broadmax
    router via the web interface.
 KB 286 Port Forwarding the Broadmax via the web interface.