Ethernet Switching
Highlighted
Ethernet Switching

SRX100 Not learning mac addresses

‎12-18-2014 12:10 PM

I'm new to JunOS and trying to figure out why my newly installed SRX100 seems to be sending too much data to my endpoints. I ran a wireshark on one end and saw a ton of unicast traffic that was for a device on another member of the same ethernet-switch group.

 

Here's my interface config.

> show configuration interfaces
fe-0/0/0 { unit 0 { family inet { address xxx.xxx.xxx.xxx/30; } } } fe-0/0/1 { unit 0 { family ethernet-switching { port-mode access; vlan { members vlan1; } } } } fe-0/0/2 { unit 0 { family ethernet-switching { port-mode access; vlan { members vlan1; } } } } fe-0/0/3 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } fe-0/0/4 { unit 0 { family ethernet-switching { vlan { members vlan1; } } } } lo0 { unit 0 { family inet { primary; address xxx.xxx.xxx.xxx/32; } } } vlan { unit 0 { family inet { address 10.0.124.190/26; address 10.0.125.253/25;
}
}
}

> show configuration vlans
vlan1 {
vlan-id 3;
l3-interface vlan.0;
}

 

When I look at the ARP table, I see a ton of addresses for this vlan.

 

> show arp | match vlan.0
dc:9f:db:02:90:43 10.0.124.129    10.0.124.129              vlan.0              none
dc:9f:db:02:90:56 10.0.124.130    10.0.124.130              vlan.0              none
dc:9f:db:62:02:2d 10.0.124.131    10.0.124.131              vlan.0              none
dc:9f:db:02:91:13 10.0.124.132    10.0.124.132              vlan.0              none
dc:9f:db:6a:c2:53 10.0.124.133    10.0.124.133              vlan.0              none
dc:9f:db:0e:dc:90 10.0.124.134    10.0.124.134              vlan.0              none
00:27:22:4c:8f:9f 10.0.124.136    10.0.124.136              vlan.0              none
24:a4:3c:44:2a:28 10.0.124.138    10.0.124.138              vlan.0              none
dc:9f:db:34:ba:b9 10.0.124.139    10.0.124.139              vlan.0              none
24:a4:3c:44:25:33 10.0.124.141    10.0.124.141              vlan.0              none
dc:9f:db:32:a3:ca 10.0.124.143    10.0.124.143              vlan.0              none
dc:9f:db:02:90:c3 10.0.124.146    10.0.124.146              vlan.0              none
dc:9f:db:02:90:36 10.0.124.149    10.0.124.149              vlan.0              none
dc:9f:db:36:80:be 10.0.124.151    10.0.124.151              vlan.0              none
dc:9f:db:36:81:52 10.0.124.189    10.0.124.189              vlan.0              none
00:10:e7:74:8a:d3 10.0.125.129    10.0.125.129              vlan.0              none
00:10:e7:44:32:a6 10.0.125.130    10.0.125.130              vlan.0              none
00:10:e7:44:c5:91 10.0.125.131    10.0.125.131              vlan.0              none
00:10:e7:a4:b0:e1 10.0.125.133    10.0.125.133              vlan.0              none
0a:00:3e:b0:fa:cd 10.0.125.134    10.0.125.134              vlan.0              none
00:10:e7:44:5f:73 10.0.125.135    10.0.125.135              vlan.0              none
00:10:e7:44:69:cc 10.0.125.136    10.0.125.136              vlan.0              none
00:10:e7:44:35:01 10.0.125.137    10.0.125.137              vlan.0              none
00:10:e7:a4:88:f3 10.0.125.138    10.0.125.138              vlan.0              none
00:10:e7:a4:88:46 10.0.125.139    10.0.125.139              vlan.0              none
00:10:e7:64:2a:2e 10.0.125.140    10.0.125.140              vlan.0              none
00:10:e7:44:41:1b 10.0.125.141    10.0.125.141              vlan.0              none
00:10:e7:74:b1:73 10.0.125.142    10.0.125.142              vlan.0              none
00:10:e7:64:1d:4c 10.0.125.143    10.0.125.143              vlan.0              none
00:10:e7:a4:b6:25 10.0.125.144    10.0.125.144              vlan.0              none
00:10:e7:44:69:45 10.0.125.145    10.0.125.145              vlan.0              none
00:10:e7:e4:1a:22 10.0.125.146    10.0.125.146              vlan.0              none
00:10:e7:a4:89:01 10.0.125.147    10.0.125.147              vlan.0              none
00:10:e7:a4:a5:b9 10.0.125.148    10.0.125.148              vlan.0              none
00:10:e7:a4:a5:e1 10.0.125.149    10.0.125.149              vlan.0              none
00:10:e7:a4:b3:85 10.0.125.150    10.0.125.150              vlan.0              none
00:10:e7:74:8a:95 10.0.125.152    10.0.125.152              vlan.0              none
00:10:e7:c4:10:bb 10.0.125.154    10.0.125.154              vlan.0              none
00:10:e7:64:df:78 10.0.125.155    10.0.125.155              vlan.0              none
00:10:e7:44:31:95 10.0.125.156    10.0.125.156              vlan.0              none
00:10:e7:44:6c:0a 10.0.125.157    10.0.125.157              vlan.0              none
00:10:e7:44:5d:b8 10.0.125.158    10.0.125.158              vlan.0              none
00:10:e7:44:69:23 10.0.125.159    10.0.125.159              vlan.0              none
00:10:e7:54:36:c3 10.0.125.161    10.0.125.161              vlan.0              none
00:10:e7:44:41:f7 10.0.125.162    10.0.125.162              vlan.0              none
00:10:e7:14:04:6a 10.0.125.163    10.0.125.163              vlan.0              none
00:10:e7:44:6e:90 10.0.125.165    10.0.125.165              vlan.0              none
00:10:e7:44:8e:aa 10.0.125.166    10.0.125.166              vlan.0              none
00:10:e7:a4:b3:fe 10.0.125.167    10.0.125.167              vlan.0              none
00:10:e7:e4:1a:73 10.0.125.168    10.0.125.168              vlan.0              none
00:10:e7:64:de:a9 10.0.125.170    10.0.125.170              vlan.0              none
00:10:e7:44:c6:12 10.0.125.171    10.0.125.171              vlan.0              none
00:10:e7:64:20:3e 10.0.125.173    10.0.125.173              vlan.0              none
00:10:e7:54:36:95 10.0.125.174    10.0.125.174              vlan.0              none
00:10:e7:44:2f:35 10.0.125.177    10.0.125.177              vlan.0              none
00:10:e7:14:51:e5 10.0.125.178    10.0.125.178              vlan.0              none
00:10:e7:44:69:8f 10.0.125.179    10.0.125.179              vlan.0              none
00:10:e7:64:a7:db 10.0.125.181    10.0.125.181              vlan.0              none
00:10:e7:44:22:c7 10.0.125.183    10.0.125.183              vlan.0              none
00:10:e7:44:60:9c 10.0.125.184    10.0.125.184              vlan.0              none
00:10:e7:44:37:45 10.0.125.185    10.0.125.185              vlan.0              none
00:10:e7:64:f3:7b 10.0.125.186    10.0.125.186              vlan.0              none
00:10:e7:54:17:27 10.0.125.187    10.0.125.187              vlan.0              none
00:10:e7:44:5d:b6 10.0.125.188    10.0.125.188              vlan.0              none
00:10:e7:44:6e:56 10.0.125.189    10.0.125.189              vlan.0              none
00:10:e7:74:fe:d2 10.0.125.190    10.0.125.190              vlan.0              none
00:10:e7:74:fe:ed 10.0.125.194    10.0.125.194              vlan.0              none
00:10:e7:64:2a:5b 10.0.125.195    10.0.125.195              vlan.0              none
00:10:e7:e4:1a:17 10.0.125.198    10.0.125.198              vlan.0              none
00:10:e7:a4:a8:b7 10.0.125.199    10.0.125.199              vlan.0              none
00:10:e7:a4:a6:e1 10.0.125.200    10.0.125.200              vlan.0              none
0a:00:3e:b0:fc:14 10.0.125.202    10.0.125.202              vlan.0              none
0a:00:3e:b0:f4:65 10.0.125.250    10.0.125.250              vlan.0              none
0a:00:3e:b0:f4:e4 10.0.125.251    10.0.125.251              vlan.0              none
00:10:e7:44:ba:da 10.0.125.252    10.0.125.252              vlan.0              none
...

 

