Blogs
Trixbox Auckland Dial Plan
Submitted by Admin on Sun, 06/13/2010 - 21:02Dial Plan for Numbers in the Auckland Free calling area including 0800 and 0508 numbers.
For any other numbers you need to Dial 1 first to get to get an outside line.
Current as of April 2010, Sourced from http://www.nad.org.nz/09GeographicalCodes.php
Tested working with Trixbox and Slingshot iTalk as my VoIP service provider.
05xx.
080x.
1|.
210xxxx
211xxxx
212xxxx
213xxxx
214xxxx
215xxxx
25xxxxx
26xxxxx
27xxxxx
2800xxx
2801xxx
2802xxx
2803xxx
2804xxx
2805xxx
2806xxx
291xxxx
292xxxx
294xxxx
295xxxx
296xxxx
297xxxx
298xxxx
299xxxx
30xxxxx
3110xxx
3111xxx
3112xxx
3113xxx
3114xxx
3119xxx
33xxxxx
35xxxxx
36xxxxx
37xxxxx
41xxxxx
44xxxxx
450xxxx
451xxxx
473xxxx
475xxxx
476xxxx
477xxxx
478xxxx
479xxxx
48xxxxx
52xxxxx
53xxxxx
549xxxx
550xxxx
57xxxxx
580xxxx
581xxxx
582xxxx
583xxxx
585xxxx
588xxxx
589xxxx
62xxxxx
630xxxx
631xxxx
632xxxx
633xxxx
634xxxx
635xxxx
636xxxx
638xxxx
639xxxx
6500xxx
6501xxx
6502xxx
6503xxx
6504xxx
6505xxx
6506xxx
810xxxx
811xxxx
812xxxx
813xxxx
814xxxx
815xxxx
816xxxx
817xxxx
818xxxx
820xxxx
822xxxx
825xxxx
826xxxx
827xxxx
828xxxx
829xxxx
83xxxxx
845xxxx
846xxxx
847xxxx
849xxxx
880xxxx
8810xxx
8811xxx
8812xxx
8813xxx
8818xxx
8819xxx
887xxxx
889xxxx
903xxxx
905xxxx
908xxxx
909xxxx
912xxxx
913xxxx
914xxxx
915xxxx
916xxxx
917xxxx
918xxxx
919xxxx
920xxxx
921xxxx
922xxxx
923xxxx
924xxxx
925xxxx
926xxxx
928xxxx
9290xxx
9291xxx
9292xxx
9293xxx
9294xxx
940xxxx
941xxxx
9476xxx
948xxxx
949xxxx
950xxxx
951xxxx
952xxxx
962xxxx
963xxxx
964xxxx
965xxxx
966xxxx
967xxxx
968xxxx
969xxxx
970xxxx
9730xxx
9731xxx
9732xxx
9734xxx
9735xxx
9736xxx
9737xxx
9738xxx
9739xxx
9740xxx
9741xxx
9742xxx
9743xxx
9744xxx
9745xxx
9749xxx
975xxxx
976xxxx
977xxxx
978xxxx
979xxxx
980xxxx
984xxxx
985xxxx
Cisco DMVPN Dynamic Multipoint VPN with RIP Routing
Submitted by Admin on Sun, 06/13/2010 - 01:24Notes:
-
Routers have been setup for NAT with access-lists, conventional NAT without ACL's will not work as well when DMVPN is enabled as all VPN traffic will the NATed.
-
CDP has been enabled for easy diagnostics, it does not need to be enabled
-
All networks have been enabled for VPN access - Networks hanging off the VPN will be able to communicate also. (i.e. Loopback 0)
-
Dialer 0 interface not shown in configuration.
-
"crypto isakmp key somerandomkey address 0.0.0.0 0.0.0.0" (key must be kept the same on all sites)
-
"ip nhrp network-id 1234" (key must be kept the same on all sites)
-
"tunnel key 123456" (key must be kept the same on all sites)
-
"tunnel mode gre multipoint" (must be enabled on all sites for direct communication between spokes otherwise it will route through the Hub site with "tunnel mode gre ip" and "tunnel destination 123.123.1.1" commands)
HUB Router:
!
crypto key generate rsa general-keys modulus 2048
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
crypto isakmp key somerandomkey address 0.0.0.0 0.0.0.0
crypto isakmp invalid-spi-recovery
!
crypto ipsec profile vpnprof
set transform-set trans2
!
crypto ipsec transform-set trans2 esp-des esp-md5-hmac
mode transport
!
interface Tunnel0
description VPN Site 2 Site Tunnel
ip address 172.18.1.1 255.255.255.0
no ip redirects
ip mtu 1400
ip nhrp authentication Key1
ip nhrp map multicast dynamic
ip nhrp network-id 1234
ip nhrp holdtime 600
ip inspect firewall out
no ip split-horizon
cdp enable
tunnel source Dialer0
tunnel mode gre multipoint
tunnel key 123456
tunnel path-mtu-discovery
tunnel protection ipsec profile vpnprof
no shutdown
!
interface vlan1
ip address 10.1.0.1 255.255.0.0
ip nat inside
no ip directed-broadcast
exit
!
ip address 172.17.1.1 255.255.255.0
!
interface Tunnel0
router rip
version 2
network 10.0.0.0
network 172.18.0.0
default-information originate
no auto-summary
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip nat inside source route-map NONAT interface Dialer0 overload
!
route-map NONAT permit 1
match ip address 105
!
access-list 105 remark Traffic to NAT
access-list 105 deny ip 10.1.0.0 0.0.255.255 172.17.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 172.17.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 172.17.0.0 0.0.255.255
access-list 105 deny ip 172.17.0.0 0.0.255.255 172.17.0.0 0.0.255.255
access-list 105 deny ip 172.18.0.0 0.0.255.255 172.17.0.0 0.0.255.255
access-list 105 deny ip 10.1.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 deny ip 172.17.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 deny ip 172.18.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 deny ip 10.1.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 172.17.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 172.18.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 10.1.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 deny ip 172.17.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 deny ip 172.18.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 permit ip 10.0.0.0 0.255.255.255 any
access-list 105 permit ip 172.17.0.0 0.0.255.255 any
access-list 105 permit ip 172.18.0.0 0.0.255.255 any
Vlan 1 has the IP address of 10.1.0.1/16
SpokeA Router:
!
crypto key generate rsa general-keys modulus 2048
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
crypto isakmp key somerandomkey address 0.0.0.0 0.0.0.0
crypto isakmp invalid-spi-recovery
!
crypto ipsec profile vpnprof
set transform-set trans2
!
crypto ipsec transform-set trans2 esp-des esp-md5-hmac
mode transport
!
interface Tunnel0
ip address 172.18.1.2 255.255.255.0
no ip redirects
ip mtu 1400
ip inspect firewall out
ip nhrp authentication Key1
ip nhrp map multicast 123.123.1.1
ip nhrp network-id 1234
ip nhrp holdtime 300
ip nhrp nhs 172.18.1.1
cdp enable
tunnel source Dialer0
tunnel mode gre multipoint
tunnel key 123456
tunnel path-mtu-discovery
tunnel protection ipsec profile vpnprof
no shutdown
!
interface vlan1
ip address 10.20.0.1 255.255.0.0
ip nat inside
no ip directed-broadcast
exit
!
router rip
version 2
network 10.0.0.0
network 172.18.0.0
default-information originate
no auto-summary
!
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 10.1.0.0 255.255.0.0 Tunnel0
!
ip nat inside source route-map NONAT interface Dialer0 overload
!
route-map NONAT permit 1
match ip address 105
!
access-list 105 remark Traffic to NAT to Internet Only
access-list 105 deny ip 10.20.0.0 0.0.255.255 10.1.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 10.22.0.0 0.0.255.255
access-list 105 deny ip 10.20.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 permit ip 10.20.0.0 0.0.255.255 any
Dialer 0 has the external IP address of 123.123.2.1/24 for this example
Vlan 1 has the IP address of 10.20.0.1/16
SpokeB Router:
Hostname SpokeB
!
crypto key generate rsa general-keys modulus 2048
!
crypto isakmp policy 1
encr 3des
authentication pre-share
group 2
crypto isakmp key somerandomkey address 0.0.0.0 0.0.0.0
crypto isakmp invalid-spi-recovery
!
crypto ipsec profile vpnprof
set transform-set trans2
!
crypto ipsec transform-set trans2 esp-des esp-md5-hmac
mode transport
!
interface Tunnel0
ip address 172.18.1.3 255.255.255.0
no ip redirects
ip mtu 1400
ip inspect firewall out
ip nhrp authentication Key1
ip nhrp map 172.18.1.1 123.123.1.1
ip nhrp map multicast 123.123.1.1
ip nhrp network-id 1234
ip nhrp holdtime 300
ip nhrp nhs 172.18.1.1
cdp enable
tunnel source Dialer0
tunnel mode gre multipoint
tunnel key 123456
tunnel path-mtu-discovery
tunnel protection ipsec profile vpnprof
no shutdown
!
interface vlan1
ip address 10.22.0.1 255.255.0.0
ip nat inside
no ip directed-broadcast
exit
!
router rip
version 2
network 10.0.0.0
network 172.18.0.0
default-information originate
no auto-summary
!
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 10.1.0.0 255.255.0.0 Tunnel0
!
ip nat inside source route-map NONAT interface Dialer0 overload
!
route-map NONAT permit 1
match ip address 105
!
access-list 105 remark Traffic to NAT to Internet Only
access-list 105 deny ip 10.22.0.0 0.0.255.255 10.1.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 10.20.0.0 0.0.255.255
access-list 105 deny ip 10.22.0.0 0.0.255.255 172.18.0.0 0.0.255.255
access-list 105 permit ip 10.22.0.0 0.0.255.255 any
Dialer 0 has the external IP address of 123.123.3.1/24
Vlan 1 has the IP address of 10.22.0.1/16
MRTG Configuration for HP LaserJet Pages Printed
Submitted by Admin on Sat, 06/12/2010 - 22:27Example: HP LaserJet 2420 Pages Printed
MRTG Configuration for HP LaserJet Toner Remaining
Submitted by Admin on Sat, 06/12/2010 - 22:22Example: HP LaserJet 2420 Toner Replacement
MRTG Configuration for APC UPS
Submitted by Admin on Sat, 06/12/2010 - 22:18After having a bit of trouble trying to work out how to Monitor my APC 1400RM UPS I eventually worked out how to do it.
Examples:
- Battery Temperature
- Battery Capacity & Load
- Input & Output Frequency
- Last Reason On Battery
- Minimum & Maximum line voltage
