analyzing the data, we found that:The data forwarded by the customer on site is far greater than the data during local testing.
Analyze the messages sent by the MonitorServer and the messages received by monitord as follows:
1 // MonitorServer sends Code 2 3 esmonitor_assist_t m_monitord_prms; 4 5... 6 7 tmp = sock. createSock (pConf-> m_monitordServerList [I]. c_str (), ES_MONITOR_PORT, IPPROTO_TCP, CLIENT); 8 9... 10 11 if (sock. sendData (_ int8 *) m_monitord_prms, sizeof (m_monitord_prms)
Record a Multicast DNS (mdns) problem-(ifconfig in linux), mdnsifconfig
Preface:Recently, the problem of mdns query has been fixed. The problem can be summarized into three parts, which are basic issues:
1. Gateway ifconfig query address
2. encoding of multiple programs occupying one port at the same time
3. mdns protocol and source code
Mdns is a protocol used for LAN discovery. For the linux system mounted by the gateway, you must first determine the address used for communication and descri
Article Source: http://blog.163.com/yuyi_vc/blog/static/170371753201152901727665/
During UDP programming, the most common question is how many bytes are sent at a time?
Of course, there is no unique answer. The answer to this question varies with systems and requirements, here, I will only analyze the situation of sending chat messages like ICQ. For other cases, you may also get some help:
First, we know that TCP/IP is generally considered as a layer-4 protocol system, including the link layer,
I recently learned about Remoting and found that Remoting is really a good thing.
We usually have three methods to use remoting, one is
First: Publishing a public objectThe public object is created locally.Type 2: Remote creation of a public object (SAO)Object created in client requestThird: Remote creation of a private object (CAO)The object is created on the HOST, and the client references the object on the server.
I didn't quite understand the essential differences between the three. The thre
with Linux Bridge or Vxlan.
Instead, these implementations are compared to ground gas. Before we used the Docker container, we learned that Docker was isolated from the container network implemented by the Linux network namespace. When using Docker, there will be a Docker0 Linux Bridge,brctl show on the physical host or virtual machine to see Docker0 "plugged in" a lot of veth network devices:
# ip link show... ...3: docker0:
mtu 1500
................
Next we will discuss the situations where the following modes are 0, 1
Mode = 1 works in master/slave mode, and eth1 is no arp as the backup Nic
[Root @ rhas-13 network-scripts] # ifconfig verify Nic configuration information
Bond0 Link encap: Ethernet HWaddr 00: 0E: 7F: 25: D9: 8B
Inet addr: 172.31.0.13 Bcast: 172.31.3.255 Mask: 255.255.252.0
Up broadcast running master multicast mtu: 1500 Metric: 1
RX packets: 18495 errors: 0
equals 0 block request return 403#block If!file_req | | Dir_req#block表示阻止请求, returns a 403 error that currently indicates that the request is blocked if the policy file_req is not met or if the policy dir_req is satisfiedUse_backend Server_web If Itnihao_web#当满足itnihao_web的策略时使用server_web的backendUse_backend Server_blog If Itnihao_blog#当满足itnihao_blog的策略时使用server_blog的backend#redirect prefix http://blog.itniaho.cn code 301 if ItnihaoWhen #当访问itnihao. cn, use HTTP 301 to go to http://192.168.16.3
information-S Display summary information (similar to netstat-i)Add to configure the IPV6 address for the specified NICdel Deletes the IPV6 address of the specified network cardmtunetmaskTunel establishing a tunneldstaddr set a remote address to establish point-to-point communication-broadcast-pointtopointMulticast Setting the multicast flag for the network cardaddress sets IPV4 addresses for network cardstxqueuelen4. Usage Examples:Example 1: Displaying network device information (active state
If you have read VMware's network configuration in detail (a) , now continue to understand;First, use the CMD program under Windows System, ping one by using the ping commandThe network host name or IP address that can be connected:Then ping the same host name on the FEDORA15 system:Should be related to the type of network settings, my network card is the way to set host-only;So in order for the FEDORA15 to be able to ping the host address, let's set the next newThe network card, but does not
Failure phenomenon:
1, on the Vnxe, can not use 192.168.2.2 this IP address to create a shared folder server or iSCSI server;
2, the use of 192.168.2.2 this IP address to create a server failed, and reported "IP address has been used (error code: 0X600089C)" error message.
Solution:
192.168.2.2 This IP address is occupied by the data mover of the Vnxe two storage processor (SP). You can log in to the Vnxe command-line interface by putty using the service account. Then follow these steps:
Se
Recently, because in the study remoting, pure just understand, discover remoting is really good thing.
We usually have three ways to use remoting, one of which is
First: Publishing a public objectThe exposed object is created locallySecond: Remote creation of a public object (SAO)Object created in client requestThird: Remote creation of a private object (CAO)object is created on the host, and the client references the object on the server
I don't really understand the essence of these three kind
Tags: Linux routing configuration Miscellaneous basics11.211.2.1 ifcfg View Linux Routing entries[[emailprotected] ~]# route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface10.201.106.0 0.0.0.0 255.255.255.0 U 0 0 0 eth00.0.0.0 10.201.106.2 0.0.0.0 UG 0 0 0 eth0View system Activity Status Network interface information[[emailprotected] ~]# ifconfigens33: flags=4163Show all active a
Network//Tcpserver.java by Fpont 3/2000
//Usage:java tcpserver //default port is 1500.
//connection to is closed by client.
//This server handles only 1 connection.
import java.net.*;
import java.io.*;
public class TCPServer {
public static void Main (String args[]) {
int port;
ServerSocket Server_socket;
BufferedReader input;
try {
port = integer.parseint (Args[0]);
}
catch (Exception e) {
System.out.println ("port =
Up interface Bond0 OKBringing Up interface eth0 OKBringing Upnbsp;interface eth1 OK................Below we discuss the following mode for 0, 1 o'clock, respectively.mode=1 operation in the main standby mode, then eth1 as the Backup network card is no ARP[email protected] network-scripts]# ifconfig Verify the configuration information of the NICBond0 Link encap:ethernet HWaddr 00:0e:7f:25:d9:8binet addr:172.31.0.13 bcast:172.31.3.255 mask:255.255.252.0Up broadcast RUNNING MASTER multicast mtu:
network card device:
# VIM Ifcfg-eth0
device= "eth0"
bootproto= "static" Hwaddr= "08:00:27:6a:9d:57" nm_controlled= "
No"
onboot= "Yes"
Bridge= "Xenbr0"
type= "Ethernet"
userctl= "No"
3. Configuring bridging mode requires the NetworkManager service to be turned off:
All two nodes need to operate
#chkconfig NetworkManager off
#service Restart the
Network service after NetworkManager stop configuration:
#service Network Restart
4). Login terminal to view bridge status:
#
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.