[Webinar] Learn how to a build a cloud-first strategyRegister Now


linux network

Posted on 2008-11-05
Medium Priority
Last Modified: 2013-12-23
i have one linux network card, eth0

eth0 >>>>>>> switch >>>>>>>>>>> PC1, PC2

eth0, ip address mask

i added a second ip, using ip addr add

PC1, ip address
PC2, ip address

PC1 i can ping to both and

PC 2 i cant ping to any

what might be the problem
Question by:ammadeyy2020
LVL 21

Expert Comment

ID: 22884374
please provide ip settings for the second pc
LVL 68

Accepted Solution

woolmilkporc earned 2000 total points
ID: 22884376
seems in PC2 you don't have a standard gateway defined? (check with netstat -r)
Since and are on different networks (according to your netmask), at least to reach  from PC2  will require routing.
Strange thing is, you don't reach  from PC2 either (??)
What does 'traceroute' on PC2 say for both n.n.n.10 addresses?

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Make the most of your online learning experience.
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

867 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