cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
604
Views
0
Helpful
4
Replies

no internet with a static ip

pcfreak49
Level 1
Level 1

I have a question I want to configure a static ip on the wan interface but do not have internet more ?

4 Replies 4

cadet alain
VIP Alumni
VIP Alumni

Hi,

what does the show ip route static output ?

You  probably had a default route from IPCP or DHCP but then now you need to define one.

Regards.

Alain

Don't forget to rate helpful posts.

okay how do you solve that

Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, + - replicated route

Gateway of last resort is 0.0.0.0 to network 0.0.0.0

S*    0.0.0.0/0 is directly connected, GigabitEthernet0
      195.130.137.0/32 is subnetted, 1 subnets
S        195.130.137.3 [254/0] via 84.197.160.1, GigabitEthernet0

Hi,

As Alain suggested, you might be having IP address from your provider via DHCP server.

Just to re-confirm, check output of command "sh ip interface brief"

If your see TFTP or DHCP in front of your WAN interface ( in your case Gi0 ), then you are getting IP from your ISP via DHCP.

So, if you want to have static IP, first you have to ask your ISP to provide you a static IP...

HTH,

Smitesh

PS: Please rate if helpful...

what do the wan interface via DHCP Static more if you do?

Review Cisco Networking for a $25 gift card