dhcp client different hostname on WAN Interface

Hello dear Forum-Members,

I hope that someone can help me.
I would like to implement dhcp client to connect my CCR2004 router to the Internet. My ISP is expecting a certain MAC-Address and Hostname, but I dont to name my router to the wanted hostname. So my question is… Is it possible to “fake” a hostname on an Interface and/or dhcp-client?
Thank you in advance and I am sorry for any inconviencies cause by my bad english.

best regards

Kurshad

Good Evening Kurshad,

Of course you can =)

Step 1: Create DHCP-Option

/ip dhcp-client option
add code=12 name=FakeName value="'abcdef'"

Step 2: Assign option to DHCP-Client

/ip dhcp-client
add dhcp-options=FakeName,clientid disabled=no interface=ether1