Ticket #2045 (closed defect: duplicate)
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: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