PPPoE MAC Binding

  • Thread starter Thread starter ZeroTwo
  • Start date Start date
  • Replies Replies 14
  • Views Views 4,155
Messages
139
Location
India
ISP
BSNL (PPPoE, IPv4/IPv6 Dual Stack)
BSNL has started PPPoE MAC binding.

####################################################################
# Archer AX50 System Log
# Time = 2022-05-26 00:05:23
# H-Ver = 1.0.0 ; S-Ver = 1.0.11 Build 20220526 rel.63519
# LAN: I = 10.99.99.1 ; M = 255.255.255.0 ; MAC = 1C:3B:F3:XX:XX:XX
# WAN: W = pppoe ; I = 0.0.0.0 ; M = 0.0.0.0 ; MAC = 1C:3B:F3:XX:XX:XX
# G = 0.0.0.0 ; D1 = 0.0.0.0 ; D2 = 0.0.0.0
# Clients connected: 3 ; WI-FI : 3
####################################################################
2022-05-26 00:05:20 ppp[28699]: <6> 261021 pppoe send PADI Host-Uniq(701b)
2022-05-26 00:05:20 ppp[28699]: <6> 261026 pppoe send PADT due to(resending PADI)
2022-05-26 00:05:19 ppp[28250]: <6> 261026 pppoe send PADT due to(phase disconnect device)
2022-05-26 00:05:19 ppp[28250]: <6> 261066 ppp send LCP TermReq due to Failed to authenticate ourselves to peer
2022-05-26 00:05:19 ppp[28250]: <6> 261081 ppp receive CHAP Failure: Check-Item Failed for 2352:RB-MAC-Address
2022-05-26 00:05:19 ppp[28250]: <6> 261078 ppp send CHAP Response name=ms3852XXXXXX_eid@ftth.bsnl.in
2022-05-26 00:05:19 ppp[28250]: <6> 261077 ppp receive CHAP Challenge name=imp-ras-bng-tbv-01
2022-05-26 00:05:19 ppp[28250]: <6> 261064 ppp receive LCP ACK
2022-05-26 00:05:19 ppp[28250]: <6> 261060 ppp send LCP ACK
2022-05-26 00:05:19 ppp[28250]: <6> 261058 ppp receive LCP Request options(mru=1460;authtype=PPP_CHAP|type(MD5);magic=0x4f685bb3)
2022-05-26 00:05:19 ppp[28250]: <6> 261061 ppp send LCP Request options(mru=1460;magic=0xce8d55d9)
2022-05-26 00:05:19 ppp[28250]: <6> 261025 pppoe receive PADS sess-id(724)
2022-05-26 00:05:18 ppp[28250]: <6> 261024 pppoe send PADR Host-Uniq(6e5a)
2022-05-26 00:05:18 ppp[28250]: <6> 261022 pppoe receive PADO form AC-MAC(00:30:88:03:8e:64)
2022-05-26 00:05:18 ppp[28250]: <6> 261023 pppoe receive PADO AC-Name(imp-ras-bng-tbv-01-B221E120605023)
2022-05-26 00:05:18 ppp[28250]: <6> 261021 pppoe send PADI Host-Uniq(6e5a)
2022-05-26 00:05:18 ppp[28250]: <6> 261026 pppoe send PADT due to(resending PADI)
2022-05-26 00:05:13 ppp[28250]: <6> 261021 pppoe send PADI Host-Uniq(6e5a)
2022-05-26 00:05:13 ppp[28250]: <6> 261026 pppoe send PADT due to(resending PADI)
2022-05-26 00:05:13 ppp[27625]: <6> 261026 pppoe send PADT due to(phase disconnect device)

After cloning MAC

