mtchang / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

Issues Spoofing N56U MAC Address #903

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
So the way my ISP works (Bigpond Australia) is they assign IP's based on a 
sticky IP method. What this means is IP's are assigned to your routers MAC 
address and the only way to change it is to spoof the routers MAC address. This 
can be done on my modem but not while in bridge mode. So while I have just my 
modem plugged in I am assigned a different IP to that when I have it in bridge 
mode with my N56U as the IP assigned is based on the N56U's MAC address.

Now I have tried changing all the MAC addresses in the NVRAM manually with no 
success.

il0macaddr=30:85:A9:6A:1A:49
et0macaddr=30:85:A9:6A:1A:49
il1macaddr=30:85:A9:6A:1A:48
lan_hwaddr=30:85:A9:6A:1A:49
wan_hwaddr=A9:D1:B9:85:7D:D6
wan0_hwaddr=A9:D1:B9:85:7D:D6

So is there any possible way to spoof the routers MAC address so that I am 
assigned a different IP as the values above I have had no success with. I am 
also aware of the setting under "Advanced Wan Settings" to provide a MAC 
address but this simply changes the last two values posted above and has no 
effect. Any help would be greatly appreciated.

Thanks.

Original issue reported on code.google.com by c_u_late...@hotmail.com on 7 Jul 2013 at 8:24

GoogleCodeExporter commented 9 years ago
Doing some further investigating I can see the following interfaces and their 
corresponding MAC addresses using iproute2. I believe I would need to change 
one of the following to effectively "spoof" the routers mac address. Any 
insight onto the issue would be appreciated!

/opt/home/admin # ip link show
1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 

        qlen 1000
    link/ether 30:85:a9:6a:1a:49 brd ff:ff:ff:ff:ff:ff
3: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
4: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 
q                                                                               
         len 1000
    link/ether 32:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
5: rai0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 

        qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    link/ether 30:85:a9:6a:1a:49 brd ff:ff:ff:ff:ff:ff
7: ra1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:49 brd ff:ff:ff:ff:ff:ff
8: wds0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
9: wds1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
10: wds2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
11: wds3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
12: apcli0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 32:85:a9:6a:1a:4a brd ff:ff:ff:ff:ff:ff
13: rai1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:49 brd ff:ff:ff:ff:ff:ff
14: wdsi0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
15: wdsi1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
16: wdsi2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
17: wdsi3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:48 brd ff:ff:ff:ff:ff:ff
18: apclii0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
    link/ether 30:85:a9:6a:1a:4a brd ff:ff:ff:ff:ff:ff

Original comment by c_u_late...@hotmail.com on 7 Jul 2013 at 8:41

GoogleCodeExporter commented 9 years ago
http://my.router/Advanced_WAN_Content.asp

MAC Address box sets the routers WAN MAC which is I believe what you want to 
change.

Original comment by eckyecky on 19 Jul 2013 at 6:38

GoogleCodeExporter commented 9 years ago
@eckyecky

I also assumed the same thing, unfortunately as stated above that option only 
changes the following NVRAM values and has no actual effect.

wan_hwaddr=A9:D1:B9:85:7D:D6
wan0_hwaddr=A9:D1:B9:85:7D:D6

Original comment by c_u_late...@hotmail.com on 22 Jul 2013 at 5:48