Hello,
I am trying to configure logical layer 2 and logical layer three interfaces on a same physical port on EX4300. Following is my configuration.
Switch 1
set vlans Test1 vlan-id 200
set vlans Test2 vlan-id 220
set vlans Test3 vlan-id 230
set interfaces irb unit 220 family inet address 172.31.1.2/24
set vlans Test2 l3-interface irb.220
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/2 unit 200 vlan-id 200
set interfaces ge-0/0/2 unit 200 family inet address 172.31.0.2/24
set interfaces ge-0/0/2 unit 201 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/2 unit 201 family ethernet-switching vlan members Test2
set interfaces ge-0/0/2 unit 201 family ethernet-switching vlan members Test3
SWITCH 2
set vlans Test1 vlan-id 200
set vlans Test2 vlan-id 220
set vlans Test3 vlan-id 230
set interfaces irb unit 220 family inet address 172.31.1.1/24
set vlans Test2 l3-interface irb.220
set interfaces ge-0/0/2 vlan-tagging
set interfaces ge-0/0/2 unit 200 vlan-id 200
set interfaces ge-0/0/2 unit 200 family inet address 172.31.0.1/24
set interfaces ge-0/0/2 unit 201 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/2 unit 201 family ethernet-switching vlan members Test2
set interfaces ge-0/0/2 unit 201 family ethernet-switching vlan members Test3
If I do a show interface terse than I can see the interface is up so as the irb.220. But I try to ping addresses from one switch from another then can only ping the routed IP addresses not the IP address configured on the irb.220
For example from switch 1 to switch 2 I can ping 172.31.0.1 but not 172.31.1.1.
Can someone please guide me on what I have done wrong here.