Cannot access Linux Web Page or ping linux server from different subnet.

Discussion in 'Linux Networking' started by Paul Graves, Jul 19, 2003.

  1. Paul Graves

    Paul Graves Guest

    I have two nic's in my linux web server: 150.150.32.104 and 150.150.32.105.
    They are both on the same subnet: 255.255.254.0.

    the .105 is set up in DNS... I can not ping or access the web server from
    another subnet across a sysco router.

    Am I stupid for having two nic's on the same subnet or what? All client
    pc's are NT 2000.

    Thanks,

    Frustrated Newbie.
     
    Paul Graves, Jul 19, 2003
    #1
    1. Advertisements

  2. Paul Graves

    Timo Voipio Guest

    Yes you are. IIRC Networking-HOWTO (http://www.tldp.org/ and search for
    'networking') explains the concept of subnets rather well.

    The fundamental reason why not to have two NIC's on the same subnet is that
    your routing tables will get confused. Very confused. Of course, there are
    situations when it is possible and even necessary to use two NIC's with IP's
    on the same subnet (or even the same IP!), but these are advanced stuff from
    LARTC (Linux Advanced Routing & Traffic Control, http://www.lartc.org/)

    HTH,

    -TImo
     
    Timo Voipio, Jul 19, 2003
    #2
    1. Advertisements

  3. It probably won't have the result you expect. Traffic coming in on .105
    will probably be responded to on .104 so if you are trying to achieve
    load balancing it won't work.

    But it should not stop things working altogether. What does the routing
    table show (netstat -rn)? Can you ping .104 remotely?

    Regards, Ian
     
    Ian Northeast, Jul 20, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.