Building a Bridge to VoIP

Leo is this output you've posted tested on the Xiaomi w/OpenWrt?

This will bridge ports eth0 and eth1 on the wan side.

cp /etc/config/network /root/
uci del network.@device[0].ports
uci add_list network.@device[0].ports='eth2'
uci add_list network.@device[0].ports='eth3'
uci del network.wan.device
uci add network device
uci set network.@device[-1].name='br-wan'
uci set network.@device[-1].type='bridge'
uci add_list network.@device[-1].ports='eth0'
uci add_list network.@device[-1].ports='eth1'
uci set network.wan.device='br-wan'
uci commit network
/etc/init.d/network restart

If you want to restore the configuration:

cp /root/network /etc/config/
/etc/init.d/network restart
3 Likes

Thank you. But it didn't help. The "internet" light on the gateway is off. IP 0.0.0.0
I don't know, maybe DHCP should be done on eth1?

Of course, no. It is TPLink.

Move the cable from your ISP to eth1 to check if the wan bridge works.
Also post the the result of brctl show

Yes, works.

bridge name     bridge id               STP enabled     interfaces
br-wan          7fff.8cdef9037ba8       no              eth0
                                                        eth1
br-lan          7fff.b09575ba9cdf       no              wlan0
                                                        eth3
                                                        wlan1
                                                        eth2

The only explanation left is that ATA uses VLAN tagged frames. Download the tp-link configuration guide and check all the router's menus or call your provider and ask what the voice VLAN number used is.

3 Likes

I'm sorry. The phone worked, just not right away. Thank you very much!

One more question please.
If I have WIFI 2.4Hz and 5Hz with the same name, which network will the device connect to? How to make the 5Hz network have an advantage?

Have a peek here at what @clifcox demonstrates.
Adjust the power setting of each, strengthen the desired to be dominate.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.