Ii. RSA Authentication Method
(1) net-to-net connection method
1. Network Environment
Left network subnet --- à left GateWay subnet ----- | ------ à Right Gateway subnet ---- à Right network
192.168.1.0/24 eth0: 192.168.1.1 eth0: 172.16.1.1 172.16.1.0
GW192.168.1.1 eth1: 1.1.1.1 eth1: 1.1.1.2 GW: 172.16.1.1
GW: 1.1.1.2 GW: 1.1.1.2
In addition to the above IP add
The route command displays or modifies the route table of the local IP address. Syntax: [plain] route [-CFvnee] route [-v] [-Afamily] add [-net |-host] target [netmaskNm] [gwGw] [metricN] [mssM] [windowW] [irttI]... the route command displays or modifies the route table of the local IP address. Syntax: [plain] route [-CFvnee] route [-v] [-A family] add [-net |-host] target [netmask Nm] [gw Gw] [metric N] [m
ping the Internet again.
If the DHCP protocol on vnic 8 is enabled,Set vnic 8 to automatically obtain the ip address,You can ping the internet.
Try Setting gw of vnic 8 to 10.1.10.1,When the ip address is set to 10.1.10.2, You can ping the internet.
Later, we found that as long as the gw of vnic 8 is set to 10.1.10.1,When the ip address of vnic 8 and gw are in t
LINUX operating system debugging: configuration and implementation of vrouters-Linux Enterprise Application-Linux server application information. For details, see the following. 1. Network Topology
2. IP Address Allocation
CLIENT: 192.168.2.2
Linux server:
Eth0: 192.168.2.1
Eth1: 199.229.194.161
CISCO2514: 202.99.30.66 (valid address)
Squid server:
Eth0: 199.229.194.20
Eth0: 1: 202.99.30.67
3. Purpose:
Through the routing configuration on linux server, CLINET can find the proxy to go to squid s
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:
server IP of Tomcat installed: 192.168.37.136, the access address of the deployed project under Tomcat is: http://192.168.37.136:8080/lywh/B. I installed the 192.168.37.133 under the IP server.C. How about using the Nginx proxy for sites deployed under Tomcat? , modify the Nginx configuration file, modify the command: vim/usr/local/nginx/conf/nginx.conf 1 #user nobody; 2 worker_processes 1; 3 #error_log Logs/error.log; 4 #error_log logs/error.log notice; 5 #error_log Logs/error.log Info; 7
=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
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.