[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Multiple Network Gateways



Hallo Volkan,

>> I would like to setup a simple network detailed in the below schema.

[....]

> You also have some dns lines in that interfaces file. As far as I know
that is not alowed and those 
> lines should be in the /etc/resolv.conf file.

Appart from some typos I also made an error in not removing the dns Lines
from the new interfaces file.
So your /etc/network/interfaces file should be:

----------<quote>-----------------------------
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.10.98.100
       netmask 255.255.255.240
       gateway 10.10.98.110

auto eth1
iface eth1 inet static
       address 192.168.100.100
       netmask 255.255.255.0
----------<quote>-----------------------------

And your /etc/resolv.conf file should be:
----------<quote>-----------------------------
nameserver 10.10.10.11
nameserver 10.10.10.12
domain ozun.int
search ozun.int
----------<quote>-----------------------------

This acomplishes what you want it to do.

Bonno



Reply to: