cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
730
Views
0
Helpful
1
Replies

can't ping defaut gateway

Chieu Dinh
Level 1
Level 1

interface GigabitEthernet1/0/20
 description Management Uplink
 switchport access vlan 50
 switchport mode access
 switchport nonegotiate

interface Vlan1
 no ip address
!
interface Vlan50
 ip address 10.0.0.2 255.255.255.0
 
!
interface Vlan1
 no ip address
!
interface Vlan50
 ip address 10.0.0.2 255.255.255.0
 no ip redirects
 no ip unreachables
!
ip default-gateway 10.0.0.1
ip http server
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.0.0.1
!

1) from the port 20 I connected the laptop with ip address 10.0.0.11 255.255.255.0 and gw 10.0.0.1

but I can't ping 10.0.0.1

2) telnet to the switch (console) I can ping 10.0.0.2 and 10.0.0.11 but I can't ping 10.0.0.1

Any helps I am really appreciated that

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

If the switch is a layer-2 switch you don't need to have:

ip route 0.0.0.0 0.0.0.0 10.0.0.1 command. 

All you need is a default-gateway command which you already have.

What device has the gateway IP address (10.0.0.1)?

Also can you post the config from that device and the uplink port from the switch to that device?

HTH

Review Cisco Networking for a $25 gift card