Hi,
just a question:
in astaro v6.x (I've got two ASG 320 with astaro 6.313) to see what the generic routing table is I give the command:
# ip rule show
which has ( in Astaro v. 6.613 ) the following output:
# ip rule show
0: from all lookup local
32759: from all iif lo lookup 42
32760: from ***.***.***.0/24 to ***.zzz.***.0/24 lookup 42
32762: from ***.***.0.0/16 to ***.yyy.40.0/24 lookup 42
32764: from ***.yyy.0.0/16 to zzz.***.0/24 lookup 42
32765: from ***.zzz.0/24 to zzz.yyy.30.0/24 lookup 42
32766: from all lookup main
32767: from all fwmark 0x1 lookup 1
32768: from all fwmark 0x2 lookup 2
32769: from all fwmark 0x3 lookup 3
32770: from all fwmark 0x4 lookup 4
32771: from all fwmark 0x5 lookup 5
32772: from all fwmark 0x6 lookup 6
32773: from all fwmark 0x7 lookup 7
32774: from all fwmark 0x8 lookup 8
32775: from all fwmark 0x9 lookup 9
32776: from all fwmark 0xa lookup 10
32777: from all fwmark 0xb lookup 11
32778: from all fwmark 0xc lookup 12
32779: from all fwmark 0xd lookup 13
32780: from all fwmark 0xe lookup 14
32781: from all fwmark 0xf lookup 15
32782: from all fwmark 0x10 lookup 16
32783: from all fwmark 0x11 lookup 17
32784: from all fwmark 0x12 lookup 18
32785: from all fwmark 0x13 lookup 19
32786: from all fwmark 0x14 lookup 20
32787: from all fwmark 0x15 lookup 21
32788: from all fwmark 0x16 lookup 22
32789: from all fwmark 0x17 lookup 23
32790: from all fwmark 0x18 lookup 24
32791: from all fwmark 0x19 lookup 25
32792: from all fwmark 0x1a lookup 26
32793: from all fwmark 0x1b lookup 27
32794: from all fwmark 0x1c lookup 28
32795: from all fwmark 0x1d lookup 29
32796: from all fwmark 0x1e lookup 30
32797: from all fwmark 0x1f lookup 31
32798: from all fwmark 0x20 lookup 32
32799: from all fwmark 0x21 lookup 33
32801: from all fwmark 0x22 lookup 34
32802: from all fwmark 0x23 lookup 35
32803: from all fwmark 0x24 lookup 36
32804: from all fwmark 0x25 lookup 37
32805: from all fwmark 0x26 lookup 38
32806: from all fwmark 0x27 lookup 39
32807: from all fwmark 0x28 lookup 40
32808: from all fwmark 0x29 lookup 41
32809: from all fwmark 0x2b lookup 43
32810: from all fwmark 0x2c lookup 44
32811: from all fwmark 0x2d lookup 45
32812: from all fwmark 0x2e lookup 46
32813: from all lookup default
In Astaro v 7.2 the same command has the following output:
0: from all lookup local
1: from all fwmark 0x1 lookup 1
2: from all fwmark 0x2 lookup 2
3: from all fwmark 0x3 lookup 3
4: from all fwmark 0x4 lookup 4
5: from all fwmark 0x5 lookup 5
32766: from all lookup main
32767: from all lookup default
These last lines mean that the main table is looked up AFTER the policy routing rules (the lines with *fwmark*), that is the exact opposite than what happens with Astaro v. 6.x, where, as we can see, the main table is looked up BEFORE the policy route lines.
Is this behaviour correct ? If so, configuration import from Astaro v6 to Astaro v7 will never work if there are policy routes involved, won't it ?
Please tell me where I go wrong.
Thank you,
best regards,
S. Natale
This thread was automatically locked due to age.