It can do in following config to use multiple ip addresses for the same VLAN.
vlans {
Vlan100 {
vlan-id 100;
l3-interface vlan.100;
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ 10 20 ];
}
}
}
}
ge-0/0/1 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members 100;
}
}
}
}
vlan {
unit 10 {
family inet {
address 172.16.10.1/24;
}
}
unit 20 {
family inet {
address 172.16.20.1/24;
}
}
unit 100 {
family inet {
address 192.168.0.1/24;
address 192.168.0.2/24;
address 192.168.0.3/24;
}
}
}
}
However, it becomes an error to use each IP for every VRF.
routing-instances {
VR01 {
description Customer01;
instance-type virtual-router;
interface vlan.10;
interface vlan.100;
}
VR02 {
description Customer02;
instance-type virtual-router;
interface vlan.20;
interface vlan.100;
}
}
[edit routing-instances VR02 interface]
'vlan.100'
RT Instance: Interface vlan.100 already configured under instance VR01
What should I do to use the same VLAN by two or more VRF?