Hi there,
I have a not so normal situation with my provider in the Netherlands. I use the provided residential gateway router of the provider only for Voip & TV setop boxes. For internet i use an Asus AC66u with RMerlin firmware. Between the fiber connection and both routers is a netgear switched places. Basicly that switch uses VLAN tagging to ports so that the ASUS receives the WAN internet signal, and de RG of the provider gets the VLAN's for Voip and TV.
My providers is getting more stuff into their RG. This makes it necessary to couple both routers at the LAN side. And because of both are running DHCP that is guaranteed for messed things up.
To make it more complicated: the RG provided uses a kind of smart technology. So the device detects if there is a computer connected tot a LAN port, or that it is a TV setop box. And then it decides to what VLAn on the WAN side the device is connected. For now, the TV setopboxen get theit IP address of an DHCP pool of the provider ( outside my home ).
So i need to block DHCP answers to the setop boxes from my Asus router. I tried several iptables commands, but none of them seem to work.
unfortunaly the setop box keeps getting an ip address of the ASUS.
What am i doing wrong ?
Tnx!
I have a not so normal situation with my provider in the Netherlands. I use the provided residential gateway router of the provider only for Voip & TV setop boxes. For internet i use an Asus AC66u with RMerlin firmware. Between the fiber connection and both routers is a netgear switched places. Basicly that switch uses VLAN tagging to ports so that the ASUS receives the WAN internet signal, and de RG of the provider gets the VLAN's for Voip and TV.
My providers is getting more stuff into their RG. This makes it necessary to couple both routers at the LAN side. And because of both are running DHCP that is guaranteed for messed things up.
To make it more complicated: the RG provided uses a kind of smart technology. So the device detects if there is a computer connected tot a LAN port, or that it is a TV setop box. And then it decides to what VLAn on the WAN side the device is connected. For now, the TV setopboxen get theit IP address of an DHCP pool of the provider ( outside my home ).
So i need to block DHCP answers to the setop boxes from my Asus router. I tried several iptables commands, but none of them seem to work.
Code:
iptables -A OUTPUT -m mac --mac-source zz:zz:zz:zz:zz:zz -j DROP
iptables -A INPUT -m mac --mac-source zz:zz:zz:zz:zz:zz -j DROP
unfortunaly the setop box keeps getting an ip address of the ASUS.
What am i doing wrong ?
Tnx!