hello,
I am running the latest merlin version for my ac68u. I recently changed ISP's and am having a difficult time setting up my static ip block on the ac68u.
I have done this in the past with a different isp using a nat-start script in the jffs partition.
ATT provided me with 5 usable ip addresses. Below I am trying to use 1 of the 5 (1 to 1 NAT)
ifconfig eth0:0 WANIP0 netmask WANMASK0 up
iptables -t nat -A PREROUTING -i eth0 -d WanIP1 -j DNAT --to-destination 192.168.1.10
iptables -t nat -I POSTROUTING -s 192.168.1.10 -j SNAT --to WanIP1
The problem is PACE 5268AC garbage of a modem wants a different mac address for each ip address. it will not work without it.
Eth0 and eth0:1 both have the same mac address. Running ifconfig verifies this. What I need to do is change the mac address of the virtual adapter eth0:1. I am wondering if this is possible with a command?
Thanks,
Paul
I am running the latest merlin version for my ac68u. I recently changed ISP's and am having a difficult time setting up my static ip block on the ac68u.
I have done this in the past with a different isp using a nat-start script in the jffs partition.
ATT provided me with 5 usable ip addresses. Below I am trying to use 1 of the 5 (1 to 1 NAT)
ifconfig eth0:0 WANIP0 netmask WANMASK0 up
iptables -t nat -A PREROUTING -i eth0 -d WanIP1 -j DNAT --to-destination 192.168.1.10
iptables -t nat -I POSTROUTING -s 192.168.1.10 -j SNAT --to WanIP1
The problem is PACE 5268AC garbage of a modem wants a different mac address for each ip address. it will not work without it.
Eth0 and eth0:1 both have the same mac address. Running ifconfig verifies this. What I need to do is change the mac address of the virtual adapter eth0:1. I am wondering if this is possible with a command?
Thanks,
Paul