SAIX Local Route server.

packetloss

Well-Known Member
Joined
Oct 30, 2008
Messages
176
Reaction score
1
Location
Snor City
Thank you to Pawel at SAIX for pushing the deployment of the local routes server on SAIX network.

Now you can get SAIX's version of the "Local-Only" routes. Seems like MWEB's routes are no longer there:D

You may use this script to suck out the new routes from tpr-route-server.saix.net


echo -e "saix\nsaix\nterminal length 0\nshow ip bgp community 5713:56225\nexit" | nc tpr-route-server.saix.net 23 | grep -P '\* i' |awk '{print $2}' | sed 's/i//' > /root/routes/saixroutes.txt

Thanx SAIX support.
We have been waiting patiently for this for a while.
 
Thanks for the info. Is there any way to retrieve it if I don't use linux?
 
My guess is you would have to install cygwin, then execute the above script using the normal linux commands, although that install will be at least around 600-1000mbyte.
 
I'd probably stuff it up a anyway; I've tried copy and pasting the script, verbatim, into my Mint and Linpus netbooks' terminals, but I get error messages. I have no clue what the script says, so I can't even try to find the cause. :( That's why I was hoping for something using Windows (or DOS). :)
 
Make sure you have netcat installed on your linux.
You will also have to change the script a bit if you are using mint.

echo -e "saix\nsaix\nterminal length 0\nshow ip bgp community 5713:56225\nexit" | nc tpr-route-server.saix.net 23 | grep -P '\* i' |awk '{print $2}' | sed 's/i//' > saixroutes.txt

1. Just click on menu->terminal.
2. Type: sudo apt-get install netcat
3. Run the script you should be fine.
 
Last edited:
Also, you can install Putty on windows (www.putty.nl)

Telnet to tpr-route-server.saix.net
Username: saix
Password: saix

Now type: "terminal length 0" without the quotes
Then type: "show ip bgp community 5713:56225"

The local route table will scroll down in your window.

You can select with mouse.
Selected data is pasted to clipboard automatically.
Paste into whatever text editor you prefer.
 
Now you can get SAIX's version of the "Local-Only" routes. Seems like MWEB's routes are no longer there:D
Anyone else noticed how Telkom's SAIX name is now misleading (;);) ASA).

After all how can one claim to be the South African Internet eXchange if they are no longer locally connected to a sizable part of the SA Internet.

Maybe something like SAPIX would be more appropriate (P=partial) :p.
 
Last edited:
There are a bunch of routes without subnets, eg.:

213.193.42.0
216.0.48.0
216.0.50.0

Any ideas on how to interpret these ?
 
OK, so found this somewhere:

Some routers do not show the subnet mask when the network is announced
with the "natural size" (classful) netmask (193.x.x.0 -> Class C -> /24).

So:

137.158.0.0 (class B) : 137.158.0.0/16
216.0.48.0 (class C) : 216.0.48.0/24

Can anyone verify if this is correct ?
 
Top
Sign up to the MyBroadband newsletter
X