Afrihost Static IP Setup On Cisco Router

Networkace

New Member
Joined
Jul 3, 2014
Messages
6
Reaction score
0
Hi

Can anyone that knows anything about cisco routers please help (cause NOBODY at afrihost can) I have a 800 series cisco router and I am trying to setup my static ip with L2TP I have got to a point where the router picks up my static ip on the virtual interface but is still using my dynamic ip so I am missing a command or my routing is wrong.

http://i.imgur.com/ldmkO4I.jpg?1 <<<<< IMAGE


And here is my running config:

Current configuration : 2691 bytes
!
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot system flash c880data-universalk9-mz.151-1.T2.bin
boot-end-marker
!
!
no aaa new-model
!
memory-size iomem 10
!
!
ip source-route
!
!
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.113.1
!
ip dhcp pool LAN
network 192.168.113.0 255.255.255.0
default-router 192.168.113.1
dns-server 196.7.7.7
!
!
ip cef
no ipv6 cef
l2tp-class AFRIHOST-L2TP
hidden
authentication
password 7 020E57571B
!
!
!
multilink bundle-name authenticated
license udi pid CISCO887G-K9 sn FCZ1503C24F
!
!
archive
log config
hidekeys
!
!
!
!
controller Cellular 0
!
pseudowire-class AFRIHOST-STATIC
encapsulation l2tpv2
protocol l2tpv2 AFRIHOST-L2TP
ip local interface Dialer1
!
!
!
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
!
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
ppp pap sent-username xxxxxxxxxxxxxxxxxx password 0 xxxxxxxxxxxxxxxx
no cdp enable
pseudowire 196.30.121.50 1 pw-class AFRIHOST-STATIC
!
interface Cellular0
no ip address
encapsulation ppp
!
interface Vlan1
ip address 192.168.113.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname xxxxxxxxxxxxxxxxxx
ppp chap password 0 xxxxxxxxxxxxxx
ppp pap sent-username xxxxxxxxxxxxxxxx password 0 xxxxxxxxxxxx
!
ip forward-protocol nd
no ip http server
no 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
ip route 0.0.0.0 0.0.0.0 Virtual-PPP1
ip route 192.168.113.0 255.255.255.0 Virtual-PPP1
ip route 196.30.121.50 255.255.255.255 Dialer1
!
access-list 1 permit 192.168.10.0 0.0.0.255
access-list 1 permit 192.168.113.0 0.0.0.255
access-list 1 permit 192.168.5.0 0.0.0.255
dialer-list 1 protocol ip permit
!
!
!
!
!
control-plane
!
!

!
scheduler max-task-time 5000
end


Any help would be appreciated :)
 
Last edited:
Can you do a "show ip route" and a "show ip int brief"


Router#show ip int brie
Interface IP-Address OK? Method Status Prot
ocol
ATM0 unassigned YES NVRAM up up

ATM0.1 unassigned YES unset up up

Cellular0 unassigned YES NVRAM down down

Dialer1 105.210.89.167 YES IPCP up up

FastEthernet0 unassigned YES unset up up

FastEthernet1 unassigned YES unset up down

FastEthernet2 unassigned YES unset up up

FastEthernet3 unassigned YES unset up up

NVI0 unassigned YES unset administratively down down

Virtual-Access1 unassigned YES unset up up

Virtual-PPP1 105.208.16.143 YES IPCP up up

Vlan1 192.168.113.1 YES NVRAM up up





Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S* 0.0.0.0/0 is directly connected, Virtual-PPP1
105.0.0.0/32 is subnetted, 3 subnets
C 105.208.16.143 is directly connected, Virtual-PPP1
C 105.210.89.167 is directly connected, Dialer1
C 105.237.67.65 is directly connected, Dialer1
192.168.113.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.113.0/24 is directly connected, Vlan1
L 192.168.113.1/32 is directly connected, Vlan1
196.7.106.0/32 is subnetted, 1 subnets
C 196.7.106.11 is directly connected, Virtual-PPP1
196.30.121.0/32 is subnetted, 1 subnets
S 196.30.121.50 is directly connected, Dialer1
 
Ok, the interfaces are up and the default route is pointing the virtual-ppp1.
can you run the following two commands? just want to see where it breaks.

traceroute 8.8.8.8 source 192.168.113.1 numeric probe 1
traceroute 8.8.8.8 source 105.208.16.143 numeric probe 1
 
Ok, the interfaces are up and the default route is pointing the virtual-ppp1.
can you run the following two commands? just want to see where it breaks.

traceroute 8.8.8.8 source 192.168.113.1 numeric probe 1
traceroute 8.8.8.8 source 105.208.16.143 numeric probe 1



Router#traceroute 8.8.8.8 source 192.168.113.1 numeric probe 1

Type escape sequence to abort.
Tracing the route to 8.8.8.8

1 196.7.106.11 48 msec
2 *
3 196.30.1.7 44 msec
4 196.44.31.98 208 msec
5 196.44.31.254 208 msec
6 196.44.31.114 204 msec
7 209.212.111.187 208 msec
8 209.212.99.13 204 msec
9 216.239.47.221 224 msec
10 216.239.43.173 208 msec
11 8.8.8.8 208 msec




Router#traceroute 8.8.8.8 source 105.208.16.143 numeric probe 1

Type escape sequence to abort.
Tracing the route to 8.8.8.8

1 196.7.106.11 44 msec
2 *
3 196.30.1.7 44 msec
4 196.44.31.98 244 msec
5 196.44.31.254 244 msec
6 196.44.31.114 244 msec
7 209.212.111.187 244 msec
8 209.212.99.13 244 msec
9 216.239.47.219 240 msec
10 216.239.43.159 240 msec
11 8.8.8.8 244 msec
 
I think I see the problem,
ip nat inside source list 1 interface Dialer1 overload

issue these two commands then try again:
no ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 1 interface Virtual-PPP1 overload

let me know if it works...
 
I think I see the problem,
ip nat inside source list 1 interface Dialer1 overload

issue these two commands then try again:
no ip nat inside source list 1 interface Dialer1 overload
ip nat inside source list 1 interface Virtual-PPP1 overload

let me know if it works...


Thank you so much it worked like a charm....it's using my static ip now
 
I was going to suggest that you remove your MD5 password and cisco license key from your original post, but I see that Google has already indexed it . . .

I suggest you change your enable password . . . Oh, and your other password is "h3lp".
 
I was going to suggest that you remove your MD5 password and cisco license key from your original post, but I see that Google has already indexed it . . .

I suggest you change your enable password . . . Oh, and your other password is "h3lp".

Oh, and leaving rmerun in for the console is also not a great idea. Yes, that was me logging in to your router . . . .
 
Glad it worked... you were using the Dialer's IP address as your NAT IP.
 
Top
Sign up to the MyBroadband newsletter
X