Re: Using VLANs on Debian
From: Allan Wind (allanwind_at_lifeintegrity.com)
Date: 02/04/04
- Previous message: Bengt Thure'e: "Re: Help setting up postfix as mail relay - is this the way ? - transport.dir error"
- In reply to: Nico De Ranter: "Using VLANs on Debian"
- Next in thread: Stephan Seitz: "Re: Using VLANs on Debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 4 Feb 2004 09:05:15 -0500 To: debian-user@lists.debian.org
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
-- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: Digital signature
- Previous message: Bengt Thure'e: "Re: Help setting up postfix as mail relay - is this the way ? - transport.dir error"
- In reply to: Nico De Ranter: "Using VLANs on Debian"
- Next in thread: Stephan Seitz: "Re: Using VLANs on Debian"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|