[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: VLAN config on Jessie



Hi,

>> On 30/07/15 23:14, Arno Schuring wrote:
>>> This configures an untagged connection, which is not the same as vlan 
>>> 1. Also, there's no need to set that broadcast address manually, it's 
>>> inferred from the netmask.
>>>> auto eth1.2
>>>> iface eth1.2 inet static
>>>> address 192.168.100.254
>>>> netmask 255.255.255.0
>>>> vlan-raw-device eth1
>>>>
>>>>
>>>> I want vlan 1 to be the default hence I decared it as eth1 not 
>>>> eth1.1
>>> That is most likely wrong. You set a "default interface" by 
>>> configuring the default gateway with the lowest metric. Other than 
>>> that, there's no "default" between network interfaces.
>>>
>>>
>> Im not talking about the default route Im talking about how it should 
>> handle ethernet frames with no vlan tag arriving on eth1
>>

I have a similar setup but.... the untagged network is the management network for the APs. All traffic on the WiFi network is done in VLANS. That is how I have it setup.
So in that case you should have 3 definitions on eth1 (assuming traffic for the clients is using VLAN 10 and 11)
auto eth1 eth1.10 eth1.11
iface eth1 inet static
  address .....
  etc
iface eth1.10 inet static
  address .....
  etc
iface eth1.11 inet static
  address .....
  etc

This should also prevent any miscommunication when clients are part of the management network.
The "management network" does not NEED to be a separate network. In my case I combine it with another network which has restricted access.

Also be aware that I have found VLAN aware routing on a Debian machine to be slower then straight interface routing. However, my last test was on an old Lenny system so that might have been improved.

Bonno Bloksma



Reply to: