All,
Happy New Year!
A few months ago, an AMPRNet user requested 44Net allocations. One
subnet is announced on the Public Internet using BGP. The other is a
standard 44 gateway, with the exception that it's Public IP address is
the BGPed 44/8 address.
Since, on the ICANN Internet, 44/8 is one flat network routeed via BGP;
and allocations within AMPRNet are often islands gateways with a non-44
IP (since, under ICANN logic, this means both the WAN and LAN interface
are on the same network) routed using RIP44; this presented a problem
with our current schema.
Using Linux routing, I solved the problem by adding the 44 subnet to a
special routing table, and adding the Public-facing gateway address to
my Public-facing route table. Hence, these routes and rules ignore the
"invalid" RIP44 gateway announcement.
Here's the script:
NOTE: make sure the BGPed IPs have a higher priority (lower number) than
the standard AMPRNet ip rules.
########################################
### SPECIAL CASE - FOR THOSE WHO BGP
### AND HAVE SUBNETS BEHIND 44 ADDRESSES
### THIS ADDS THE BGPed IP TO THE MAIN TABLE
ip rule add to 44.24.221.1/32 table main priority 42
### THIS ADDS THE ROUTE TO A SPECIAL TABLE
ip route add 44.24.240.0/20 via 44.24.221.1 dev tunl0 onlink table 22
### THIS TELLS THE ROUTER TO REFERENCE THE
### SPECIAL TABLE TO ACCESS THIS SUBNET
ip rule add to 44.24.240.0/20 table 22 priority 43
73,
-Lynwood
KB3VWG