On 2004-02-03T16:30:57+0100, Nico De Ranter wrote:
> Any ideas anyone?
I settled on the following after some trial and error:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
# dummy
#
auto eth0
iface eth0 inet manual
up ifconfig eth0 up
down ifconfig eth0 down
# internet
#
auto eth0.1
iface eth0.1 inet dhcp
pre-up /sbin/iptables-restore -c < /var/lib/iptables/active
post-down /sbin/iptables-save -c > /var/lib/iptables/active
# intranet
#
auto eth0.2
iface eth0.2 inet static
address 192.168.0.1
broadcast 192.168.255.255
netmask 255.255.0.0
network 192.168.0.0
/Allan
--
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA
Attachment:
signature.asc
Description: Digital signature