South African IP Address Ranges

firefishy

Member
Joined
Mar 15, 2004
Messages
24
Reaction score
0
Location
.
Others may be interested in the following. This is my own list of South African IP addresses I compiled recently. Use it in your proxy exclude rules. Great for those damn sites in South Africa whos domain do not end with .za, .za.net, .za.org or .za.com. (Or for those ZAs that are hosted outside the South African IP address space.)

The list is a little "dirty" but still works well. Names as per ARIN registrations. [http://www.arin.net/]
Code:
SAIX
196.4.79.0/24
196.15.128.0/17
196.25.0.0/16
196.25.63.0/24
196.43.0.0/18
196.43.0.0/22
196.43.8.0/24
196.43.9.0/24
196.43.30.0/23
196.43.32.0/19
198.54.202.0/24
198.54.203.0/24, 198.54.204.0/22, 198.54.208.0/23

Telkom SA Limited
165.143.0.0/16
165.144.0.0/14
165.145.0.0/16
165.146.0.0/16
165.147.0.0/16
165.148.0.0/15
165.148.0.0/16
165.149.0.0/16
198.54.247.0/24
198.54.248.0/24

Telkom
155.239.0.0/16
165.165.0.0/16
196.15.246.0/23

The Internet Solution
196.14.0.0/16
196.23.0.0/16
196.26.0.0/16
196.33.0.0/16
196.34.0.0/15
196.36.0.0/15 196.38.0.0/16 196.39.0.0/17

Dimension Data (Pty) Ltd.
152.110.0.0/16

Dimension Data
165.180.0.0/16
168.128.0.0/16
168.142.0.0/16
168.209.0.0/16, 168.210.0.0/16
196.1.8.0/22, 196.1.12.0/23, 196.1.14.0/24
196.1.16.0/21, 196.1.24.0/23
196.1.32.0/20, 196.1.48.0/22
196.1.74.0/24
196.1.75.0/24, 196.1.76.0/22, 196.1.80.0/24
196.1.81.0/24
196.1.82.0/23, 196.1.84.0/23, 196.1.86.0/24
196.1.103.0/24
196.12.16.0/20
196.25.170.192/26
200.16.8.0/21

UNINET Project
192.96.0.0/16
192.96.94.0/24
192.96.95.0/24
196.6.0.0/16
196.10.0.0/16
196.11.0.0/16
196.13.0.0/16
196.21.0.0/16
196.24.0.0/16
198.54.0.0/16

Mobile Telephone Network
196.10.101.0/24
196.11.56.0/23
196.11.239.0/24, 196.11.240.0/22, 196.11.244.0/23, 196.11.246.0/24
196.13.228.0/22

MTN Network Solutions (Pty) Ltd
196.41.160.0/20
209.212.96.0/19

Vodacom
196.6.123.0/24, 196.6.124.0/22, 196.6.128.0/23, 196.6.130.0/24
196.15.151.0/24
196.15.152.0/24
196.15.177.0/24
196.15.198.128/26
196.15.227.0/24
196.25.101.0/24
196.41.128.0/19

Datapro
196.41.0.0/19

NETSURIT
62.200.132.0/24

UUNET Internet Africa
66.8.0.0/17
196.7.0.0/16
196.22.64.0/18
196.22.82.0/24
196.22.83.0/24
196.22.84.0/22
196.30.0.0/16
196.31.0.0/16

Netactive
196.22.160.0/19
196.44.192.0/20

Rand Afrikaans University
152.106.0.0/16

University of Natal
146.230.0.0/16
196.10.121.0/24
196.21.79.64/28

University of the Witwatersrand
146.141.0.0/16
192.84.244.0/24

University of Port Elizabeth
192.96.15.0/24
192.96.247.0/24
192.96.248.0/24
192.96.249.0/24
196.13.115.0/24
196.13.118.0/24

UNINET Project
192.96.0.0/16
196.6.0.0/16
196.10.0.0/16
196.21.0.0/16

M-WEB
196.2.16.0/20
196.2.32.0/19
196.2.128.0/19
196.30.32.0/21

University of Cape Town
137.158.0.0/16
192.48.253.0/24
196.13.250.0/24
196.21.0.0/19

Rhodes University
146.231.0.0/16

InfoSat (Pty) Ltd 
66.18.64.0/19
196.26.84.0/22
196.34.234.0/23
196.35.170.0/23
196.36.97.0/24
196.36.98.0/23
196.36.109.0/24
196.37.34.0/23
196.37.192.0/24
196.37.237.0/24
196.38.82.0/24
196.38.110.0/23

ICOZA Pty Ltd
168.210.128.0/22
168.210.192.0/23
168.210.208.0/23
168.210.224.0/21
168.210.232.0/24
168.210.255.0/24

Discovery Health
196.6.184.0/24

Times Media Limited
196.4.87.0/24, 196.4.88.0/22, 196.4.92.0/23

Olivetti Systems & Networks Africa (Pty) Ltd (AKA Posix)
160.124.0.0/16
192.96.26.0/24
192.96.27.0/24
192.96.28.0/24
192.96.29.0/24
192.96.30.0/24
192.96.31.0/24

Port Elizabeth Technikon
192.96.7.0/24
192.96.8.0/24
192.96.142.0/24
196.10.203.0/24
196.21.192.0/21
198.54.68.0/24
198.54.155.0/24

First National Bank
196.10.112.0/22, 196.10.116.0/23

First Rand Bank
196.11.125.0/24, 196.11.126.0/23, 196.11.128.0/22, 196.11.132.0/23, 196.11.134.0/24

UniForum S.A.
206.223.136.0/24

Adept Internet
196.25.67.0/24

Standard Bank Investment Corporation
166.85.0.0/16
196.8.0.0/16

ABSA
196.25.177.0/24

ABSA Bank
169.202.0.0/16

Bankmed
196.22.0.0/22

Aztec Information Management
196.3.224.0/19

Potchefstroom University for Christian Higher Education
143.160.0.0/16

University of Stellenbosch
146.232.0.0/16

University of the Western Cape
192.102.9.0/24
196.11.98.0/24
196.11.235.0/24
196.21.44.0/22
198.54.234.0/24


Tertiary Education Network
196.21.79.48/28
196.21.79.80/28

Q Data Internet
196.29.128.0/19

Storm Internet (PTY) Ltd
196.22.192.0/19, 196.22.224.0/20

Johnnic e-Ventures
196.44.0.0/19

Network Information Services
196.28.5.0/24

Investec Bank Ltd
196.4.0.0/20, 196.4.16.0/22

International Computers (SA) (Pty) Ltd
163.203.0.0/16
196.6.251.0/24
198.54.141.0/24

Cape Provincial Administration
163.195.0.0/16

Nasionale Pers
152.111.0.0/16

Liberty Life Association of Africa
163.202.0.0/16

University of Zululand
196.11.136.0/21, 196.11.144.0/23
196.21.80.0/21

University of South Africa
163.200.0.0/16
192.96.2.0/24

University of Pretoria
137.215.0.0/16

Ariviakom (Pty) Ltd
196.9.0.0/16

Eskom
147.110.0.0/16
196.3.177.64/27

CONNECTIVITY-TECHN
196.15.166.128/25

South African Broadcasting Corporation
155.234.0.0/16

South Africa Reserve Bank
196.29.240.0/20

Global Internet Access
fixme OrgID:      GTEC
209.203.0.0/18

Iscor Limited, Vanderbijlpark
156.8.0.0/16

KZN Gambling Board
196.33.43.160/28

Vista University
196.4.77.0/24
196.13.1.0/24, 196.13.2.0/23, 196.13.4.0/22, 196.13.8.0/21, 196.13.16.0/21, 196.13.24.0/22, 196.13.28.0/23, 196.13.30.0/24

Engen Petroleum Ltd
168.210.100.0/24

Siemens Business Services
196.44.64.0/19

cmcnetworks
69.67.32.0/20
168.210.94.0/23
196.35.38.0/23

Internet Office Parks
209.212.110.0/24

Utrade Securities (Pty) Ltd.
196.25.165.128/27

Peer-Point Solutions (Pty) Ltd
64.110.86.176/28
196.4.100.0/22, 196.4.104.0/21, 196.4.112.0/22

East Coast Access
196.15.255.192/26

Enjoy...
 
hey
i most probaly sound like a noobi but what does this mean
165.149.0.0/16 <------
the /16 or /23 or/24 ect
what exactly does that mean thx
 
I think it means its either 165.149.0.0 or 165.149.0.16?

Wow, I thought we only had 2 prefixes here in SA. Guess im wrong. :/
 
Dont think so...

Think its apart of
Classless InterDomain Routing

address format: a.b.c.d/x, where x is # bits in
network portion of address

Simply its a method to aggregate Class C addresses....

Dont worry if you cant understand it... I wrote an exam in this, and I still dont understand it...lol :confused:
 
the /X refers to the subnet. Its a pretty simple concept once you understand it. Its not only for class C addresses - can be for any range.

Cisco 101 :)
So 10.3.4.0/24 would 10.3.4.0 with a subnet of 255.255.255.0
(ie 1111 1111. 1111 1111. 1111 1111. 0000 0000 = 255.255.255.0)
Using this you can then find out your range of usable IP addresses - (0 to 255, 0 being network, 255 being broadcast, so your actual usable range is 1-254)

