[HamWAN PSDR] Seattle Router configs

Bart Kus me at bartk.us
Wed Apr 9 18:25:58 PDT 2014


Update so that decisions between native and IPIP routing can be made 
when an AMPRnet is routable via both:

17:13 <@carrar> So add this to the Email of the router config
17:13 <@carrar> ip prefix-list HAMWAN-PREFIX-OUT seq 110 permit 
44.0.0.0/8 le 24
17:13 <@carrar> man that was hard

Special snark bonus included at no additional charge!

--Bart

On 04/09/2014 04:12 PM, Tim Osburn wrote:
> <EO_> can you paste your hamwan-related config?
> <EO_> I wanna share it with Corvallis
>
> -------------------------------------------------------------------
> SEA1
> -------------------------------------------------------------------
> interface GigabitEthernet1/0.149
>  description f20130923: HamWAN
>  encapsulation dot1Q 149
>  ip address 209.189.196.65 255.255.255.248
>  ip access-group hamwan-in in
>  no ip redirects
>  no ip unreachables
>  no ip proxy-arp
>  ipv6 address 2604:5000:20::1/64
>  ipv6 traffic-filter hamwan-ipv6-in in
>  no cdp enable
> -------------------------------------------------------------------
> SEA2
> -------------------------------------------------------------------
> interface GigabitEthernet1/0.149
>  description f20130923: HamWAN
>  encapsulation dot1Q 149
>  ip address 209.189.196.66 255.255.255.248
>  ip access-group hamwan-in in
>  no ip redirects
>  no ip unreachables
>  no ip proxy-arp
>  ipv6 address 2604:5000:20::2/64
>  ipv6 traffic-filter hamwan-ipv6-in in
>  no cdp enable
> -------------------------------------------------------------------
> COMMON BETWEEN BOTH ROUTERS
> -------------------------------------------------------------------
> !
> router bgp 7752
>  neighbor 209.189.196.68 remote-as 54688
>  neighbor 209.189.196.68 description HamWAN1
>  neighbor 209.189.196.68 timers 10 30
>  address-family ipv4
>   neighbor 209.189.196.68 activate
>   neighbor 209.189.196.68 next-hop-self
>   neighbor 209.189.196.68 default-originate
>   neighbor 209.189.196.68 remove-private-as
>   neighbor 209.189.196.68 soft-reconfiguration inbound
>   neighbor 209.189.196.68 prefix-list HAMWAN-PREFIX-IN in
>   neighbor 209.189.196.68 prefix-list HAMWAN-PREFIX-OUT out
>   neighbor 209.189.196.68 route-map HAMWAN-ROUTEMAP-IN in
>   neighbor 209.189.196.68 route-map HAMWAN-ROUTEMAP-OUT out
>   neighbor 209.189.196.68 maximum-prefix 4
>  exit-address-family
> !
> ipv6 route 2604:5000:20::/48 2604:5000:20::11
> !
> ip as-path access-list 116 permit ^54688(_54688)*$
> !
> ip access-list extended hamwan-in
>  permit udp any eq 1985 host 224.0.0.2 eq 1985
>  permit udp host 0.0.0.0 host 255.255.255.255
>  permit ip 209.189.196.64 0.0.0.7 any
>  permit ip 44.12.6.0 0.0.0.255 any
>  permit ip 44.24.221.0 0.0.0.255 any
>  permit ip 44.24.240.0 0.0.15.255 any
>  permit ip 44.34.128.0 0.0.7.255 any
>  deny   ip any any log-input
> !
> ipv6 access-list hamwan-ipv6-in
>  permit icmp any any
>  permit ipv6 FE80::/10 FF00::/8
>  permit ipv6 FE80::/10 FE80::/10
>  permit ipv6 2604:5000:20::/48 any
>  deny ipv6 any any log-input
> !
> ip prefix-list HAMWAN-PREFIX-IN seq 100 permit 44.24.240.0/20 le 24
> ip prefix-list HAMWAN-PREFIX-IN seq 110 permit 44.12.6.0/24
> ip prefix-list HAMWAN-PREFIX-IN seq 120 permit 44.34.128.0/21 le 24
> ip prefix-list HAMWAN-PREFIX-IN seq 130 permit 44.24.221.0/24
> !
> ip prefix-list HAMWAN-PREFIX-OUT seq 100 permit 0.0.0.0/0
> !
> route-map HAMWAN-ROUTEMAP-IN permit 10
>  match ip address prefix-list HAMWAN-PREFIX-IN
>  match as-path 116
>  set local-preference 400
> !
> route-map HAMWAN-ROUTEMAP-OUT permit 10
>  match ip address prefix-list HAMWAN-PREFIX-OUT
> !
>
> _______________________________________________
> PSDR mailing list
> PSDR at hamwan.org
> http://mail.hamwan.org/mailman/listinfo/psdr_hamwan.org





More information about the PSDR mailing list