Afrihost Static IP Setup on a Cisco 800 Series

Stratt mind sharing the rest of that config? I have a cisco 867 and i'm pulling my hair out trying to get this to work.

Go back to school then... primary will do :D
Haai luddie <3
Also got some 837's lurking around and was trying this before I had my fibre installed.
Im still looking to get it working though.
 
IF ONLY school would help with this... I've checked my little CCNA books... twice, and nothing :< makes me a sad panda
 
Thanks to Stratt, this would be the basics to have your Axxess / AfriHost Static IP configured on a Cisco, with port forwarding.

Simply replace ***USERNAME*** with your Axxess / Afrihost username, ***PASSWORD*** with your password (naturally) and amend the 192.168.5.0 subnet where 192.168.5.254 is the gateway and 192.168.5.80 the machine you'd like to port forward to.

no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
no logging console
!
no aaa new-model
!
resource policy
!
clock timezone Harare 2
ip subnet-zero
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.5.1 192.168.5.99
ip dhcp excluded-address 192.168.5.151 192.168.5.254
!
ip dhcp pool sdm-pool
import all
network 192.168.5.0 255.255.255.0
default-router 192.168.5.254
domain-name r4c.co.za
dns-server 196.7.0.138 196.7.142.132
!
!
ip name-server 196.7.142.132
ip name-server 196.7.0.138
l2tp-class Axxess-L2TP
hidden
authentication
password 7 020E57571B
!
!
pseudowire-class Axxess-Static
encapsulation l2tpv2
protocol l2tpv2 Axxess-L2TP
ip local interface Dialer1
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Virtual-PPP1
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
ip tcp adjust-mss 1412
no cdp enable
ppp pap sent-username ***USERNAME*** password 0 ***PASSWORD***
pseudowire 196.30.121.50 1 pw-class Axxess-Static
!
interface Vlan1
ip address 192.168.5.254 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
!
interface Dialer1
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname ***USERNAME***
ppp chap password 0 ***PASSWORD***
ppp pap sent-username ***USERNAME*** password 0 ***PASSWORD***
!
ip classless
ip route 0.0.0.0 0.0.0.0 Virtual-PPP1
ip route 196.30.121.50 255.255.255.255 Dialer1
!
ip http server
ip http secure-server
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static udp 192.168.5.80 53 interface Virtual-PPP1 53
ip nat inside source static tcp 192.168.5.80 22 interface Virtual-PPP1 22
!
access-list 1 remark ACL Category=2
access-list 1 permit 192.168.5.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input ssh
!
scheduler max-task-time 5000
ntp clock-period 17175011
ntp server 196.2.45.66 source Dialer1 prefer
end
 
This might also help. Found it on the Axxess support page https://www.axxess.co.za/help.php

This is a basic example of setting up port forwarding on a Billion 7402 via the cli.

[user]# telnet 192.168.1.254
Trying 192.168.1.254...
Connected to 192.168.1.254.
Escape character is '^]'.
Login: admin <- same login as your webinterface
Password: *****
Login successful.
admin> nat status <- to get your l2tp interface name
NAT enabled on:
ID | Name | Interface | Type
------------------------------------------
1 | nat1 | ipwan | internal
2 | @nat_pppdevice16 | @ip_pppdevice16 | internal
------------------------------------------
admin> nat add globalpool test1 @ip_pppdevice16 internal 105.208.0.9 endaddress 105.208.0.9 <- make the billion aware of that ip, the "test1" can be any name

admin> nat add resvmap map1 interfacename @ip_pppdevice16 192.168.1.100 tcp 80 80 80 80 <- this is the actual port forwarding put into place specify to what ip address , protocol, (start port, end port) for the static ip, (start port, end port) for internal server

admin> system config save
 
Thanks to Stratt, this would be the basics to have your Axxess / AfriHost Static IP configured on a Cisco, with port forwarding.

Simply replace ***USERNAME*** with your Axxess / Afrihost username, ***PASSWORD*** with your password (naturally) and amend the 192.168.5.0 subnet where 192.168.5.254 is the gateway and 192.168.5.80 the machine you'd like to port forward to.

no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
no logging console
!
no aaa new-model
!
resource policy
!
clock timezone Harare 2
ip subnet-zero
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.5.1 192.168.5.99
ip dhcp excluded-address 192.168.5.151 192.168.5.254
!
ip dhcp pool sdm-pool
import all
network 192.168.5.0 255.255.255.0
default-router 192.168.5.254
domain-name r4c.co.za
dns-server 196.7.0.138 196.7.142.132
!
!
ip name-server 196.7.142.132
ip name-server 196.7.0.138
l2tp-class Axxess-L2TP
hidden
authentication
password 7 020E57571B
!
!
pseudowire-class Axxess-Static
encapsulation l2tpv2
protocol l2tpv2 Axxess-L2TP
ip local interface Dialer1
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Virtual-PPP1
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
ip tcp adjust-mss 1412
no cdp enable
ppp pap sent-username ***USERNAME*** password 0 ***PASSWORD***
pseudowire 196.30.121.50 1 pw-class Axxess-Static
!
interface Vlan1
ip address 192.168.5.254 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1412
!
interface Dialer1
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap pap callin
ppp chap hostname ***USERNAME***
ppp chap password 0 ***PASSWORD***
ppp pap sent-username ***USERNAME*** password 0 ***PASSWORD***
!
ip classless
ip route 0.0.0.0 0.0.0.0 Virtual-PPP1
ip route 196.30.121.50 255.255.255.255 Dialer1
!
ip http server
ip http secure-server
ip nat inside source list 1 interface Dialer1 overload
ip nat inside source static udp 192.168.5.80 53 interface Virtual-PPP1 53
ip nat inside source static tcp 192.168.5.80 22 interface Virtual-PPP1 22
!
access-list 1 remark ACL Category=2
access-list 1 permit 192.168.5.0 0.0.0.255
dialer-list 1 protocol ip permit
no cdp run
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input ssh
!
scheduler max-task-time 5000
ntp clock-period 17175011
ntp server 196.2.45.66 source Dialer1 prefer
end

Thank you Stratt and Stormy, worked a CHARM on Axxess!!
 
Top
Sign up to the MyBroadband newsletter
X