Problem: on the linux platform, a vpn server is built using pptp. After dial-in, the intranet ftp is accessed. downloading files is extremely slow. using pptp as a gateway to access the Internet, the access speed of most websites is extremely slow except for baidu, almost inaccessible. Solution: Add-IFORWARD-ptcp -- syn-ippp +-jTCPMSS -- set-mss1356 or
Problem:
On the linux platform, a vpn server is built with pptp. After dial-in, the intranet ftp is accessed, and the file downloading is extreme
There are three purposes of the data link layer:(1)为IP模块发送和 接收IP数据报。(2)为ARP模块发送ARP请求和接收ARP应答。(3)为RARP发送RARP请 求和接收RARP应答。ARP is called address Resolution Protocol and is a protocol that uses IP addresses to turn to MAC addresses.Rarp is called the inverse Address Resolution Protocol, is a MAC address to the IP address of a protocol.The data link layer belongs to the bottom of the computer network, and the channels used are two types of point-to-point channel and broadcast channel .TCP/IP supports
(i) Basic knowledge
The maximum size of the IPV4 datagram is 65535 (16 bits), including the IPv4 head.
IPV6 datagram Maximum size is 65575, including 40 bytes of IPV4 header
MTU, which is specified by hardware, such as the Ethernet MTU is 1500 bytes, IPV4 requires the minimum MTU is 68 bytes, IPV6 requires the minimum
tolerated, so we adopt the UDP transport protocol. But the UDP protocol itself is non-connected and does not provide quality assurance. The high-level protocol rtp/rtcp based on UDP can provide traffic control and congestion control services together. The graph gives a RTP/UDP/IP-based H. 264 frame for video transmission.H. 264 RTP encapsulation strategy for video streamsAs can be seen from Figure 4-1, H. 264 video data is first encapsulated by RTP and packaged into a network-appropriate packet
3. Buffer size and restrictions affect the size of the IP datagram. 1) IPv4 datagram, maximum size is 65535.2) The MTU specified by the hardware. The Ethernet MTU is a 1500-byte, slip-link 1006-byte or 296-byte 3-Path MTU. The smallest MTU in a path between two hosts. 1500 bytes Common path MTU4) IP datagram >
with the application interface for demonstration purposes. Common protocols include HTTP, HTTPS, FTP, TELNET, SSH, SMTP, POP3, etc. layer-2, TCP/IP layer-4 model peer-to-peer communication encapsulation sub-Port q (WellKnown Ports ): from 0 to 1023, these ports are allocated and controlled by IANA and they are closely bound to some services. Usually the communication between these ports clearly indicates a service protocol. For example, Port 21 is the ftp service port. Q registration port (Regi
There are many ways to modify the IP address of the network adapter, but there are two types in general. One is temporary modification, which will expire after the network service is restarted. The other is Permanent modification, it takes effect only after the network service is restarted. In general, the temporary modification application is in the temporary action, and we can also know through the classification name, in order to deal with the following temporary problems. The Permanent modif
has two formats: ※ifconfig [interface] ※ifconfig interface [aftype] option | address... The first format of ifconfig (or the ifconfig command without any parameters) can be used to view the network configuration of the current system. After installing the system, you actually use Linux without a network adapter or network connection. However, ifconfig can be used to work in a loop so that the computer can think that it is working on the network. Run the ifconfig command. The ifconfig command wi
bridge-utils package. Begin by checking if this is already installed by executing the following command:Rpm-q bridge-utilsIf the package is not yet installed, install it using yum:Su-Yum install bridge-utilsWith this package installed it is time to look at the current network configuration. the easiest way to do this is to run the ifconfig command. the following shows output from running ifconfig on a system on which KVM is installed, but on which a network bridge has yet to be configured:Eth0
24 default
Set logout 20
Set banner motd ^ C
!
# System
Set system baud 9600
Set system modem disable
Set system name 5500C
Set system location
Set system contact
!
# Ip
Set interface sc0 1 10.230.4.240 255.255.255.0 10.230.4.255
Set interface sc0 up
Set interface sl0 0.0.0.0 0.0.0.0
Set interface sl0 up
Set arp agingtime 1200
Set ip redirect enable
Set ip unreachable enable
Set ip fragmentation enable
Set ip route 0.0.0.0 10.230.4.15 1
Set ip alias default 0.0.0.0
!
# Command alias
!
# Vtp
Set
multiverseDeb http://extras.ubuntu.com/ubuntu precise mainDeb-src http://extras.ubuntu.com/ubuntu precise main
# Update source~ Sudo apt-get update
2. Install KVM Software
1) install KVM and virt management software on the Server
~ Sudo apt-get install kvm qemu~ Sudo apt-get install stronginst python-libvirt virt-viewer virt-manager
Installing on ubuntu is really simple.
3. configure a bridge Nic
1) Here we use the NIC bridging method
~ Sudo apt-get install bridge-utils
2) view Nic settings
~ I
A few times ago, I encountered the NIC rename problem in SuSE Linux. It was necessary to install RAC on the Virtual Machine and copy the virtual machine. Different from RedHat Linux and oralce Linux, we will record it for your reference.
1. network configuration of the new node # No IP configuration information after the node is started. bo2dbp :~ # Ifconfig lo link encap: local loopback Inet ADDR: 127.0.0.1 mask: 255.0.0.0 inet6 ADDR ::: 1/128 scope: Host up loopback running
#ifconfig命令: used to view and configure network devices Displays information about the network interface for the current activation state: [[Emailprotected]_168_102_centos ~]# ifconfigeth0 Link encap:ethernet hwadd R 00:16:3e:e2:7b:d2 inet addr: 10.221.168.102 bcast:10.221.171.255 Mask:255.255.252.0 Inet6 addr:fe80:: 216:3eff:fee2:7bd2/64 Scope:link up broadcast RUNNING multicast MTU: metric:1 RX packets: 3689339 errors:0 dropped:0 overruns:0
Recently got some Win7 32 flagship version of user feedback, in the WINDOWS7 system login to a game, in the choice of role when the card, how to point also useless, how to solve it? So take the Ghost Win7 flagship edition as an example to share with you
Resolve the problem by modifying the MTU value in the registry.
Windows7 in the system when the login game to select the role of the solution is as follows:
1, in the Windows7 system Press "Win+r" t
see if the MTU value is set correctly. When dial-up information is transmitted on the network line, it is often automatically segmented into different sizes of data packets, and the MTU value parameter is used to specify the packet size standard. When the MTU value is set larger, it means that the data packet size is larger, theoretically can also achieve the pu
from the ADSL client can ensure that dial-up Internet access is both stable and fast.
Second, check the wireless router for the correct parameter settings, especially to see if the MTU value is set correctly. When dial-up information is transmitted on the network line, it is often automatically segmented into different sizes of data packets, and the MTU value parameter is used to specify the packet size s
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.