JAWUG:ASN

From WugWiki

Jump to: navigation, search

Contents


[edit] AS Assignments

We'll try keep it easy. 65000+(last octet of Loopback IP) Eg, for router with loopback of 172.16.250.44, we take 44 and add it to 65000, giving us 65044. Easy!

If your site isn't listed below, add it and put your name in as the Admin. Try keep it ordered please.

Highsite Loopback AS Admin Installation Comments
NC1 172.16.250.2 65002  ?
TB 172.16.250.3 65003 Silencer / Russian Silencer / Russian
Jozi 172.16.250.4 65004 Xarion / Silencer Xarion / Techie
PR 172.16.250.5 65005 Silencer / Russian / Deon / HooliganMD / Rambo Rambo / HooliganMD / Deon
RB 172.16.250.10 65010 Atti2de/ HappyChap/ mossie/ Ryder
WP 172.16.250.11 65011 Atti2de/ HappyChap/ mossie/ Ryder
SC 172.16.250.12 65012 Atti2de/ HappyChap/ mossie/ Ryder
BJU 172.16.250.14 65014 Atti2de/ HappyChap/ mossie/ Ryder
Xarion 172.16.250.15 65015 Xarion Xarion
ALH 172.16.250.16 65016 Silencer / Deon ALH
SEL 172.16.250.17 65017 Silencer / Deon Deon
Sniper 172.16.250.18 65018 Silencer / HooliganMD Sniper / HooliganMD / Rambo
CrazyZulu 172.16.250.19 65019 Silencer / Crazyzulu Crazyzulu
PB 172.16.250.20 65020 ReLiC
Rambo 172.16.250.21 65021 Silencer / HooliganMD Rambo
MossieHS 172.16.250.22 65022  ?
OR 172.16.250.23 65023 Xarion Xarion
Ambo 172.16.250.25 65025  ?
Alt21 172.16.250.26 65026  ?
NC2 172.16.250.30 65030  ?
CJ 172.16.250.31 65031  ?
XOR 172.16.250.32 65032 Xarion Xarion
Striata 172.16.250.33 65033  ?
DV1 172.16.250.34 65034 Xarion / Deon / Silencer / HooliganMD Xarion / Deon / HooliganMD
DV2 172.16.250.35 65035 Xarion / Deon / Silencer / HooliganMD Xarion / Deon / HooliganMD
DV3 172.16.250.36 65036 Xarion / Deon / Silencer / HooliganMD Xarion / Deon / HooliganMD
Azreal 172.16.250.38 65038  ?
ZS6ZS/W24 172.16.250.39 65039  ?
RegardTV 172.16.250.42 65042 regardtv regardtv Converted to this setup
DK 172.16.250.44 65044 ReLiC
FV 172.16.250.45 65045 ReLiC
AEL 172.16.250.46 65046  ?
LF 172.16.250.47 65047 Silencer / Russian Cees / Xarion / Techie
NC3 172.16.250.53 65053 regardtv (I guess) froztbyte / regardtv Converted to this setup
OH 172.16.250.56 65056 Silencer / Russian / Macgywer
NC4 172.16.250.60 65060  ?
Ryder 172.16.250.100 65100  ?
Scully 172.16.250.123 65123 Atti2de/ Ryder
Fragtion 172.16.250.125 65125 Atti2de/ Ryder
(BP) 172.16.250.127 65127 Atti2de/ F4ckn/ Ryder
Vinaduro 172.16.250.128 65128  ?
Fruitloops 172.16.250.130 65130 Atti2de/ Ryder
cAtilre 172.16.250.135 65135  ?
Blackswan 172.16.250.136 65136 Blackswan
MadSimba 172.16.250.138 65138  ?
Grinder 172.16.250.141 65141  ?
Netgnome 172.16.250.146 65146 Atti2de/ F4ckn/ Ryder
Gil 172.16.250.149 65149 Atti2de Gil Done
Weasley 172.16.250.150 65150 Silencer / Russian Weasley
Macguywer 172.16.250.151 65151 Silencer / Russian Macgywer
Meynard 172.16.250.152 65152 Silencer / Russian Russian / Mynard

[edit] BGP Config

MUST HAVE ROS 4.6

All sites link to other sites with multihop=no and nexthop-choice=force-self Peers are set up between the Interface IPs. NOT LOOPBACKS (this is very different from the current config).

/routing bgp instance
set default as=<Local AS> client-to-client-reflection=no comment="" disabled=no \
ignore-as-path-len=no name=default out-filter="" redistribute-connected=no redistribute-ospf=no \
redistribute-other-bgp=no redistribute-rip=no redistribute-static=no router-id=<Loopback IP> 
unset default confederation

Delete the old instance for your area, if there is on.

/routing bgp peer
add address-families=ip,ipv6,l2vpn,vpnv4 default-originate=never disabled=no \
instance=default interface=<interface towards peer> multihop=no name="<peer name>" \
nexthop-choice=force-self passive=no remote-address=<other sites IP> \
remote-as=<other sides AS> remove-private-as=no route-reflect=no \
update-source=<interface towards peer>

Repeat the adding of peers for all other BGP enabled routers that you connect directly to.

Look for all your connected and static routes (DAC and AS routes) and add them to BGP Networks

This is how you'd add the Loopback IP.

/routing bgp network
add network=<Loopback IP>/32 synchronize=yes


This piece of code will add all networks in address list (inc non wug ranges!! Please remove non wug ranges after running this)

:put “Adding BGP networks”
{:local IPInt;:local NetMask
:foreach AddInt in=[/ip add fin] do={
:set IPInt [/ip address get $AddInt address]
:for Countr from=0 to=([:len $IPInt] - 1) do={
:if ([:pick $IPInt $Countr] = "/") do={
:set IPInt [:pick $IPInt $Countr [:len $IPInt]]}}
:set NetMask ([/ip add get $AddInt network].$IPInt)
 /rout bgp net add network=$NetMask
:put ($IPInt.” ”.$NetMask)}}
}}
Personal tools