Koozali.org: home of the SME Server

virtual ip virtual gateway

bajef

virtual ip virtual gateway
« on: May 19, 2004, 04:13:16 AM »
any one ever done this before? i want to make a lan with segment 192.168.0.0/24 with gateway 192.168.0.254 and 192.168.1.0/24  with gateway 192.168.1.254 but only with 1 external ip address.

the segment 192.168.0.0 already can connect the inet, but the segment 192.168.1.0 cann't connect.

Any have solution?

ps. i'm using two ethernet, eth0 for internal with virtual ip, eth1 for external.

Tq

mbachmann

virtual ip virtual gateway
« Reply #1 on: May 19, 2004, 08:45:28 AM »
... because 192.168.1.0/192.168.1.1 are diffrent subnets. Entered both adresses in "local network" in server manager?

I am not sure about your setup (one SME or two?). Please be more specific.

Offline Boris

  • *
  • 783
  • +0/-0
Re: virtual ip virtual gateway
« Reply #2 on: May 20, 2004, 02:05:27 AM »
Quote from: "bajef"
any one ever done this before? i want to make a lan with segment 192.168.0.0/24 with gateway 192.168.0.254 and 192.168.1.0/24  with gateway 192.168.1.254 but only with 1 external ip address.

the segment 192.168.0.0 already can connect the inet, but the segment 192.168.1.0 cann't connect.

Any have solution?

ps. i'm using two ethernet, eth0 for internal with virtual ip, eth1 for external.

Tq

You will need to manually configure eth0:1 interface with 192.168.1.254 address and do a lot of changes into configuration. Unles you feel comfortable with manually editing the scripts, you may want to consider different firewall with IP alias support builtin to the user interface. (IPCop does it for example)
...