I got IPv6 subnet from my ISP (/56 and cut it to /64 for local net (bridge interface)
Also i Have /64 subnet from HE.net.
What i want to do:
1. All IPv6 traffic to Russian subnets push over ISP network
2. All other IPv6 traffic over HE,net
whats i do
Code: Select all
/routing table add name=henet
/routing table add name=myispname
/ipv6 route
add disabled=no dst-address=2000::/3 gateway=mygwip::1%sit1 routing-table=henet distance=2
many records with russian subnets, one of it
add disabled=no dst-address=2001:1428::/32 gateway=ether1 routing-table=myispname distance=1
.....
add disabled=no dst-address=2a00:f08::/32 gateway=ether1 routing-table=myispname distance=1
add disabled=no dst-address=2a00:f30::/32 gateway=ether1 routing-table=myispname distance=1
add disabled=no dst-address=2a00:1020::/32 gateway=ether1 routing-table=myispname distance=1
/routing rule
add dst-address=2000::/3 routing-mark=henet action=lookup-only-in-table table=henet
add dst-address=2001:640::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:6d0::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:a58::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:b08::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:1428::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:1b00::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:1bb0::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:4058::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
add dst-address=2001:4be0::/32 routing-mark=myispname action=lookup-only-in-table table=myispname
all country's subnets got manually from a http://www.iwik.org/ipcountry/RU.ipv6