But when I look at the ethernet-switching table, I see nothing.

> show ethernet-switching table
Ethernet-switching table: 2 entries, 0 learned, 0 persistent entries
  VLAN	            MAC address       Type         Age Interfaces
  vlan1             *                 Flood          - All-members
  vlan1             3c:61:04:d7:0c:08 Static         - Router

> show ethernet-switching mac-learning-log
Thu Dec 11 17:31:33 2014 vlan_name vlan1 mac 3c:61:04:d7:0c:08 was added
Thu Dec 11 17:31:53 2014 vlan_name vlan1 mac 00:00:00:00:00:00 was added
Fri Dec 12 22:29:24 2014 vlan_name vlan1 mac 00:00:00:00:00:00 was deleted
Fri Dec 12 22:58:44 2014 vlan_name vlan1 mac 00:00:00:00:00:00 was added

No new entries in the mac-learining log between the 12th and today, the 18th.

 

This leads me to believe that this vlan is acting more like a hub since it doesn't know which port any MAC address is on. is this why I'm seeing unwanted data on my interfaces? How can I troubleshoot why mac-learning isn't working?

 

Thanks,

Tim Nowaczyk

 

 

1 REPLY 1
Highlighted
Ethernet Switching

Re: SRX100 Not learning mac addresses

‎12-18-2014 06:06 PM

I downgraded my test router to 12.1X44-D15.5 and it is now working. I'll be trying the same on production tonight.

Feedback