Answer the question
In order to leave comments, you need to log in
TP-LINK WR1043ND v.1 + OpenWRT for PPPoE+DHCPv6PD network?
Good day,
please help me understand. The network launched IPv6 (PPPoE + DHCPv6PD) and my router with native firmware does not support such features, only v.2 and v.3. Familiar guys offered to organize it on OpenWRT. I have never worked with OpenWRT myself. Gave, said check. After the launch, everything started up, but there are some problems ... (screenshot of the interface - i.imgur.com/Y4uqHn0.png ).
Without IPv6, we work according to the principle - authorization by poppy, issuing local (10.xxx) in our subnet + PPPoE.
About the problems:
- Routing was passed by hand.
- IPv6 periodically falls off (the provider is fine, I personally work in it). For comparison, I do not observe any problems on Mikrotik'e. During the IPv6 tests, not a single gap.
- On the main site, where the information on the account is pulled up by the MAC address, it does not index me. (The script is 100% working, the subscriber base is tens of thousands).
There is a suspicion that they set up this router with some kind of crutches. And there is a premonition that there is a better solution.
Network system administrators suggested how it should start on the router. Below is a quote:
dhcpv4 client must be on the wan port, pppoe rises on the same port, which is told to rise ipv6, and then the dhcpv6 client is launched on the pppoe interface
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd07:0e3e:2735::/48'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option proto 'dhcpv6'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option ifname 'pppoe-LDS_PPPoE'
option reqaddress 'try'
option reqprefix 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'
config interface 'LDS_PPPoE'
option proto 'pppoe'
option ifname 'eth0.2'
option username '***'
option password '***'
option ipv6 '1'
config route
option interface 'lan'
option target '10.0.0.0'
option netmask '255.0.0.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
config route
option interface 'lan'
option target '193.192.36.0'
option netmask '255.255.254.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
config route
option interface 'lan'
option target '94.158.32.0'
option netmask '55.255.240.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
config route
option interface 'lan'
option target '194.146.132.0'
option netmask '255.255.252.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
config route
option interface 'lan'
option target '93.157.24.0'
option netmask '255.255.248.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
config route
option interface 'lan'
option target '199.204.77.0'
option netmask '255.255.255.0'
option gateway '10.4.50.1'
option metric '0'
option mtu '1500'
Answer the question
In order to leave comments, you need to log in
I figured it out myself, in the end, this is what happened according to the configs
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '64'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option macaddr 'MAC-адрес'
option metric '10'
config interface 'wan6'
option ifname 'pppoe-LDS'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 5t'
config interface 'LDS'
option proto 'pppoe'
option ifname 'eth0.2'
option username 'login'
option password 'password'
option ipv6 '1'
option metric '1'
config route
option interface 'wan'
option target '10.0.0.0'
option netmask '255.0.0.0'
option gateway 'ваш шлюз'
config route
option interface 'wan'
option target '193.192.36.0'
option netmask '255.255.254.0'
option gateway 'ваш шлюз'
config route
option interface 'wan'
option target '94.158.32.0'
option netmask '255.255.240.0'
option gateway 'ваш шлюз'
config route
option interface 'wan'
option target '199.204.77.0'
option netmask '255.255.255.0'
option gateway 'ваш шлюз'
Why don't you read the official documentation and check it out yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question