cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
496
Views
0
Helpful
1
Replies
Chieu Dinh
Beginner

can't ping defaut gateway

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 Expert

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