How to set custom Vendor ID on Asus RT-AC66U (AdvancedTomato or stock firmware)

nrdwka

Honorable
Jul 26, 2017
42
5
10,535
Hello,
I try to replace my French's ISP fiber box-router by Asus RT-AC66U. For now i run latest AdvancedTomato firmware.
For that purpose i need:

    creat vlan interface 100 - DONE


    set correct MAC adress - DONE


    send vendor-class-identifier "BYGTELIAD" on my WAN interface to get finally my IP from ISP DHCP


On tomato firmware i found an option called "dhcp client (wan)" and i entered: -V "BYGTELIAD"
noname.png

But seems it does not correct as i do not have IP address on my wan interface.
Does anyone know how correctly set vendor id on wan interface for tomato or stock firmware via gui or telnet?
Kind regards
 
Solution
It has been a while since I messed with tagging on these routers. There historically has been a issue with what the vlan is called and what the tag value represents. There is some field that you used to use called offset.

I know in even in cisco commercial gear there were issues trying to use vlan tags over 1000. You would call the vlan say 500 and have it send a tag of 3000. They have fixed that but you still see similar restriction on some smaller linksys switches.

Be really nice if you could plug a pc into the wan port and actually capture the packet with wireshark to see if the tags are set. I know last time I tried this microsoft had rigged it that the tag fields were stripped before the wireshark got it. Linux...
It has been a while since I messed with tagging on these routers. There historically has been a issue with what the vlan is called and what the tag value represents. There is some field that you used to use called offset.

I know in even in cisco commercial gear there were issues trying to use vlan tags over 1000. You would call the vlan say 500 and have it send a tag of 3000. They have fixed that but you still see similar restriction on some smaller linksys switches.

Be really nice if you could plug a pc into the wan port and actually capture the packet with wireshark to see if the tags are set. I know last time I tried this microsoft had rigged it that the tag fields were stripped before the wireshark got it. Linux should not have that restriction but i was too lazy to build a boot image.

Still it might be worth plugging a pc into the wan port with wireshark and make sure the DHCP request has all the proper fields being set.
 
Solution

nrdwka

Honorable
Jul 26, 2017
42
5
10,535

Thank you, i will investigate.
Strangely, i just tried to use Asuswrt-Merlin and connection was established without any issue o.o