The content of this content comes from @What is worth buying APP, and the views only represent the author himself | Author: Se Tie
has always wanted to find a hard route of 100 Gigabits. After searching for a long time, most of the prices are several thousand or even tens of thousands. Finally, I found ER2260T, 2 10 Gigabit SFP+ and 4 Gigabit ips, free shipping for 825 yuan. After that, there was no problem with the power-on test. I disassembled it at that time, and connected to TTL and brushed Openwrt. I didn’t take photos during disassembly and flashing. There are already many other people’s posts on disassembly, so you can search it.
Appearance display
Because the original iron shell was too big, I changed to acrylic shell to reduce the volume.
Original appearance (network picture)
What it looks like after changing the shell
Comparison picture
Originally a built-in power supply, but now it has been changed to a 12V DC input, which can be centrally powered with other devices.
Internet settings
System home page
Note the interface sequence
Op system The order of the two SFP ports in the OP system is inverse, the left is eth on the right is eth4, eth5 plugs into ST8010-G1, and the automatic negotiation is
.5Gbps, the green head is the SC/APC fiber connector, which is a telecom gigabit broadband fiber, and eth4 plugs into brocade 10 Gigabit dual fiber module.
br-lan bridge configuration
br-lan bridges eth1-eth5, here the port of the PON Stick is also bridged, so that the PON Stick can be accessed directly through the IP.
PON Stick configuration
Hangzhou Telecom only needs to set LIOD, VLAN 41, iptv VLAN 43 multicast 4000, since there are multiple broadbands used at the same time, VLAN conversion is done here.
- Multicast VLAN Tagged fill in 4000:1043, which means converting downlink multicast VLAN to 1041
- VLAN conversion, 41:1041 means converting VLAN41 to VLAN1041 of the intranet, and 43:1043 means converting IPTV VLAN to intranet VLAN1043
Here, IPTV and multicast are converted into VLAN 1043. The advantage is that if you connect the box, the box's network port can be directly connected to the specified network port with Untagged 1043.
New dial-up connection
New dial-up connection Select PPPoE and enter the account password.
Physical settings
Physical settings Select customization: eth5.1041, PON Stick is inserted in eth5, and the Internet vlan has been converted to 1041.
Connect successfully
In this way, you can access the Internet at the same time and access the PON Stick's management interface.
runs gigabit broadband
Since it is a hard route, it forwards NSS, but CPU, so the CPU does not have any pressure. This is the essential difference between soft routing and hard routing.
soft routing forwarding depends on the CPU to process, and other programs also need to process the CPU. The high CPU load situation will definitely affect the forwarding performance. This problem does not exist in hard routing .
hard routes run many programs installed by themselves, and will not affect the forwarding performance when loading high.
full gigabit power consumption
When the gigabit is full, the router power consumption is only 5.4W, and it also includes the power consumption of the PON Stick!
IPTV settings (scene 1 directly connects to the IPTV set-top box to watch TV)
Create IPTV port
Create a new interface, named iptvport, Interface protocol: No protocol is configured, check to create a bridge on multiple interfaces, including the following interfaces: eth0 and custom interface eth5.1043, save the application.
eth0 connect to box
Because IPTV's VLAN bridges to eth0, the box is directly connected to eth0, that is, the leftmost port
smoothly enter the interface
The box can be powered on and you can use
Live
Live TV without any problem.
IPTV settings (scene 2 router proxy IPTV, mobile PC watch TV)
Because our IPTV is accessed through IPOE, we must first catch the packet.
install tcpdump
In the software package management of ER2260T, find tcpdump installation and enter SSH, enter the command:
tcpdump -i br-iptvport -c 10 -s 0 -w /tmp/ipoe.pcap
Then open the IPTV box power
Catch the package
Then copy the caught ipoe.pcap via ftp, use Wireshark to open ipoe.pcap
Wireshark
Wireshark
DHCP Requestst request, which is in the first red circle of the picture above. Click the entry, find Option:(60), expand, and then click Vendor class identifier. The blue hexadecimal below is what we want.
Copy hex
Right-click on Vendor class identifier, copy - as a Hex Stream, and paste it into the text file.
Paste into text file
packet capture ends.
Next, modify the PON Stick VLAN configuration
PON Stick VLAN configuration
Multicast VLAN Tagged Change it to: 4000:4002, convert multicast to 4002, because my intranet already has 4000 and 4001 doing other things.
deleted the iptvport established before, create a new iptv interface
iptv interface
protocol selects the DHCP client, custom interface eth5.1043
Set the mac address
iptv interface mac address
iptv interface mac address set to the MAC address of the IPTV box, which is on the box tag, and you can see it even if you catch the packets on it.
vi /etc/config/network
Enter the SSH of ER2260T, vi /etc/config/network Modify the configuration of the iptv port and add
option sendopts '0x3c:******'
****** is the content obtained from the above packet capture.
Then save, click the connection of iptv port:
IPTV successfully obtains IP
IPTV port has been obtained IP
IPTV port has been obtained IP
New interface iptvlan
Basic settings
iptvlan port settings Static ip192.168.43.1, open dhcpp
physical settings
bridge eth0 and eth5.4002, eth0 is used to plug in iptv box
dhcp server advanced settings, DHCP options: 6, 202.101.172.47, 202.101 .172.35
firewall settings:
IPTVWAN
IPTVWAN overlay network: iptv, inbound discard, outbound acceptance, forward acceptance, IP dynamic disguise, MSS clamping
IPTVLAN
IPTVLAN override network: iptvlan, inbound acceptance, outbound acceptance, forward acceptance
allows forwarding to the target area: IPTVWAN
Last MWAN sets diversion
MW AN-interface
MWAN-member
MWAN-strategy
MWAN-rules
MWAN-rules
Settings via MWAN 192.168.1.0/24 Go to the PPPOE connection online, 192.168.43.0/24 IPTV to iptv connection
Set UDPXY
UDPXY
UDPXY
Binding interface br-lan, source interface br-iptvlan
VLC Open network stream
VLC Open network stream http://192.168.1.2:4022/udp/233.50.201.100:5140
can watch TV normally
LAN can already watch live
IPTV box connected to eth0
Set to DHCP
Box network connection changed from IPOE to DHCP
IPTV
To this IPTV realize intranet proxy + box to watch
at the same time
The author declares that this article has no interest, welcomes rational communication and harmonious discussions among friends~