Hi, Shailesh.
Thank you for your response. I had already read the article you send me, but it does not helped me.
This is how I managed to got this working properly on SRX320:
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members [ tef guest default ];
}
}
}
}
irb {
unit 1 {
family inet {
address 192.168.0.126/25;
}
}
unit 2 {
family inet {
address 192.168.0.190/26;
}
}
unit 3 {
family inet {
address 172.16.0.254/24;
}
}
}
vlans {
default {
vlan-id none;
l3-interface irb.1;
}
guest {
vlan-id 3;
l3-interface irb.3;
}
tef {
vlan-id 2;
l3-interface irb.2;
}
}
The vlan default is configured with vlan-id none, that means vlan-id 1. If you try to configure vlan-id 1, the Junos replace it to none automaticaly. Using the comand show vlans, you see the following:
Routing instance VLAN name Tag Interfaces
default-switch default 1
ge-0/0/0.0*
default-switch guest 3
ge-0/0/0.0*
default-switch tef 2
ge-0/0/0.0*
On Junos version 15.1X49-D50 and 15.1X49-D45, you cannot change the name of defaul vlan. For some reason the associated irb interfece remaisn in down state. In version 15.1X49-D60 you can use any name you want to this vlan, since it uses vlan-id 1 (none).
On my L2 switch, I configured the trunk interface tagged on VLANs 2 and 3, and untagged on VLAN 1.
Everything is working fione now!