change vmid range

This commit is contained in:
deflax 2018-01-23 17:42:08 +02:00
parent ce2a1ecb0f
commit 12e9bd4f79
2 changed files with 3 additions and 3 deletions

View file

@ -225,10 +225,10 @@ $IPT -A OUTPUT -j LOG --log-prefix "fp=OUTPUT:99 a=DROP "
"""
return data
def setvlans(clientiface, vlanmin=120, vlanmax=130):
def setvlans(clientiface, vlanmin=101, vlanmax=150):
#vlans
data = ''
for vlanid in range(vlanmin, vlanmax, 1):
for vlanid in range(vlanmin, vlanmax + 1, 1):
dhcpconf_template = """
#dhcpd.conf autogenerated by frankenrouter

View file

@ -11,4 +11,4 @@ ip addr add $TRANSPORT_IP dev $PUBIF
sleep 5
ip route add default via $TRANSPORT_GW
python3 /root/frankenrouter.py
python3 /root/frankenrouter/frankenrouter.py