deejayq

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: country ip classes to routing table #49726
    deejayq
    Member

    where does zeroshell save the static routes? what file?
    thank you

    in reply to: country ip classes to routing table #49724
    deejayq
    Member

    so, it’s better to use the “main” routing table instead of two routing tables

    i thought that because of the two vlan ips with the same gateway i should have two routing tables

    anyway, thanks for the quick reply

    also, do you know how to make this changes permanent?
    and what about performance? i want to add about 5000 static routes via dev vlan1

    in reply to: country ip classes to routing table #49722
    deejayq
    Member

    i have the following configuration


    ________
    /
    /
    +
    + /
    | | /
    +
    +
    + +
    +
    + /
    +
    + | vlan1 | | vlan1 | /
    | | | | | | |
    | Local networks +----+ Zeroshell | | ISP +--+ Internet cloud
    | | | | | | |
    +
    + | vlan2 | | vlan2 |
    +
    +
    + +
    +
    +
    | |
    +
    +

    ________

    on vlan1 is routed the traffic to romania
    on vlan2 is routed all the other traffic
    i use freebsd and i want to use zeroshell
    i don’t know how to push the traffic to romanian ip’s thru vlan1

    do you think that by using the following example will work?

    echo 1 romania >> /etc/iproute2/rt_tables
    ip route add default via x.x.x.x dev vlan1 table romania

    ip rule add from a.a.a.a/24 table romania
    ip rule add from b.b.b.b/24 table romania
    ...

    where x.x.x.x is the gateway from my provider and a.a.a.a/24, b.b.b.b/24 etc are the ip classes from romania

    thank you

    in reply to: bandwidth per ip #49571
    deejayq
    Member

    well, i realized that i don’t need to set the bandwidth i get from my isp, i have to be careful not to overbook the guaranteed bandwidth (i mean client_1_guaranteed + client_2_guaranteed_+…=isp_provided_guaranteed)
    simple as that

    the problem now is how to add multiple cidr’s to a file, load it with a script and use it in the rules created with qos

    any suggestions?

    in freebsd i know how to do that, is like this:

    ipfw table 1 add x.x.x.x/24
    ipfw table 1 add y.y.y.y/24
    ipfw table 1 add z.z.z.z/25

    and

    ipfw allow all from table(1) to any
    ipfw allow all from any to table(1)

    somebody suggested ipset but i haven’t seen any useful example

    in reply to: bandwidth per ip #49570
    deejayq
    Member

    i have the following bandwidth:
    up to 70mbps for upload to ip’s in my country
    up to 70mbps for download from ip’s in my country
    up to 30mbps with 3mbps guaranteed for upload to external ip’s
    up to 30mpbs with 3mbps guaranteed for download from external ip’s

    i want to give to my clients, per host up to 6mbps download externa and up to 3mbps upload external with up to 70mbps download to ip’s in my country and up to 70mbps upload to ip’s in my country

    do you think the following configuration will work?

    class manager:
    Class Description Priority DSCP Max Bandwidth Guaranteed On
    10DL x.x.x.10 download Medium 6Mbit/s 64Kbit/s
    10UL x.x.x.10 upload Medium 3Mbit/s 64Kbit/s
    11DL x.x.x.11 download Medium 6Mbit/s 64Kbit/s
    11UL x.x.x.11 upload Medium 3Mbit/s 64Kbit/s
    DEFAULT Default class for unclassified traffic Medium
    EXTERNDL extern download Medium 30Mbit/s 3Mbit/s
    EXTERNUL extern upload Medium 30Mbit/s 3Mbit/s
    METRODL metro download Medium 70Mbit/s 70Mbit/s
    METROUL metro upload Medium 70Mbit/s 70Mbit/s

    what classifier rules i have to add and in which sequence?
    (in this example i used ip ending in 10 and in 11)
    thank you

    in reply to: Install to HDD #49105
    deejayq
    Member

    i think the problem is with the bios of your motherboard
    i had just about the same problem as you and solved it in this post i wrote http://www.zeroshell.net/eng/forum/viewtopic.php?t=1939

    you basicaly have to delete the first partition, recreate it fat and use syslinux instead of grub

Viewing 6 posts - 1 through 6 (of 6 total)