All pastes #177319 Raw Edit

Miscellany

public text v1 · immutable
#177319 ·published 2006-09-20 11:00 UTC
rendered paste body
#!/bin/bash
IP=/sbin/ip
$IP rule add prio 10 table main
$IP rule add prio 20 from 81.215.101.1/32 table 20
$IP route append default via 81.215.101.1 dev ppp0 src 81.215.101.155 table 20
$IP rule add prio 30 from 213.149.159.37/29 table 30
$IP route append default via 213.149.159.38 dev eth2 src 213.149.159.40 table 30
$IP rule add prio 100 table 100
$IP route add default table 100 nexthop via 81.215.101.1 dev ppp0 nexthop via  213.149.159.38 dev eth2