Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, On my computer i have 1 network card and 1 USB modem for Mobile Internet. I can access internet using both devices, but when i am using the network ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2

    2 nics and bonding


    Hello,
    On my computer i have 1 network card and 1 USB modem for Mobile Internet. I can access internet using both devices, but when i am using the network card i am unable to listen to radio stations because the radio streaming is not allowed at the work place. So, i am triyng to find a solution and the solution seems to be to use the bonding module on linux. But i have a few question:
    1) i don't know if it is possible to use this module for 2 such different devices
    2) i don't know if, even enabling bonding, i will be able to "select" the right path in order to reach the radio streaming , or if the right path is selected automatically. When i connect to the radio station using the network card, it opens the connection, but it closes it imediately and i am not sure that the kernel is clever enough to use the other connection in this case.

    What do you think?

  2. #2
    RDU
    RDU is offline
    Just Joined!
    Join Date
    Aug 2010
    Posts
    89
    Hi,
    I think this is not the solution. Bonding is to make an agreation of the links. To get more bandwidth and/or to get redunduncy if a link fail. You cannot decide for one protocol to go a link and the remaining on the other.
    What is possible to do is to use the advanced routing facilities to have different routing table depending of the protocol / detination IP or so. Take a look at Linux Advanced Routing & Traffic Control HOWTO
    You wan match directely or use iptables to mark packet and match on that mark (maybe easier if you know already iptables).

    BUT be carefull with this config (you can make yourself in a dangerous position with your company security policies). It IS possible with this config from someone from the internet to break into your computer from the mobile card and then use it as a bridge to your company network !! So you may avoid this or at least install good firewalling policies.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    2
    Thank you for your suggestions. I'll try to follow your advice and use that path for searching instead.

  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
  •