Sim a /22 would be 1111 1111. 1111 1111. 1111 1100. 0000 = 255.255.252.0
 
the /X refers to the subnet. Its a pretty simple concept once you understand it. Its not only for class C addresses - can be for any range.

Cisco 101 :)
So 10.3.4.0/24 would 10.3.4.0 with a subnet of 255.255.255.0
(ie 1111 1111. 1111 1111. 1111 1111. 0000 0000 = 255.255.255.0)
Using this you can then find out your range of usable IP addresses - (0 to 255, 0 being network, 255 being broadcast, so your actual usable range is 1-254)

Sim a /22 would be 1111 1111. 1111 1111. 1111 1100. 0000 = 255.255.252.0

therefore
10.2.4.0/24 would include all the IPs from 10.2.4.0 - 10.2.4.255

similarly 196.34.0.0/16 would be all the IPs 196.34.0.0 - 196..34.255.255

:)
 
wow you guys lost me T_T
btw does any1 have a uptodate list cause im want to create a list of ips that are not south African for a local server
 
thx alot dude i think those 2 links will help me alot

**woot the ipmaster is the list i need thx alot
 
Have u tried this site? http://www.hostip.info/

It is a user community database of IP locations. Each time I connect I go there to check it knows the location I am in. The more people who do this the more complete it gets...

