Results 1 to 5 of 5

Thread: Bond Network Cards with Different IPs

  1. #1
    Join Date
    Oct 2011
    Beans
    2

    Bond Network Cards with Different IPs

    Hello Community,

    Is it possible to bond 3 network cards, all with different IP addresses as one virtual/bonded NIC? We have 3 VLANs that we would like to combine into one virtual NIC for use with Free Opensource Ghost. Each VLAN has a different IP ranged and they do not talk to each other. I have read into ifenslave but that seems to be for link aggregation/trunking for increased throughput. We just want a Gigabit link to each VLAN.

    Thank you in advance,

    SMCC

  2. #2
    Join Date
    Dec 2008
    Location
    Deep Woods of PA
    Beans
    699
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Bond Network Cards with Different IPs

    Quote Originally Posted by smcc-wks View Post
    Hello Community,

    Is it possible to bond 3 network cards, all with different IP addresses as one virtual/bonded NIC? We have 3 VLANs that we would like to combine into one virtual NIC for use with Free Opensource Ghost. Each VLAN has a different IP ranged and they do not talk to each other. I have read into ifenslave but that seems to be for link aggregation/trunking for increased throughput. We just want a Gigabit link to each VLAN.

    Thank you in advance,

    SMCC
    Why would you want to bond them together?
    Regards,

    Karlson

  3. #3
    Join Date
    Oct 2011
    Beans
    2

    Re: Bond Network Cards with Different IPs

    Because FOG can only use 1 interface which is why we want all 3 NICs to be aliased as one NIC. To FOG it will look like one NIC but traffic will be broadcast from the one bonded NIC to all 3 VLANs.

  4. #4
    Join Date
    Mar 2008
    Location
    Queensland Australia
    Beans
    664
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bond Network Cards with Different IPs

    Check these out, did a search on "bridging" and "bonding"

    http://ubuntuforums.org/showthread.php?t=1842656

    http://ubuntuforums.org/showthread.php?t=1840543

    regards

  5. #5
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Bond Network Cards with Different IPs

    Quote Originally Posted by smcc-wks View Post
    Because FOG can only use 1 interface which is why we want all 3 NICs to be aliased as one NIC. To FOG it will look like one NIC but traffic will be broadcast from the one bonded NIC to all 3 VLANs.
    So why not just use aliases for eth0 or some such like this (from the man page of ifconfig)
    Code:
     interface
                  The name of the interface.  This is usually a driver  name  fol‐
                  lowed  by a unit number, for example eth0 for the first Ethernet
                  interface. If your kernel supports  alias  interfaces,  you  can
                  specify  them  with  eth0:0 for the first alias of eth0. You can
                  use them to assign a second address. To delete an  alias  inter‐
                  face use ifconfig eth0:0 down.  Note: for every scope (i.e. same
                  net with address/netmask combination) all aliases  are  deleted,
                  if you delete the first (primary).
    See here for practical examples.

    Edit: The only gotcha in this is that FOG server must be in a single network with all the VLANS inside. You mention that FOG uses broadcasts, so nothing will cross a router. An example would be a network of 192.168.0.0/16 . All subnets (254 of them) are in the same Network (broadcast range).
    Last edited by bab1; October 8th, 2011 at 01:41 AM.
    -BAB1

Bookmarks

Posting Permissions

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