According to http://www.candelatech.com/~greear/vlan.html the
linux vlan implementation can support up to 4094 VLANs per
ethernet interface.
The interfaces are in the form eth0.1, eth0.2 upto eth0.4094 ..
In order to allow these, you have to modify shorewall-lib.pl and
change the regexp in sub interfaces_validate ..
Here is a small patch to fix this..
--- shorewall-lib.pl.orig 2003-05-29 11:33:39.000000000
+0300
+++ shorewall-lib.pl 2003-05-29 11:20:27.000000000 +0300
@@ -257,7 +257,8 @@
sub interfaces_validate
{
-$in{'iface'} =~ /^[a-z]+\d*$/ || &error($text{'interfaces_eiface'});
+$in{'iface'} =~ /^[a-z]+\d?\.?\d+$/ ||
&error($text{'interfaces_eiface'});
$in{'broad_mode'} || $in{'broad'} =~ /^[0-9\.,]+$/ ||
&error($text{'interfaces_ebroad'});
return ( $in{'zone'}, $in{'iface'},
Regards,
Sotiris Tsimbonis.
Logged In: YES
user_id=789282
Vlan ethernet interfaces should be allowed as valid in the network
interfaces module as well, not only in shorewall..
Sotiris.
Logged In: NO
Vlan interfaces should be allowed as valid in the network configuration
module as well, it's not only a shorewall issue.
Logged In: YES
user_id=129364
Thanks for the information - I didn't even know about these
vlan interfaces!
The shorewall and network configuration modules will support
them in future releases ..