Source Routing
Version vom 17. Februar 2023, 09:56 Uhr von Thomas.will (Diskussion | Beiträge) (→Beispiel zweiter Internetzugang)
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