ip route …

[bash]
ip route show
echo "1 admin" >> /etc/iproute2/rt_tables
more /etc/iproute2/rt_tables
ip route add 10.xx.xxx.0/23 dev eth1 src 10.xx.xxx.xxx table admin
ip route add default via 10.xx.xxx.x dev eth1 table admin
ip rule show
ip rule add from 10.xx.xxx.xxx/32 table admin
ip rule add to 10.xx.xxx.xxx/32 table admin
ip rule show
[/bash]

Dieser Beitrag wurde unter Allgemein, bash, Linux veröffentlicht. Setze ein Lesezeichen auf den Permalink.