linux network

Posted on 2008-11-05
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

    please provide ip settings for the second pc
    LVL 68

    Accepted Solution

    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

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Article by: IanTh
    Hi Guys After a whole weekend getting wake on lan over the internet working, I thought I would share the experience. Your firewall has to have a port forward for port 9 udp to your local broadcast x.x.x.255 but if that doesnt work, do it to a …
    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    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.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now