Tags: content validation conf save ini sbin while etc do1. Method One:
Add Add route
del Delete route
-net setting a route to a network segment
-host setting a route to a host
GW Export Gateway IP address
Dev Egress Gateway Physical device name
Add
IP command1. About additional IP settings: IP add temporarily Add/Remove IP address# IP add add 192.168.1.126/24 dev eth0:0 # ip Add del 192.168.1.126/24 dev eth0:0# ip add show# IP add show eth0 2. Related Settings for interface devices: IP link# IP Link set eth0 up //open NIC # IP link set eth0 down//off NIC # IP link set eth0 name Lyj //NIC renamed # IP link set E Th0 MTU //Change MTU value# IP link Show//Display all interface information 1:lo: 3. Related Setti
I. OverviewPrerequisites: Spring 5, Spring Boot 2 and Project Reactor.Spring Cloud Gateway is designed to provide a simple and efficient way to route to APIs and provide them with crosscutting concerns such as security, monitoring/metrics, and resiliency.Route: The basic building block of the routing gateway. It is defined by the ID, target URI, predicate collection, and filter set. If the aggregation predicate is true, the
Distance vector protocol route discovery + suppression Loop
Vro Network c algorithm directly transmits route table information from the vector protocol. The router in the network obtains the route information from its neighbor router, and sends the route information together with its local
BGP is a familiar protocol. Then, let's give a brief explanation of this Protocol. It mainly targets its synchronization performance. You need to pay attention to this aspect. BGP protocol: A router running the BGP protocol will not advertise the routing information learned from the internal peer (IBGP neighbor) to the external peer (EBGP neighbor ), unless the route information can also be learned through IGP. If the BGP router can learn the
Add or delete route 1, specify interface 1, add host route # route add 10.10.10.2 dev tun0 or # route add-host 10.10.10.2 dev tun02, delete host route # route del 10.10.10.2 dev tun0 or route
4.4.2.4 255.255.255.0
!
Interface Loopback3
Ip address 4.4.3.4 255.255.255.0
!
Interface Serial1/0
Ip address 10.0.3.2 255.255.255.0
Serial restart-delay 0
!
Router ospf 1
Log-adjacency-changes
Network 4.4.1.0 0.0.0.255 area 2
Network 4.4.2.0 0.0.0.255 area 2
Network 4.4.3.0 0.0.0.255 area 2
Network 10.0.3.0 0.0.0.255 area 2
!
At the end of the preceding command, configure the OSPF route tables for each vro as follows:
R1 # show ip
CentOS command -- route
1. Command Format:
route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]
2. command functions:
The Route command is used to operate the kernel-Based ip Route table. It is mainly used to create a static Route
1. Static routes, dynamic routes, and default routing routers can have dynamic and static routes in two of the routing records in the middle of a table. Dynamic routing is generated automatically based on routing protocols, and static routes are manually configured. The default route is one of the static routes that is manually configured to represent the routing policy that is executed by default when a routing request does not match the routing rule
The route command for the Linux system is used to display and manipulate the IP routing table (show/manipulate the IP routing table). To achieve communication between two different subnets, you need a router that is connected to two networks, or a gateway to two networks. In Linux systems, routing is usually done to address the problem that the Linux system has a gateway in a local area network that allows the machine to access the Internet, so the IP
The route command for the Linux system is used to display and manipulate the IP routing table (show/manipulate the IP routing table). To achieve communication between two different subnets, you need a router that is connected to two networks, or a gateway that is located on two networks simultaneously to achieveIn Linux systems, routing is usually done to address the problem that the Linux system has a gateway in a local area network that allows the m
The route command for the Linux system is used to display and manipulate the IP routing table (show/manipulate the IP routing table). To achieve communication between two different subnets, you need a router that is connected to two networks, or a gateway to two networks.In Linux systems, routing is usually done to address the problem that the Linux system has a gateway in a local area network that allows the machine to access the Internet, so the IP
Current route:
Destination network segment of destinationMask Subnet maskThe egress ip address of the router to which the interface reaches the destination.
The ip address of the next hop router entry of the gateway. The router defines a link to the next router through the interface and gateway. Generally, the interface and gateway are metric hops of the same network segment, the quality of this route recor
The route command for the Linux system is used to display and manipulate the IP routing table (show/manipulate the IP routing table). To achieve communication between two different subnets, you need a router that is connected to two networks, or a gateway to two networks. In Linux systems, routing is usually done to address the problem that the Linux system has a gateway in a local area network that allows the machine to access the Internet, so the IP
Current route:
Destination network segment of destination
Mask Subnet Mask
The egress IP address of the router to which the interface reaches the destination.
The IP address of the next hop router entry of the Gateway. The router defines a link to the next router through the interface and gateway. Generally, the interface and gateway are metric hops of the same network segment, the quality of this route rec
A route is used to select a route. A route consists of a static route and a dynamic route. The corresponding route table is called a static route table and a dynamic
The function is not strong, but because occasionally also will use, here I still paste out to see, to everybody's appraisal appraisal. Work, and seldom do some fun things anymore. This stuff is written only because of the need for work.
The thing is this, if the purchase of dual-line or three-wire bandwidth, such products are non-BGP products, can automatically choose from the three major ISP operators the best route to return data, Single-line here
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.