routing configuration

Discussion in 'Installation/Configuration' started by dimas, Aug 3, 2006.

  1. dimas

    dimas Member

    please help - i'm stuck with my routing configuration!

    i have 3 computers - 2 linux suse 10.1 and 1 windows xp pro. all computers have two network cards. one network card of each computer is used for Internet access, while the second card in each computer is connected to a switch. my goal is to set up a local network between these three computers so that the ips allocated to these second network cards are not 'visible' from the outside (the truth is, all computers are part of a bigger local network of my isp). the 'first' network cards have ips like (netmask and default gateway is, and i allocated the 'second' cards ips, and with netmask

    well, on each linux pc i made two files ifroute-<config-name> - where config-name are the names of my network interfaces - and placed them in /etc/sysconfig/network (at the same time i deleted the 'routes' file there).

    the 'first' internet interface has this entry in this config:
    default - -

    and what should i write in the 'second' local interface config?

    I tried many things, but they always returned errors on boot...
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/sysconfig/network?
  3. dimas

    dimas Member

    the usual stuff, i guess:

    basically i just don't understand what should be written in the 'second' (non-internet) route interface config.

Share This Page