advantageous.
Table 1 Overall Comparison of Three IETF Overlay Technologies
2. VXLAN packet forwarding
The essence of Overlay is the L2 Over IP tunneling technology. The technical framework of server vSwitch and physical network is ready. From the perspective of current technology selection, although multiple tunnels are implemented at the same time, however, VXLAN technology implemented in L2 over UDP mode has great advantages, and has been implemented in ESXi, Open vSwitch, and mainstream ch
Original: Cost allocation issueIn real life, we may encounter such a problem: three people to buy a product, if the price of this product is 1. Three people split the cost of 1/3, can be expressed in fractions, but the computer processing the final result is a decimal 0.33 (two decimal places), so 0.33*3=0.99Although the previous approach is to solve the problem of cost allocation, but that method is only a set of cost-sharing issues, but a group of cost allocation together, the total price of e
the default gatewayRoute add default GW gateway IP AddressEdit gateway in the/etc/sysconfig/network-scripts/ifcfg-eth0 FileYou can also change the subnet mask and network card hardware address.
Hwaddr = 00: E0: 81: 21: 01: 26Ipaddr = 159.226.119.111Netmask = 159.226.119.192Gateway = 159.226.119.126
28. Check what programs are running on port 22.Lsof-I: 22
29. Change DNSEdit nameserver dnsip in the/etc/resolv. conf file
30. Modify the MAC address/Sbin
HOST: Window 2003 sp2VM version: VMware Workstation 7.0.0 build-203739Virtual Machine: rhel6.0
Physical Machine: 2K3IP: 192.168.20.8Netmask: 255.255.255.0GW: 192.168.2.1
Virtual Machine: rhel6IP: 10.1.10.234Netmask: 255.255.2550GW: 10.1.10.1
Use Nat connectionNat is connected to the default virtual network card 8: VMWare network adapter vmnet8Vnic 8:IP: 10.1.10.1Netmask: 255.255.255.0
The DHCP protocol on vnic 8 has not been enabled at the beginning,Result In rhel6, the physical IP address of 2K
Add a route table to CentOSStatic route modification command in CentOSMethod 1:Add routeRoute add-net 192.168.0.0/24 gw 192.168.0.1Route add-host 192.168.1.1 dev 192.168.0.1Delete A routeRoute del-net 192.168.0.0/24 gw 192.168.0.1Add routeDel Delete route-Net-Host: Set the route to a host.Gw egress gateway IP AddressDev egress gateway physical device nameAdd default routeRoute add default
: # ifconfig eth0 192.168.10.88 netmask 255.255.255.0 upifconfig command to use the Down command when disabling the device. For example, # ifconfig eth0 down (2) configure the IP address for the alias of the device Eth0: # ifconfig eth0: 1 192.168.10.188 (3) view the specified network port configuration: # ifconfig eth0 (4) view all network excuse configurations: # The ifconfig2.route command can be used to configure and view the configuration of the kernel route table. (1) route to host // indi
include group ports, isolated ports, and hybrid ports. Hybrid ports are mainly used to connect to gateways.
One VLAN isolation technology.
Pvlan Configuration:
Show VLAN private-VLAN
Pvlan jump Attack:
Cross-site access across pvlan restrictions. Such as mutual access between R2 and R3.
R2:
IP Route 172.16.0.3 255.255.255.255.255 172.16.0.254
R3:
IP Route 172.16.0.2 255.255.255.255 172.16.0.254
Point the other static route to the gateway.
Pvlan jump AttacK Defense:
=172.16.2.1-If the network card is active, add a gateway to the system, optional. Generally not recommended to write here# Service Network Restart--this is a way to make the above configuration take effect immediately, and one is to restart the system 4, gateway settingsfunction: Allows direct communication between different networks. A gateway is often an interface on a router# Route-n--View the routing table. The table that determines how the packet should be sent out # route add default
The Linux route command is used to operate or display the system routing table, to achieve communication between the two hosts, but restart the network card is lost, if you want to permanently save, you need to write to the configuration file.Route commandParameters:-N: Direct display of IP, not resolved to domain nameAdd: AddingDel: Delete-net: Specify destination network, need sub-code-host: Specify Destination HostNetmask: This parameter is required when specifying a networkGW: Specified rout
192.168.100.10 netmask 255.255.255.0[Email protected] ~]# ifconfig eth0 192.168.100.100/24RouteRoute (IP route) displays routing information-n is displayed in number format and does not reverse address to host nameRoute add-host host_ip GW Next_hop [Dev Device]-net net_addr GW next_hop [Dev Device]-net 0.0.0.0 Destination address is any address, plus a gateway, default routeRoute Del-host Host_ip-net net_a
Detailed Network configuration under Linux1. The network card name setting path is as follows:RHEL5:/etc/modprobe.confRHEL6:/etc/udev/rules.d/70-persistent-net.rules2.ifconfig commandFormat: ifconfig ethX ip/mask [Up|down]-A: Displays configuration information for all interfacesExample: ifconfig eth0 192.168.1.1/24 Configuring IP AddressIfconfig eth0 up Enable interfaceIfconfig eth0:0 172.16.1.1/24 Configuring eth0 Secondary IP AddressIfconfig eth0:0 Down interfacePs:ifconfig command configurati
Http://net.doit.wisc.edu/~dwcarder/captivator/linux_trunking_bridging.txt
How to set up 802.1q trunking and bridging on Linux, which is the the "the" "the" the "a" to creating a CAPTIVATOR-GW appliance.
This example has eth2 as one side to the bridge (and would be we inside interface) and ETH3 as the outside interface. Both eth2 and Eth3 could use the same VLANs tags (numbers) for each bridge, or optionally we can use different tags for ea CH side
the firewall host (for remote administration);
When all users pass the firewall agent, only normal user rights are allowed;
The limit timeout is set to 300 seconds;
You can edit the prompts on your firewall yourself.
Install FWTK
1. Create a new directory/HOME/FWTK, copy Fwtk.tar.z to the directory, and unpack: Tar xzvf fwtk.tar.z.
2. Prepare to compile:
Replace Makefile.config with Makefile.config.linux;
Remove the # number before the Auxlib=-lcrypt line in the Makefile.config;
Add-I/USR/INCLU
6:service NetworkManager stop NetworkManager会和network冲突,所以建议关闭service network restart 重启network服务centos 7:systemctl restart networkTwo. Routing function configurationIn actual production we can also configure the Linux system as a router.As shown, a total of 5 hosts, the middle R1,r2,r3 three as a router to use. First we configure the relevant IP addresses for 5 hosts.1. Turn on the routing featureTo see if the routing feature is turned on:
Cat/proc/sys/net/ipv4/ip_forward 1 for open,
1. View the routing tableRoute-n2. Add Default gatewayRoute add default GW 113.200.114.225OrRoute add-net 0.0.0.0 netmask 0.0.0.0 GW 113.200.114.2253. Delete the default gatewayRoute del default GW 113.200.114.225Generally, multiple network segments communicate with each other, and a priority route needs to be established rather than through the default gateway.3
How does the CentOS server add permanent static routes?
One, Linux add permanent static route
Method One: Modify the rc.local configuration file
Scope: Test Ubuntu 14.04, CentOS 6.4, Debian 8.1, Redhat 6.4 system available
How to use:
1. Add a command to the/etc/rc.local file in the Linux system Route add-net 192.168.2.0/24 GW 192.168.2.254 (the default route for the server is 192.168.2.254), or add a command route Add-net 192.168.3.0/24 Dev Eth0
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.