Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all! I have a question. There are 4 computers connect to internet via BCM96338 ADSL Router. And I want one computer having higher priority and bandwith than others. Login ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    How to set up banwidth in ADSL router?


    Hi all!

    I have a question. There are 4 computers connect to internet via BCM96338 ADSL Router. And I want one computer having higher priority and bandwith than others.
    Login over telnet:
    $ telnet 192.168.1.254
    I saw the brctl command with an argument "setportprio <bridge> <port> <prio> set port priority". And I tried:

    $ brctl setportprio br0 eth0.3 0
    $ brctl setportprio br0 eth0.2 255
    $ brctl setportprio br0 eth0.4 255
    $ brctl setportprio br0 eth0.5 255
    $ brctl stp br0 1
    $ brctl showstp br0

    br0
    bridge id 8000.0073070d9571
    designated root 8000.0073070d9571
    root port 0 path cost 0
    max age 20.00 bridge max age 40.00
    hello time 2.00 bridge hello time 4.00
    forward delay 0.00 bridge forward delay 0.00
    ageing time 300.00
    hello timer 0.52 tcn timer 0.00
    topology change timer 0.00 gc timer 212.52
    flags


    eth0.2 (1)
    port id 8001 state forwarding
    designated root 8000.0073070d9571 path cost 255
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8001 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags

    nas_0_33 (2)
    port id 8002 state forwarding
    designated root 8000.0073070d9571 path cost 100
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8002 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags

    nas_8_35 (3)
    port id 8003 state forwarding
    designated root 8000.0073070d9571 path cost 100
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8003 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags

    eth0.4 (4)
    port id 8004 state forwarding
    designated root 8000.0073070d9571 path cost 255
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8004 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags

    eth0.5 (5)
    port id 8005 state forwarding
    designated root 8000.0073070d9571 path cost 255
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8005 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags

    eth0.3 (6)
    port id 8006 state forwarding
    designated root 8000.0073070d9571 path cost 0
    designated bridge 8000.0073070d9571 message age timer 0.00
    designated port 8006 forward delay timer 0.00
    designated cost 0 hold timer 0.00
    flags


    But the computer connect through eth0.3 still surf the web slowly when others download with hight banwidth. Can you explain "brctl setportprio" command?
    And are there any solutions for my problem?

  2. #2
    Just Joined!
    Join Date
    Jul 2007
    Posts
    4
    hi arch_koven,
    it can be a particular pc/interface/other problem try changing the connection position for this machine with some other machine (as per your thery) and see the result ..i myself never tried this.but what i think as of now theses port has been allocated dynamically..first come first serve basis i think so ....so what is the use of it ?..you can not bind any machine or IP to perticular port..can you ?

    One more question you should be knowing about the accounts in BCM96338 ADSL Router...they are as admin , user and support..do you know the password for user and support account ?.

    Thanks

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2
    Quote Originally Posted by soroccoheaven View Post
    hi arch_koven,
    it can be a particular pc/interface/other problem try changing the connection position for this machine with some other machine (as per your thery) and see the result ..i myself never tried this.but what i think as of now theses port has been allocated dynamically..first come first serve basis i think so ....so what is the use of it ?..you can not bind any machine or IP to perticular port..can you ?

    One more question you should be knowing about the accounts in BCM96338 ADSL Router...they are as admin , user and support..do you know the password for user and support account ?.

    Thanks
    There are 4 ports in router, and theses port has not been allocated dynamically. You can see it on the command:

    > brctl showmacs br0
    port no mac addr is local? ageing t
    6 00:1a:92:46:60:ff no 0.13
    1 00:73:07:0d:95:71 yes 0.00
    2 00:73:07:0d:95:72 yes 0.00
    3 00:73:07:0d:95:73 yes 0.00
    > arp show

    IP address HW type Flags HW address Mask Device
    192.168.1.20 0x1 0x2 00:1A:92:46:60:FF * br0


    and the system in router is Linux, I think we can set up bandwidth by software (but i don't know). If the router didn't not provide, I think we can modify network pakages in the Linux kernel and rebuild firmware. It's too complicated and I just only download the source for 96358 router, not for 96338.
    I only know the default passworld for admin user is "admin". (if you forgot, you can hard reset the router).

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •