Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

cannot ping the internet from switch

Posted on 2015-01-08
7
138 Views
Last Modified: 2015-01-18
I have something strange happening and I am trying to figure it out. I have a Juniper ex2200 and I cannot ping any other switches in the network or 8.8.8.8. That is why I cannot telnet to this switch from any other switch. However, I can ping other switches and 8.8.8.8 from my PC which is directly connected to this switch. My PC is getting DHCP from a DHCP server. Any tips will be greatly appreciated.
0
Comment
Question by:leblanc
7 Comments
 
LVL 45

Expert Comment

by:Craig Beck
ID: 40538579
Can you post the config from the switch please?
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40538587
Could be a bad IP address or mask.  Could be that this switch is on a different IP network than the other switches and the default-gateway isn't defined. There are many reasons as to why you're seeing this behavior.  

It would help to see the config of the switch and know what IP addresses the other switches have and what IP address the computer has.
0
 
LVL 14

Expert Comment

by:Otto_N
ID: 40539596
Don't let the fact that you can communicate properly from a PC connected to the switch fool you - A switch will do proper frame forwarding based on MAC addresses (i.e. LAN switching, required for the connected PC to communicate to the rest of the network) without any IP connectivity from the switch control plane (used when pinging other network devices from the switch itself).  However, it does tell you that the problem is not a physical connectivity issue or a LAN switching problem, but most likely a control plane setting (such as IP address, the interface being used for management, on what VLAN it's connected, default routing sessions, etc.) on the switch itself.

Now, as Craig and Don requested, if we can get an idea of the subnets involved, and the IP config of the switch, we should be able to point out where the fault lies.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 4

Expert Comment

by:askincakir
ID: 40539676
Hi,

running-config ( run show | display set ) would be good for solution. But at this point you have to check below mentioned points:
1- Vlan created ?
  set vlans VLAN-NAME vlan-id XX
2- Check that vlan is passing from any active port ?
 vlan not assigned to port will not work
3- check the L3 naming of the vlan
 set vlans VLAN-NAME l3-address vlan.XX
4- check the ip address and subnet mask of that vlan
 set interfaces vlan unit XX family inet address AA.BB.CC.DD/24

and the last thing. IF there is inter vlan routing, you will need a default gateway. But Juniper products work as a router by default you will need a default route.

5- set routing-options static routing 0/0 next-hop 192.168.0.1 // this is routers ip address.



for trouble shooting:

run show route / you have to see default route in your routing table
run show interface terse / you have to see up up your interfaces.

Br,
0
 
LVL 1

Author Comment

by:leblanc
ID: 40543424
I will have to schedule to return on site to get what you have requested. I will be probably the end of next week. Thanks
0
 
LVL 1

Accepted Solution

by:
leblanc earned 0 total points
ID: 40548154
I found out that the trunk from the core to this switch has  a different native vlan. It looks like it is a layer  issue. It is working now. Thx
0
 
LVL 1

Author Closing Comment

by:leblanc
ID: 40556032
The issue was a misconfiguration of the native vlan.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question