change vmid range
This commit is contained in:
parent
ce2a1ecb0f
commit
12e9bd4f79
2 changed files with 3 additions and 3 deletions
|
@ -225,10 +225,10 @@ $IPT -A OUTPUT -j LOG --log-prefix "fp=OUTPUT:99 a=DROP "
|
||||||
"""
|
"""
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def setvlans(clientiface, vlanmin=120, vlanmax=130):
|
def setvlans(clientiface, vlanmin=101, vlanmax=150):
|
||||||
#vlans
|
#vlans
|
||||||
data = ''
|
data = ''
|
||||||
for vlanid in range(vlanmin, vlanmax, 1):
|
for vlanid in range(vlanmin, vlanmax + 1, 1):
|
||||||
dhcpconf_template = """
|
dhcpconf_template = """
|
||||||
#dhcpd.conf autogenerated by frankenrouter
|
#dhcpd.conf autogenerated by frankenrouter
|
||||||
|
|
||||||
|
|
|
@ -11,4 +11,4 @@ ip addr add $TRANSPORT_IP dev $PUBIF
|
||||||
sleep 5
|
sleep 5
|
||||||
ip route add default via $TRANSPORT_GW
|
ip route add default via $TRANSPORT_GW
|
||||||
|
|
||||||
python3 /root/frankenrouter.py
|
python3 /root/frankenrouter/frankenrouter.py
|
||||||
|
|
Loading…
Reference in a new issue