Gentoo Archives: gentoo-server

From: francis <francis.west@××××××××.com>
To: Gentoo-Server <gentoo-server@l.g.o>
Subject: [gentoo-server] Network Interface Scripts
Date: Thu, 08 Apr 2004 12:13:33
Message-Id: 1081430107.18681.39.camel@artemis.olympus.ddts.net
1 Hello,
2 I was wondering if there was a way to put a script to a network
3 interface
4
5 for example in /etc/conf/net
6
7 iface_br0="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0"
8 iface_br0_preup="brctl addbr br0 && brctl addif br0 eth0"
9 iface_br0_postdown="brctl delif br0"
10
11 something like that would be very useful! you can add all you bonding
12 config etc in there too, i thought maybe gentoo has something like this
13 already?
14
15 Thanks
16 Francis