Convert to WAN port

7,168

Solution 1

Short of hacking together your own custom build of DD-WRT, no. And you probably don't want to bother with that.

Why do you want to change the WAN port?

Edit: The only way this is possible is by loading new firmware onto the router. This may be possible using telnet and/or tftp. More likely you'd have to come up with a method to get the router to execute arbitrary code. Which is not a trivial task. There's also the remote possibility that the functionality is already there, and you'd just have to solder on a new 8P8C SMD. But that's a remote possibility.

Solution 2

You have to reconfigure 1 of the 4 LAN* ports as a WAN port.

Firmware version 6.1 or higher:

:ppp relay flush
:ppp flush
:eth flush
:atm flush
:atm phonebook flush
:eth bridge ifdelete intf=ethport4
:eth ifadd intf=eth_wan
:eth ifconfig intf=eth_wan dest=ethif4
:eth ifattach intf=eth_wan
:ip ifadd intf=ip_wan_eth dest=eth_wan
:ip ifconfig intf=ip_wan_eth status=up
:ip ifconfig intf=ip_wan_eth hwaddr=00:11:42:0c:65:1d <-- This line is only needed if     
:ip ifattach intf=ip_wan_eth
:nat ifconfig intf=ip_wan_eth translation=enabled
:dhcp client ifadd intf=ip_wan_eth
:dhcp client ifconfig intf=ip_wan_eth metric=5 dnsmetric=5
:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-lease-time
:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-renewal-time
:dhcp client rqoptions add intf=ip_wan_eth option=dhcp-rebinding-time
:dhcp client rqoptions add intf=ip_wan_eth option=subnet-mask
:dhcp client rqoptions add intf=ip_wan_eth option=classless-static-routes
:dhcp client rqoptions add intf=ip_wan_eth option=default-routers
:dhcp client rqoptions add intf=ip_wan_eth option=classfull-static-routes
:dhcp client rqoptions add intf=ip_wan_eth option=domain-name-servers
:dhcp client ifattach intf=ip_wan_eth
:saveall

Note that this is only possible on LAN ports 2, 3 and 4. I used LAN port 4 in this example.

Share:
7,168

Related videos on Youtube

info
Author by

info

I am me.

Updated on September 17, 2022

Comments

  • info
    info over 1 year

    I have a ADSL2+ Modem/Router. Is it possible to set one out of four of the LAN ports as a WAN port? If yes, how?

    The brand/model is: Prolink H9200P. I already contacted Prolink about this and the site said to wait for one business day. But I'm still asking here just in case someone could answer faster than Prolink. Thank you.

    Update: The router has 6 ports. A port to be connected to the telephone line (which I assume is also the WAN port), a port where you could connect a telephone headset, and 4 LAN ports.

    What I really want to do is use this modem/router as a "standard" router. I haven't really owned other "kinds" of routers before, aside from the modem/routers one. But looking at some picture in the internet, they seem to have a separate ethernet port for the WAN/Internet.

    I have seen an article for Billion modem/routers but none for Prolink. Also, I could not find any similar telnet commands for Prolink for the commands used in the article.

    Prolink has already replied to my inquiry: It's not possible. :)) Unless we could hack it of course?

  • info
    info about 14 years
    My router is not on the supported devices list. It's a wired router btw. I want to change the WAN port since the available WAN port is an RJ11 and not RJ45.
  • Tyler
    Tyler about 14 years
    @Ramon Hence the "hack together." Is your ADSL coming in as 8P8C? What are you trying to do, big picture?
  • Peter Choi
    Peter Choi about 14 years
    @Ramon Are you just wanting to plug an RJ45 jack into the WAN port?
  • info
    info about 14 years
    I've edited my main post. Maybe it'll clear things up. @Fred: No since the current WAN port is connected to an internal modem.
  • info
    info almost 14 years
    I lost the power adapter for my router, so I can't test if this really works. I'll make sure to check once the adapter is found.