Ethereum public network
after entering the research of Ethereum, I wanted to start from the underlying source code at the beginning, but the whole process was rather difficult. After re analyzing our requirements, I felt that we could develop to some extent and meet some needs by using its existing interface, so I translated the comments of the source code, basically understood the role of each mole, and no further modification was needed, After all, Ethereum is also a project that took dozens of big bulls a long time to build.
it is very difficult for us to successfully transform it into what we want in a period of time. The faster, the easier, the better
and there is a very important problem. If Ethereum is changed, it will not be able to connect to its public network and use the second largest amount of computing power in the world. This is a matter of putting the cart before the horse. It seems that the answer is wrong, but the main expression is that if the subject wants to do development, it is enough to carefully analyze a project,
after all, the logic is almost the same. We should learn more about blockchain and pay attention to ATV
1. Click the computer network connection icon to open the network and sharing center
2. Click local connection
3. Click Details to see the IP address, subnet mask, default gateway and DNS server information
4. Click Properties in local connection state
5. Find internet protocol version 4 (TCP / IPv4) and click twice with the left mouse button
6. Click to select the IP address below, then fill in the IP address, subnet mask, default gateway and DNS server address as you saw in step 3, and then click OK.
DEVICE=eth1
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=你的网关
ONBOOT=yes
vim vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=10.1.1.1
NETMASK=255.0.0.0
GATEWAY=你的网关
ONBOOT=yes
iptables - t NAT - a postrouting - I eth0 -- dport 20020 - J DNAT -- to 192.168.2.101:20
iptables - t NAT - a postrouting - I eth0 -- dport 20021 - J DNAT -- to 192.168.2.101:21
-
eth3 is a WAN port, but if you want to use it, you need to purchase authorization, otherwise you can't use it
-
this port can't share the same network segment with your eth2 port. It doesn't support
-
it can't
< / OL >
what you want to do can be realized through DMZ port. Connect the server to DMZ port, set a LAN IP address,
publish the server to the public network through convincing firewall port mapping function
Differences:
1. Different link sources
eth trunk: generally refers to the link aggregation of the same device. A switch binds multiple interfaces to form an eth trunk interface, so as to achieve the purpose of increasing bandwidth and improving reliability
e-trunk (enhanced trunk): generally refers to cross device link aggregation, which is a mechanism to realize cross device link aggregation. Based on LACP (single device link aggregation standard), it is extended to realize link aggregation among multiple devices. Thus, the link reliability is improved from the board level to the device level
2. Different advantages
eth trunk: load sharing can be realized through trunk interface. In an eth trunk interface, traffic load sharing can be realized. When the physical link connected by a member interface fails, the traffic will switch to other available links, so as to improve the reliability of the whole trunk link. The total bandwidth of trunk interface is the sum of the bandwidth of each member interface
e-trunk (enhanced trunk): it is mainly used for the link protection between CE and PE and the protection of PE equipment node failure when CE al homing access VPLS, Vll and PWE3 networks. Before e-trunk is used, CE can only return to one pe device through eth trunk link
If eth trunk fails or PE equipment fails, CE will not be able to continue to communicate with PE equipment. After using e-trunk, CE can be returned to PE, so as to realize the protection between devices
extended data
port aggregation is the aggregation of multiple ports to form a aggregation group, so as to realize the load sharing among the member ports in the aggregation group, and also provide higher connection reliability. Both e-trunk and eth trunk are link aggregation technologies
in some three-tier data center networks, the core layer is composed of two ce12800, and two 10GE links are aggregated between the two devices, so as to ensure the high reliability of the links. The convergence layer uses ce12800 switch stack to achieve rendant backup, and the stack is connected with upstream and downstream devices through cross frame eth trunk
at the same time, through the traffic local priority forwarding function of eth trunk, the bandwidth load of inter frame link is reced. The aggregation layer creates VRF to isolate service network segment route and public network route, and deploys firewall by side. Two firewalls carry out hot backup to ensure high reliability
to set the firewall to pass through,