Topic: WR1043, PPPoE and a confused Newbie
Firstofall: flashing my router worked perfectly easy, maybe to easy.
The more I read documentations, FAQs etc. the more confused I get, I think I might need some help getting the point of virtual and physical interfaces, their naming, the default configuration and so on.
1. What I wanna do:
Connect my router to a modem (alice IAD, I hate it ;) ) via PPPoE.
As far as i know, i have to configure one of the 1043's ports to do so, haven't I?
With something like this:
config 'interface' 'wan'
option 'ifname' 'eth1'
option 'proto' 'pppoe'
option 'username' 'XXXXXX'
option 'password' 'XXXXXX'
option 'defaultroute' '1'
option 'peerdns' '1'
(Is that everything the router needs to know for establishing a connection via the modem (and not by itself!)?)
But: What actually is a port? Where do I plug in my cable and how is that named in the CUI?
Okay, let's say I take the WAN-port (the port named "wan" on the box ...)
I go to that page http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd to check out the 'layout' and find these two tables:
The default network configuration is:
Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
eth0 LAN ports (1 to 4) + WAN None
wlan0 WiFi Disabled
Switch Ports (for VLANs)
Numbers 1-4 are Ports 1-4 as labeled on the unit, number 0 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself.
Port Switch port
Internet (WAN) 0
LAN 1 1
LAN 2 2
LAN 3 3
LAN 4 4
Gigabit Media Independent Interface 5
Where is the difference between "interface" and "ifname" in the config entry? Which is the one where my cable is plugged in?
Where is the difference between br-lan and eth0?
Connecting my router to the modem via the WAN-labeled port on the unit would therefore mean the interface eth0, and in the config-example above "ifname eth1" the router is connected via the LAN1-port to the modem? (and a computer plugged in in LAN3 would be eth3 or eth0.3?)
Why do I need that bridge?
Then, a question on this howto: http://wiki.openwrt.org/doc/howto/acces … hrough.nat
What does that part mean:
"If the modem should have an IP address like say 192.168.1.8, you could not use the network 192.168.1.0/24 for your LAN and at the same time access your modem with this method. Use any other network in that case, like 192.168.0.0/24 or 192.168.33.0/24. " ?
(What means "LAN" in this case?)
Would be great if somebody could help me.