multi network 1 nic f10+isp3 question

Discussion in 'Server Operation' started by Turbanator, May 4, 2009.

  1. Turbanator

    Turbanator Member HowtoForge Supporter

    setup: perfect server fedora 10+isp3 , x86_64, 1 NIC

    what I'm trying to do is have the 1 NIC handle multiple incoing ip addresses but from different networks (all coming in through a switch obvisously).
    so...

    ip1: 192.168.1.5
    gateway1 : 192.168.1.1
    dns = x.x.x.x

    ip2: 192.168.2.5
    gateywa: 192.168.2.1
    dns = x.x.x.x

    1st question: can this be done and if so do I just setup secondary addresses as if I were adding on the same network??


    more question will come from this regarding dns and domain routing but I'll save that for the isp3 forum.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. Turbanator

    Turbanator Member HowtoForge Supporter

    thats what I thouht, just wasn't sure about rhe different subnets. So it worked great. Now the fun part, running ispconfig 3, some of my domains are coming from 192.168.x.x and the others I want from 192.168.y.y. (meaning the outgointg traffic on the correct interface).

    So I assume I'll need to setup routes otherwise all traffic will always go out the primary interface.

    any thoughts?
     

Share This Page