Sei sulla pagina 1di 2

ip address add address=192.168.1.

2/24 interface=ether1
ip address add address=192.168.0.1/24 interface=ether2
ip firewall nat add chain=srcnat src-address=192.168.0.0/24 action=masquerade
system ntp client set primary-ntp=0.pool.ntp.org secondary-ntp=3.pool.ntp.org e
nabled=yes
ip route gateway=192.168.1.1
ip firewall mangle add chain=forward src-address=192.168.0.254 action=mark-conne
ction new-connection-mark=billing
ip firewall mangle add chain=forward src-address=192.168.0.2 action=mark-connect
ion new-connection-mark=pc1
ip firewall mangle add chain=forward src-address=192.168.0.3 action=mark-connect
ion new-connection-mark=pc2
ip firewall mangle add chain=forward src-address=192.168.0.4 action=mark-connect
ion new-connection-mark=pc3
ip firewall mangle add chain=forward src-address=192.168.0.5 action=mark-connect
ion new-connection-mark=pc4
ip firewall mangle add chain=forward src-address=192.168.0.6 action=mark-connect
ion new-connection-mark=pc5
ip firewall mangle add chain=forward src-address=192.168.0.7 action=mark-connect
ion new-connection-mark=pc6
ip firewall mangle add chain=forward src-address=192.168.0.8 action=mark-connect
ion new-connection-mark=pc7
ip firewall mangle add chain=forward src-address=192.168.0.9 action=mark-connect
ion new-connection-mark=pc8
ip firewall mangle add chain=forward src-address=192.168.0.10 action=mark-connec
tion new-connection-mark=pc9
ip firewall mangle add chain=forward src-address=192.168.0.11 action=mark-connec
tion new-connection-mark=pc10
ip firewall mangle add chain=forward connection-mark=billing action=mark-packet
new-packet-mark=billing
ip firewall mangle add chain=forward connection-mark=pc1 action=mark-packet new-
packet-mark=pc1
ip firewall mangle add chain=forward connection-mark=pc2 action=mark-packet new-
packet-mark=pc2
ip firewall mangle add chain=forward connection-mark=pc3 action=mark-packet new-
packet-mark=pc3
ip firewall mangle add chain=forward connection-mark=pc4 action=mark-packet new-
packet-mark=pc4
ip firewall mangle add chain=forward connection-mark=pc5 action=mark-packet new-
packet-mark=pc5
ip firewall mangle add chain=forward connection-mark=pc6 action=mark-packet new-
packet-mark=pc6
ip firewall mangle add chain=forward connection-mark=pc7 action=mark-packet new-
packet-mark=pc7
ip firewall mangle add chain=forward connection-mark=pc8 action=mark-packet new-
packet-mark=pc8
ip firewall mangle add chain=forward connection-mark=pc9 action=mark-packet new-
packet-mark=pc9
ip firewall mangle add chain=forward connection-mark=pc10 action=mark-packet new
-packet-mark=pc10
queue tree add name=sobatku parent=ether2 max-limit=10000000
queue tree add name=pcbil packet-mark=billing parent=sobatku limit-at=64000 max-
limit=250000
queue tree add name=pc1 packet-mark=pc1 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc2 packet-mark=pc2 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc3 packet-mark=pc3 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc4 packet-mark=pc4 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc5 packet-mark=pc5 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc6 packet-mark=pc6 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc7 packet-mark=pc7 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc8 packet-mark=pc8 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc9 packet-mark=pc9 parent=sobatku limit-at=64000 max-limit=
250000
queue tree add name=pc10 packet-mark=pc10 parent=sobatku limit-at=64000 max-limi
t=250000

Potrebbero piacerti anche