####################################################################
# Archer AX50 System Log
# Time = 2023-05-01 10:43:48
# H-Ver = 1.0.0 ; S-Ver = 1.0.11 Build 20220526 rel.63519
# LAN: I = 10.99.99.1 ; M = 255.255.255.0 ; MAC = 1C:3B:F3:XX:XX:XX
# WAN: W = pppoe ; I = 117.211.XXX.XXX ; M = 255.255.255.255 ; MAC = 00:30:88XX:XX:XX
# G = 117.211.216.1 ; D1 = 1.1.1.1 ; D2 = 1.0.0.1
# Clients connected: 4 ; WI-FI : 4
####################################################################
2022-05-26 00:01:27 ppp[12816]: <6> 261091 ppp receive IPCP ACK
2022-05-26 00:01:27 ppp[12816]: <6> 261090 ppp send IPCP Req options(addr=117.211.XXX.XXX)
2022-05-26 00:01:27 ppp[12816]: <6> 261093 ppp receive IPCP NAK options(addr=117.211.XXX.XXX)
2022-05-26 00:01:27 ppp[12816]: <6> 261090 ppp send IPCP Req options(addr=0.0.0.0)
2022-05-26 00:01:27 ppp[12816]: <6> 261081 ppp receive CHAP Success: Authentication Success
2022-05-26 00:01:27 ppp[12816]: <6> 261078 ppp send CHAP Response name=ms3852XXXXXX_eid@ftth.bsnl.in
2022-05-26 00:01:27 ppp[12816]: <6> 261077 ppp receive CHAP Challenge name=imp-ras-bng-tbv-01
2022-05-26 00:01:27 ppp[12816]: <6> 261064 ppp receive LCP ACK
2022-05-26 00:01:27 ppp[12816]: <6> 261060 ppp send LCP ACK
2022-05-26 00:01:27 ppp[12816]: <6> 261058 ppp receive LCP Request options(mru=1460;authtype=PPP_CHAP|type(MD5);magic=0x13af53ca)
2022-05-26 00:01:27 ppp[12816]: <6> 261061 ppp send LCP Request options(mru=1460;magic=0x354984eb)
2022-05-26 00:01:27 ppp[12816]: <6> 261025 pppoe receive PADS sess-id(1245)
2022-05-26 00:01:27 ppp[12816]: <6> 261024 pppoe send PADR Host-Uniq(3210)
2022-05-26 00:01:27 ppp[12816]: <6> 261022 pppoe receive PADO form AC-MAC(00:30:88:03:8e:64)
2022-05-26 00:01:27 ppp[12816]: <6> 261023 pppoe receive PADO AC-Name(imp-ras-bng-tbv-01-B221E120605023)
2022-05-26 00:01:27 ppp[12816]: <6> 261021 pppoe send PADI Host-Uniq(3210)
2022-05-26 00:01:27 ppp[12816]: <6> 261026 pppoe send PADT due to(resending PADI)
 
Last edited:
@luckyph PPPoE mac binding was done earlier in Kerala, but at some point was removed. Recently when I tried, I was able to establish PPPoE through multiple devices without any cloning.

I guess this is one of those things which would vary depending on the state/circle.
 
It was working just fine till 23rd April 2023.
Maybe you're right it may vary from circle to circle.
 
Mine was working until may 1st. Now had to switch back to dhcp, couldn't get mac cloning to work. Even confirmed mac address from bsnl portal.
 
@rak Just curious, when you say it was working till May 1st what do you mean? BSNL requires you to use PPPoE, there is no option to use DHCP to get WAN IP address that I am aware of.

Or are you saying that you could establish PPPoE from more than one device (not at same time) without cloning the mac address prior to May 1st?
 
Up until May 1st I was able to connect using PPPoE, no spoofing or had to set any VLAN settings either. But since then, I have been seeing authentication error (same as the original post). Spoofing mac address of the ONT seems like the router has no connection to the ONT. Also tried wan VLAN to see it would help, but not working as well. As for multiple devices, I'm not sure since I have only used my current router with this connection.

As for the DHCP, I simply meant I'm doing PPP in the ONT itself and connecting router to it by DHCP (didn't want to change a lot of settings in my OpenWrt setup).

Anyways I will probably contact them to request to either remove binding or add my mac address (This seems very annoying, because I'm planning to upgrade the entire setup soon).
 
Were you interchanging where the PPPoE session was being established between the ONT and router? Cause even if they enabled mac binding, it is reasonable to bind it to the last connected Mac address. If that was the OpenWRT device, then it should have got bound to the OpenWRT mac.
If you were not establishing PPPoE from the ONT all these days, its interesting that it got bound to the ONT mac address. 🤔

Regarding spoofing the ONT mac on the OpenWRT device and losing connectivity, yeah that's something I've run into as well. In OpenWRT definitely there will be a case of two devices with the same mac address and it wouldn't work. It is for exactly this reason that I had to work with BSNL in the past to get the mac binding changed, this was when they were previously enforcing mac binding, I think in 2018.

But I am not sure how other TP-Link routers etc support mac cloning fairly easily in such scenarios.
 
No, was just using the OpenWrt device with PPPoE for more than a year with no problems. Just suddenly couldn't connect on May 1st. I do have a TP-Link router I could try cloning with, but seems counterintuitive since I want to keep my OpenWrt setup.
 
Back