Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

WAN static no ISP

Dear All

I know who can help me to configure my cisco 892 router

want a static ip address assigned to the interface because

and I have no more internet on the router

because am working on my network academy for CCENT

Please help!

28 REPLIES
Purple

WAN static no ISP

Hi,

interface x/x

ip address x.x.x.x y.y.y.y      where x.x.x.x is the IP and y.y.y.y is the subnet mask

no shut

Regards.

Alain

Don't forget to rate helpful posts.
New Member

WAN static no ISP

okay I did
but can not connect to the Internet

New Member

WAN static no ISP

Do you have a default gateway pointing at the next hop router towards your ISP?

New Member

WAN static no ISP

yes I did make that can not connect to the Internet ?

Purple

WAN static no ISP

Hi,

From where can't you connect and how do you test connectivity?

Post your config and by the way you said you didn't have internet anymore in your first post and now you say you can't connect to internet ?

Regards.

Alain

Don't forget to rate helpful posts.
New Member

Re: WAN static no ISP

no I can not connect to the Internet

This is the running-config

Purple

WAN static no ISP

Hi,

is there a modem connected to Gigabit 0/0 ?

Can you ping 8.8.8.8 from the router ? if so can you  ping 8.8.8.8 from a wired client getting a dhcp address?

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: WAN static no ISP

yes the Gigabit 0/0 is connected to the modem

and the wired client, you get a dhcp

these are the data wired client

and can ping the router to 10.10.10.1

Purple

Re: WAN static no ISP

Hi,

you didn't answer this:

Can you ping 8.8.8.8 from the router ? if so can you  ping 8.8.8.8 from a wired client?

if not verify NAT is working: sh ip nat translation

Regards.

Alain.

Don't forget to rate helpful posts.
New Member

Re: WAN static no ISP

no I can not ping from the router to 8.8.8.8

nor from the wired client PC to 8.8.8.8
This configuration is NAT

Purple

WAN static no ISP

Hi,

access-list 199 permit icmp any any

no service timestamp debug

logging console debug

do debug ip packet detail 199

do ping 84.197.160.1 rep 2

Post the output of the debug

Regards.

Alain

Don't forget to rate helpful posts.
New Member

Re: WAN static no ISP

I did that and this is the output

Silver

WAN static no ISP

To direct traffic as you are suggesting you need an exit interface to send the traffic to.

If you are sitting on FastEthernet 0/0 with an IP of 10.0.0.1 255.255.255.0

You will need an exit interface such as FastEthernet 0/1 with an IP address of 192.168.0.1 255.255.255.0

You would then create a static route like ip route 0.0.0.0 0.0.0.0 FastEthernet 0/1  (or you need a next hop address which would be the far end on the other side of the exit interface)

This will take all traffic and send it out FastEthernet 0/1

This is just an example.  To customize for you we need to know some more specifics on what you are trying to do.

Bronze

Re: WAN static no ISP

Maybe if you remove the default gateway and put default static pointing to the default gateway.

ip route 0.0.0.0 0.0.0.0 84.x.x.x

Hope this helps

Eugen

New Member

Re: WAN static no ISP

I did and still does not work

Purple

WAN static no ISP

Hi,

could you post a topology diagram.

Regards.

Alain

Don't forget to rate helpful posts.
New Member

WAN static no ISP

did it have a static route to the ISP router Added

ip route 0.0.0.0 0.0.0.0 84.197.160.1

but you can also do this for another wan interface?

Purple

WAN static no ISP

Hi,

I don't understand what you mean.

Could you also answer my previous question which is post a topology diagram.

Regards.

Alain

Don't forget to rate helpful posts.
Bronze

WAN static no ISP

Did you do a traceroute to see how far you can go?

Does your remote connection has a route to your network?

Eugen

New Member

Re: WAN static no ISP

the router is connected to a cable / modem, the router will give a static ip address

after a time I was no more internet, if I put a static ip address

when it sends a diagram how it looks the router is connected to a cable / modem, the router will give a static ip address

after a time I was no more internet, if I put a static ip address

when it sends a diagram how it looks

Bronze

WAN static no ISP

Your vlan 2 interface has a public ip address, but is configured as an inside interface, why?

Your dhcp pool say "ip dhcp pool Wireless-CISCO_R1_2.4GHZ_Private" , but you use a public ip???

Also did you try to disable ipv6 configs for testing?

Eugen

New Member

WAN static no ISP

vlan 2 has private ip address that is used for wireless clients

the dhcp pool for a private client ip address to give

and will disable ipv6

Bronze

WAN static no ISP

Your vlan 2 has public ip address 20.20.x.x and the dhcp pool is public network as well.

The private address space is specified in this page

http://en.wikipedia.org/wiki/Private_network

Eugen

New Member

WAN static no ISP

I have the ip address of vlan 2 changes to 10.20.10.1 255.255.255.0

and the ip dhcp pool Wireless CISCO_R1_2.4GHZ_Private

has a range of 10.20.10.0 but the problem persists after a few hours I just do not have internet connection more

how can you fix that ?

Bronze

Re: WAN static no ISP

What cable modem are you using? Is it just modem or modem/router?

New Member

Re: WAN static no ISP

it's just a telenet modem interface on dhcp if I put it always works but that is not the intention that would interface to set static ip address?

Bronze

Re: WAN static no ISP

Check how long is the lease time for that IP address. If your internet connection terminates after few hours it may be that the lease time is expired for that IP and since you disabled dhcp you won't get a new lease on that IP or a new IP address.

New Member

Re: WAN static no ISP

these are the data from the dhcp lease

R2 # sh dhcp lease

Temp IP addr: 84,197,164,129 for peer on Interface: GigabitEthernet0

Temp sub net mask: 255.255.240.0

DHCP Lease server: 195.130.137.3, state: 5 Bound

DHCP transaction id: 1E92

Lease: 7200 secs, Renewal: 3600 secs, REBIND: 3660 secs

Temp default-gateway addr: 84.197.160.1

Next timer fires after: 0:49:50

Retry count: 0 Client-ID: c84c.75a2.1722

Client-ID hex dump: C84C75A21722

Hostname: R2

how can you change to a static ip address?

1177
Views
0
Helpful
28
Replies
CreatePlease to create content