Source Routing: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 8: | Zeile 8: | ||
*curl --interface 10.81.1.2 ifconfig.co | *curl --interface 10.81.1.2 ifconfig.co | ||
TELEKOMIP | TELEKOMIP | ||
| + | *ip rule add from 10.81.1.2/32 table 222 | ||
| + | *ip route del default via 10.81.1.3 table 222 | ||
| + | *curl --interface 10.81.1.1 ifconfig.co | ||
| + | TELEKOMIP | ||
| + | *curl --interface 10.81.1.2 ifconfig.co | ||
| + | 24.134.2.5 | ||
| + | VODOFANEIP | ||
Version vom 17. Februar 2023, 09:56 Uhr
Beispiel zweiter Internetzugang
Setzen des Standardzugang
- ip -4 addr add 10.81.1.1/19 dev enp0s31f6
- ip -4 addr add 10.81.1.2/19 dev enp0s31f6
- ip -4 route add default 10.81.1.1
- curl --interface 10.81.1.1 ifconfig.co
TELEKOMIP
- curl --interface 10.81.1.2 ifconfig.co
TELEKOMIP
- ip rule add from 10.81.1.2/32 table 222
- ip route del default via 10.81.1.3 table 222
- curl --interface 10.81.1.1 ifconfig.co
TELEKOMIP
- curl --interface 10.81.1.2 ifconfig.co
24.134.2.5 VODOFANEIP