Loading ...
Sorry, an error occurred while loading the content.

Re: Setup Question with multiple Interfaces and domains.

Expand Messages
  • Wietse Venema
    ... For other systems, you can ask your favorite search engine for freebsd interface alias , openbsd interface alias , and so on. Wietse
    Message 1 of 6 , Oct 28, 2009
    • 0 Attachment
      Stan Hoeppner:
      > Wietse Venema put forth on 10/28/2009 5:46 AM:
      >
      > > You don't need multiple network cards. You simply need a box with
      > > multiple network addresses.
      >
      > For example, on Debian 5.0 (likely similar on other *nix distros) you
      > could do something like this:
      >
      > /etc/network/interfaces
      >
      > auto lo
      > iface lo inet loopback
      >
      > auto eth0
      > iface eth0 inet static
      > address 200.1.1.30
      > netmask 255.255.255.0
      > network 200.1.1.0
      > gateway 200.1.1.1
      >
      > auto eth0:0
      > iface eth0:0 inet static
      > address 206.1.1.65
      > netmask 255.255.255.0
      > network 206.1.1.0
      > gateway 206.1.1.1
      >
      > auto eth0:1
      > iface eth0:1 inet static
      > address 65.41.216.221
      > netmask 255.255.255.0
      > network 65.41.216.0
      > gateway 65.41.216.1
      >
      > This will bind 3 IP addresses of 3 different class C networks to one
      > physical ethernet device (NIC). You may or may not need to play with
      > your local routing table to make sure that each Postfix instance sends
      > its traffic out the correct interface.

      For other systems, you can ask your favorite search engine for
      "freebsd interface alias", "openbsd interface alias", and so on.

      Wietse
    Your message has been successfully submitted and would be delivered to recipients shortly.