linux network

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
Who is Participating?
woolmilkporcConnect With a Mentor Commented:
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?
please provide ip settings for the second pc
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.