On 23 Feb 2012, at 03:54, Brian Kantor wrote:
On Wed, 22 Feb 2012 15:19:31 -0800, David Josephson
WA6NMF <wa6nmf(a)josephson.com> wrote:
I am puzzled that we want to assign 44-net
addresses one by one as shown
in amprhosts rather than as subnets. Perhaps there is a historical
reason for that. The routing table could get to be very large (we can hope!)
Subnetting is reasonable to do but we still have to assign addresses in
those subnets one at a time in order to get DNS entries for them and to
enable them in the Internet ingress filter.
The division of the AMPRNet space into the existing blocks of addresses
was primarily for administrative convenience, not as a mandated subnetting
scheme.
The hard question is what size region and what size subnet?
1.
That is indeed a hard question. And I don't think one size will fit all no matter how
much effort goes into it. My own preference is logical areas with 'room to grow'.
However as usage of IP has died a death here.
2.
I'd be interested in seeing the paper as well
and
3. Going back to startup scripts.
With a lot of reading old posts and figuring things out. I ended up with the following
(Ubuntu 10.04 LTS)
root@mini-itx:~# cat /etc/iproute2/rt_tables
#
# reserved values
#
255 local
254 main
253 default
0 unspec
#
# local
#
#1 inr.ruhep
200 44
/etc/network/interfaces
..
auto
iface tunl1 inet static
address 44.155.6.12
netmask 255.255.255.0
network 44.155.6.0
broadcast 44.155.6.255
pre-up /sbin/ip tunnel add tunl1 mode ipip remote 169.228.66.251 local
10.100.12.254
post-down /sbin/ip tunnel del tunl1
pre-down /sbin/ip route del default via 169.228.66.251 onlink table 44
pre-down /sbin/ip route del 169.228.66.251 dev eth0 table 44
pre-down /sbin/ip rule del to 44.0.0.0/8 table 44
pre-down /sbin/ip rule del from 44.0.0.0/8 table 44
pre-down /sbin/ip rule del to 44.155.6.12/24 table main
up /sbin/ip rule add to 44.155.6.12/24 table main priority 1
up /sbin/ip rule add from 44.0.0.0/8 table 44 priority 44
up /sbin/ip rule add to 44.0.0.0/8 table 44 priority 45
up /sbin/ip route add 169.228.66.251 dev eth0 table 44
up /sbin/ip route add default dev tunl1 via 169.228.66.251 onlink table 44
I'm using the most excellent rip44d
I found (by trial, error, and confusion) that if I had another interface with the
44.155.6.12 IP. rip44d wouldn't work. I'm using 44.155.6.12 as its one of the
only 2 IPs that I have that is already in the DNS.
Cheers
John
EI7IG