WAN to LAN (Linksys E1200)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
MrLOLs
DD-WRT Novice


Joined: 01 Aug 2015
Posts: 5

PostPosted: Sun Aug 02, 2015 16:57    Post subject: WAN to LAN (Linksys E1200) Reply with quote
WAN port is dead. I want change LAN 4 to WAN.
I using config (attach) but router not receive IP from ISP (PPPoE).



__1_179.png
 Description:
 Filesize:  24.81 KB
 Viewed:  8912 Time(s)

__1_179.png


Sponsor
Magnetron1.1
DD-WRT User


Joined: 21 Nov 2010
Posts: 278
Location: North America

PostPosted: Tue Aug 04, 2015 8:13    Post subject: Reply with quote
@MrLOLs

While I don't have a Linksys E1200, I do have a Linksys E3000 running the K3.x Mega build version of the 21676 (5-27-2013) firmware and has LAN port 4 mapped as a WAN port.

This firmware has 2 problems regarding VLANS:
1.) The Setup --> VLANs webpage shows the LANs assigned to VLAN 0 which is incorrect. VLAN 0 is reserved. If you don't know this and start tinkering with this webpage eventually the LANs will stop working, but the Wi-Fi will continue to work. Usually, LAN ports are assigned to VLAN 1 and Port W, the normal WAN port, is assigned to VLAN 2.
2.) The LAN port numbers on the webpage don't match the LAN port numbers on the label on the back of the router. Example: LAN 1 on the webpage is actually LAN 4 on the label.

It's reasonable to assume these limitations apply to the E1200 as well, but YMMV. BTW, if Port W is broken then the box in that column should be left unchecked.

Here's a screenshot of my E3000's VLANs webpage. Incidentally, this router is located behind other routers and gets it's WAN IP from one of the main routers connected to the Internet.



- Magnetron1.1
MrLOLs
DD-WRT Novice


Joined: 01 Aug 2015
Posts: 5

PostPosted: Tue Aug 18, 2015 13:44    Post subject: Reply with quote
I have this default config now:
Quote:
root@DD-WRT:~# nvram show | grep vlan.*ports
vlan2ports=4 5
vlan0ports=1 2 3 4 5*
ping_ip=nvram show | grep vlan.*ports
size: 19716 bytes (45820 left)
vlan1ports=0 1 2 3 5*
root@DD-WRT:~# nvram show | grep port.*vlans
port5vlans=0 1 16
port3vlans=0 18 19 21
nvram show | grep port.*vlans
port1vlans=0 18 19 21
port4vlans=1 18 19 21
port2vlans=0 18 19 21
port0vlans=0 18 19 21
size: 19716 bytes (45820 left)
root@DD-WRT:~# nvram show | grep vlan.*hwname
nvram show | grep vlan.*hwname
vlan2hwname=et0
vlan1hwname=et0
size: 19716 bytes (45820 left)
vlan0hwname=et0

Please, tel me command for change WAN port to LAN1 phisical port


Last edited by MrLOLs on Tue Aug 18, 2015 14:09; edited 1 time in total
KrypteX
DD-WRT Guru


Joined: 18 Jan 2014
Posts: 2411

PostPosted: Tue Aug 18, 2015 14:04    Post subject: Reply with quote
Port 4 shouldn't be on both VLANs... take a look here: http://www.dd-wrt.com/wiki/index.php/VLAN_Bridging_WAN_and_a_LAN_port#Second_WAN_port
_________________
THERE ARE NO STRANGERS HERE; ONLY FRIENDS YOU HAVEN'T YET MET.
________________________________________________________________________________________________________
DD-WRT CHANGELOG | DEVICES | DD-WRT BUILDS | KONG BUILDS | UNOFFICIAL BUILDS | DD-WRT in VIRTUALBOX
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum