Gentoo Archives: gentoo-server

From: David CHANIAL <david.ml@××××××××.fr>
To: gentoo-server@l.g.o
Subject: [gentoo-server] iproute2 - Multiple subnets and dev
Date: Wed, 26 Jul 2006 14:29:20
Message-Id: 200607261626.44973.david.ml@euro-web.fr
1 Hi all,
2
3 On a box,i have :
4 eth0 - ip: 81.93.240.10/24 - gw: 81.93.240.1
5 eth1 - ip: 81.93.243.10/24 - gw: 81.93.243.1
6
7 for eth0, i've made a classic configuration
8 for eth1 first time i've made :
9
10 # echo "243 out243" >> /etc/iproute2/rt_tables
11
12 and, at each reboot, i have to make manually :
13
14 # ip route add default via 81.93.243.1 dev eth1 table out243
15 # ip rule add from 81.93.243.10 table out243
16
17 is there a gentoo way in conf.d/net to make persistent my configuration ?
18
19 Best regards,
20 --
21 David CHANIAL - Euro Web SARL - http://www.euro-web.fr
22 Location de serveurs dédiés infogérés
23 Infogérance et consulting
24 Hébergement mutualisé sur mesure
25 Serveurs de jeux
26
27 --
28 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] iproute2 - Multiple subnets and dev David CHANIAL <david.ml@××××××××.fr>