Then you can download a neat plugin for Firefox (from the same site) which shows you country and city when you hover over any link.
 
Procedure for adding routes to a PPP connection

Hi,

I downloaded the IP ranges from

http://www.proxyserverprivacy.com/ipaddress_range.php
http://www.ipmaster.org/ranges.php?cc=ZA

in their current format, and used the *nix utility called netmask to convert them to CIDR ranges which are commonly used for specifying routes.

Firstly, edit the ranges so that they are on one line each, separated by a colon ':' like so:

192.168.0.0:192.168.255.255

Then run the following command which converts them to CIDR:

Code:
for i in `cat ranges.txt`
do
  netmask -c $i
done

Cat the output of that to /etc/ppp/za-routes.txt

Now, save the following to /etc/ppp/ip-up.d/routes

Code:
#!/bin/sh -e
for ADDR in `cat /etc/ppp/za-routes.txt`
do
    HOST=${ADDR%/32}

    if [ "$HOST" = "$ADDR" ]; then
        route add -net $ADDR dev $PPP_IFACE
    else
        route add $HOST dev $PPP_IFACE
    fi
done

Make the file executable, and it will be executed each time a PPP interface comes up, adding routes for local networks to point to the new interface.

You may have to weed out some addresses which route the wrong way, where it's better to go via your Telkom or international IS line.

For me, this is perfect since I use a Telkom line for International and an IS line for local.

Have fun!
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X