correction bug images defaut route

This commit is contained in:
shango-wk
2026-04-30 15:47:10 +02:00
parent c72a369942
commit c30181d9f8

View File

@@ -94,19 +94,19 @@ Each router in the path needs two routes: a route to 192.168.1.0/24 and a route
For configuring Static route the command is:
```Cisco
```Cisco
R1(config)# ip route ip-address netmask next-hop
```
so for R1:
```Cisco
```Cisco
R1(config)# ip route 192.168.4.0 255.255.255.0 192.168.13.3
```
To check the routes
```Cisco
```Cisco
R1(config)# do show ip route
Codes: L - local, C - connected, S - static ....
@@ -125,7 +125,7 @@ S 192.168.4.0/24 [1/0] via 192.168.13.3
so for R3:
```Cisco
```Cisco
R3(config)# ip route 192.168.1.0 255.255.255.0 192.168.13.1
// to send packets to 192.168.1.0/ 24 send packets to R1
R3(config)# ip route 192.168.4.0 255.255.255.0 192.168.34.4
@@ -134,7 +134,7 @@ R3(config)# ip route 192.168.4.0 255.255.255.0 192.168.34.4
so for R4:
```Cisco
```Cisco
R4(config)# ip route 192.168.1.0 255.255.255.0 192.168.34.3
```
@@ -158,21 +158,21 @@ instead of the ip address we can specify the interface
We will do this for R2:
```Cisco
```Cisco
R2(config)# ip route ip-address netmask exit-interface
R2(config)# ip route 192.168.1.0 255.255.255.0 g0/0
```
but we can do both exit-interface and next-hop
```Cisco
```Cisco
R2(config)# ip route ip-address netmask exit-interface next-hop
R2(config)# ip route 192.168.4.0 255.255.255.0 g0/1 192.168.24.4
```
so it returns
```Cisco
```Cisco
R2(config)# do show ip route
// exit interface
@@ -199,8 +199,7 @@ S 192.168.4.0/24 [1/0] via 192.168.24.4, GigabitEthernet0/1
- More specific routes are used for destinations in the internal corporate network.
- Traffic to destinations outside of the internal network is sent to the internet.
!(default route)[./Images/default_routes.png]
![example](default_routes.png)
### configure default route
```Cisco