Static IP lost after reload

Our VPN router works with a dynamic address but we need to assign a static address. We change the Dialer0 int from ip address negotiated to ip address 123.123.123.123 255.255.255.248 which works and all tunnels come up again and internet connection is maintained. Following a reload we loose all internet connection, even though the sh ip int brief gives up up on all ATM/Dialer interfaces.

So to summaries works on dynamic IP, we change to static IP and it still works, reload the router and we loose internet connection.

Pulling my hair out on this one.... Have included relevant config:

interface ATM0 no ip address no ip route-cache cef no ip route-cache no ip mroute-cache no atm ilmi-keepalive dsl operating-mode auto ! interface ATM0.1 point-to-point no ip route-cache no snmp trap link-status pvc 8/35 encapsulation aal5mux ppp dialer pppoe-client dial-pool-number 1 ! interface Dialer0 ip address 123.123.123.123 255.255.255.248 xxxxxxxx ip mtu 1492 ip nat outside xxxxxxxx ip virtual-reassembly encapsulation ppp no ip route-cache cef no ip route-cache no ip mroute-cache dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname xxxxxxx@xxxxxxxx ppp chap password 7 xxxxxxxxxxx ppp pap sent-username xxxxxx@xxxxxxxpassword 7 xxxxxxxx crypto map xxx ! ip route 0.0.0.0 0.0.0.0 Dialer0

Can anyone help please ?????

Reply to
Podzol
Loading thread data ...

Greetings,

If you are truly using a PPP connection, then try using ip address negotiated instead. This is what I use and my ISP assigns the same static address every time.

Cheers...................pk.

Reply to
Peter

Andrew,

Make sure you save the config after you make a change (use "wr mem" command). Also, check if your boot config-register set to proper value (it should be

0x2102, and if it's not, do the command "conf 0x2102 in the configuration mode).

Good luck,

Mike CCNP, CCDP, CCSP, Cisco Voice, MCSE W2K, MCSE+I, Security+, etc. CCIE R&S (in progress), CCIE Voice (in progress)

------ Headset Adapters for Cisco IP Phones

formatting link
formatting link

Reply to
headsetadapter.com

What you are doing seems OK to me.

I have a static address and I can EITHER use ip address neg or put the address in.

Have a look at debug ppp neg and maybe other deb ppp ...

If your ISP is doing something odd and requiring negotiation to be on for some reason you could consider

int di 0 ip add neg ip address 123.123.123.123 255.255.255.248 secondary

or

int di 0 ip address neg int lo 0 ip address 123.123.123.123 255.255.255.248

Remember that you do not need the "correct" address on point to point links for Routing to work as long as you are using interface "next hops" - let me call it.

You already have ip route 0.0.0.0 .0.0.0.0 di 0

and the ISP will have something equivalent at their end

ip route whatever-we-expect-on-the-other-side via our-subscribers-PVC

Reply to
Bod43

Andrew,

Another thing I suspect (but unfortunately cannot verify it right now) - probably Dialer interface never saved in the startup-config? It's not a "physical" interface, it's the interface, which appears after ATM PVC established. To verify this you may turn off your router, disconnect the DSL interface, and turn it on. Do you see Dialer0 interface right after reboot?

Good luck,

Mike CCNP, CCDP, CCSP, Cisco Voice, MCSE W2K, MCSE+I, Security+, etc. CCIE R&S (in progress), CCIE Voice (in progress)

------ Headset Adapters for Cisco IP Phones

formatting link
formatting link

Reply to
headsetadapter.com

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.