Static routes

Benjamin E. Zeller zeller at ibh-wor.de
Thu Aug 30 15:46:40 UTC 2007


On Thursday 30 August 2007 17:44:32 Davide Corio wrote:
> Il giorno gio, 30/08/2007 alle 10.54 -0400, stan ha scritto:
> > I have a need to force some traffic to go out a 2nd NIC to other than the
> > network it is directly connected to. The first NIC is the one the default
> > route is set to.
> >
> > Easily done with a static route. Question is, what is "the Ubuntu way" of
> > defining a static route that will be set up at boot time?
>
> Hi *,
> i don't think there is a specific Ubuntu way.
> With the "debian way" you have to put a script
> under /etc/network/if-up.d/

This is the "debian way"? I got a firewallbox with several NICs, routes are 
set in /etc/network/interfaces with up-commandos there and it works like a 
charme.

>
> regards,
> --
> Davide Corio
> email: davide.corio<at>domsense.com
> web: http://www.domsense.com

Greetings,

Benni



-- 
Benjamin E. Zeller
Ing.-Büro Hohmann
Bahnhofstr. 34
D-82515 Wolfratshausen

Tel.:  +49 (0)8171 347 88 12
Mobil: +49 (0)160 99 11 55 23
Fax:   +49 (0)8171 910 778
mailto: zeller at ibh-wor.de

www.ibh-wor.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070830/2a2677e2/attachment.pgp>


More information about the ubuntu-users mailing list