Routing
Routing

Unable to ping L3 interfaces between an SRX and EX in the same VLAN

08.07.12   |  
‎08-07-2012 04:12 AM

Been working on this fairly straight forward case for 2

days already, but cant seems to make any progress.

 

Appreciate if some can shed some light  

 

I have an EX that is trunk'ed to an SRX , on the vlans 'mgt' and 'guest wireless'. 

There is a layer 3 interface configures on vlan 'mgt' on both the 

SRX and the EX. 

 

However i cant seems to ping the L3 iface on the srx from the ex and vice versa. 

Can any one give me some pointers here ? 

 

 

SRX240 ( ge-0/0/12) <--------->(ge-3/0/34) EX4200

 

L3 on SRX 240 is '172.16.16.1/24'

L3 on EX4200 is '172.16.16.29/24' 

 

root@csw01# run ping 172.16.16.1 source 172.16.16.29 
ping: bind: Can't assign requested address

 

below are sample out put from the respective devices 

 

thanks for reading 

any help is most appreciated ! 

 

>>>>>>>>>>>>>>>SRX240

root@srx240-29LK# show interfaces ge-0/0/12 
unit 0 {
    family ethernet-switching {
       vlan {
       members mgt;
   }
 }
}

 

root@srx240-29LK# show vlans mgt 
vlan-id 101;
l3-interface vlan.1;

 

root@srx240-29LK# show interfaces vlan unit 1 
family inet {
address 172.16.16.1/24;
}

 

root@srx240-29LK# run show route

inet.0: 13 destinations, 14 routes (13 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0 *[Static/5] 11w6d 07:28:40
> to 111.223.88.193 via ge-0/0/0.0
111.223.88.192/28 *[Direct/0] 11w6d 07:28:40
> via ge-0/0/0.0
111.223.88.195/32 *[Local/0] 11w6d 07:28:49
Local via ge-0/0/0.0
172.16.16.0/24 *[Direct/0] 02:08:04
> via vlan.1
172.16.16.1/32 *[Local/0] 02:08:04
Local via vlan.1
172.31.31.0/30 *[Direct/0] 4d 23:12:13
> via ae0.0
172.31.31.1/32 *[Local/0] 4d 23:12:16
Local via ae0.0
192.168.10.0/24 *[Direct/0] 1d 08:13:31
> via ge-0/0/14.0
192.168.10.1/32 *[Local/0] 1w4d 03:48:51
Local via ge-0/0/14.0
192.168.41.0/24 *[Direct/0] 03:10:07
> via ge-0/0/14.0
192.168.41.1/32 *[Local/0] 03:10:07
Local via ge-0/0/14.0
192.168.64.0/24 *[Static/5] 4d 00:21:30
> to 172.31.31.2 via ae0.0
192.168.123.250/32 *[Direct/0] 11w6d 07:22:30
> via ge-0/0/1.0
[Local/0] 11w6d 07:22:35
Local via ge-0/0/1.0

 

 

>>>>>>>>EX4200

 

root@csw01# show interfaces ge-0/0/43 
unit 0 {
family ethernet-switching;
}

{master:0}[edit]
root@csw01# show interfaces ge-3/0/43 
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ mgt guest-wireless ];
}
}
}

{master:0}[edit]
root@csw01# show vlans mgt 
vlan-id 101;
interface {
ge-0/0/47.0;
}
l3-interface vlan.0;

{master:0}[edit]
root@csw01# show interfaces vlan unit 0 
family inet {
address 172.16.16.29/24;
}

{master:0}[edit]
root@csw01# run show route

inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0 *[Static/5] 22:39:58
> to 172.31.31.1 via ae8.0
172.31.31.0/30 *[Direct/0] 22:39:58
> via ae8.0
172.31.31.2/32 *[Local/0] 22:39:58
Local via ae8.0
192.168.64.0/24 *[Direct/0] 22:39:58
> via vlan.1
192.168.64.1/32 *[Local/0] 22:39:58
Local via vlan.1
192.168.66.1/32 *[Local/0] 22:39:58
Reject
192.168.68.1/32 *[Local/0] 22:39:58
Reject
224.0.0.22/32 *[IGMP/0] 4w1d 01:07:32
MultiRecv

r1.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

172.16.16.0/24 *[Direct/0] 02:49:00
> via vlan.0
172.16.16.29/32 *[Local/0] 02:49:00
Local via vlan.0

{master:0}[edit]

4 REPLIES
Routing
Solution
Accepted by topic author horly
‎08-26-2015 01:27 AM

Re: Unable to ping L3 interfaces between an SRX and EX in the same VLAN

08.07.12   |  
‎08-07-2012 07:16 AM

Based on the configuration posted port ge-3/0/43 on the EX switch is set to trunk mode but port ge-0/0/12 on the SRX does not appear to be configured for trunk mode.  They need to match either set them both to trunk mode or both to access mode.

Routing

Re: Unable to ping L3 interfaces between an SRX and EX in the same VLAN

08.07.12   |  
‎08-07-2012 07:29 AM

Hi Jcoliazo,

you 're right ! that seems to be what is causing the problem 

 

Kudos to you man 

Routing

Re: Unable to ping L3 interfaces between an SRX and EX in the same VLAN

08.07.12   |  
‎08-07-2012 07:36 AM

Hi All,

is it possible to configure an ethernet aggregated interface on the SRX and the EX, 

and use them to trunk the VLANs instead of the ge-0/0/x ?

I have known that to work between EX switches, but will it work between an SRX and a EX ? 

 

Thanks in advance ! 

 

Horly

Routing

Re: Unable to ping L3 interfaces between an SRX and EX in the same VLAN

08.07.12   |  
‎08-07-2012 11:00 AM

Take a look at this link for an SRX to EX LACP config: http://kb.juniper.net/InfoCenter/index?page=content&id=KB22474&actp=RSS

As far as trunking goes it is the same as trunking on a physical interface.  Set the mode to trunk and add the VLANs as members (on the aggregated interface not the physical interfaces).