Modify

Ticket #2045 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 months ago

VLAN ID-1 (Default) Wrong Configuration and doesn`t work on trunk switch port

Reported by: allisonvoll@… Owned by: jsalamero@…
Milestone: nice to have someday Component: network
Severity: normal Keywords:
Cc:

Description

With an trunk configured interface trhough ebox webui, i can't set default vlan (untagged) interface configurations, if i and an vlan with id = 1, this will be creat an vlan with tag 1 (default):

Ebox: -- eth1 - trunk



/etc/network/interfaces:


auto lo vlan1 vlan2

iface lo inet loopback iface vlan1 inet static vlan-raw-device eth1

address x.x.x.x netmask x.x.x.x broadcast x.x.x.x gateway x.x.x.x

iface vlan2 inet static vlan-raw-device eth1

address x.x.x.x netmask x.x.x.x broadcast x.x.x.x


But the default vlan in a trunk port switch must be untagged, an the untagged interface has not configured properly, because most switches does not support vlan with id 1, the follow configuration is the correct:

Ebox: -- eth1 - trunk - [address]



auto lo eth1 vlan2

iface lo inet loopback

iface eth1 inet static

address x.x.x.x netmask x.x.x.x broadcast x.x.x.x gateway x.x.x.x

iface vlan2 inet static vlan-raw-device eth1

address x.x.x.x netmask x.x.x.x broadcast x.x.x.x


With this configuration when networking has been restarted the vlan1 (for tagged) interface has been automatically created with the same configuration as eth1 (for untagged), then all works fine.

An sugestion to the webui is the option to add tcp/ip configuration directly in a trunk interface, which is the default vlan.

Attachments

Change History

comment:1 Changed 3 years ago by jsoriano@…

  • Owner changed from jacalvo@… to cperez@…
  • Component changed from base to network

comment:2 Changed 3 years ago by jacalvo@…

  • Owner changed from cperez@… to jsalamero@…
  • Milestone set to 2.0.X

comment:3 Changed 3 years ago by ineiti@…

I second that, sounds useful. I just set up a DELL PowerConnect? (2824) with Zentyal. First I was really happy using the Zentyal interface, now I had to add the "ifconfig eth0 172..."-line directly to /etc/rc.local - ugly...

If only I'd find the time to dive into this.

comment:4 Changed 2 years ago by jacalvo@…

  • Owner changed from jsalamero@… to jsalamero@…

comment:5 Changed 2 years ago by jacalvo@…

  • Milestone changed from 2.0.X to 2.1

comment:6 Changed 22 months ago by jacalvo@…

  • Milestone changed from 2.2 to nice to have someday

comment:7 Changed 13 months ago by fermin@…

for 3.X? please :-)

comment:8 Changed 3 months ago by jag

  • Status changed from new to closed
  • Resolution set to duplicate

I have moved this to idea torrent  http://ideas.zentyal.org/ideatorrent/idea/105/

Please, comment and vote it there

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.