Results 1 to 3 of 3

Thread: Bridging My home server

  1. #1
    Join Date
    Apr 2009
    Location
    Netherlands
    Beans
    36
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Bridging My home server

    Hi
    My home server got 2 network interfaces. eth0 and eth2.
    Because all traffic goes over one interface.
    So i want to bridge my network interfaces.
    A firewall wil not be necessary, because i got a line parallel.
    My server got a static address, i tested with a other computer but it won't boot up.

    here is a schematic.
    Code:
    +===========+                           +===========+
    | Computers |                           | Computers |
    +===========+                           +===========+
          | 1gb/s                                 |
    +==========+              100mb/s             |100mb/s/WIFI
    | switch   |-----------------------------+    |
    +=====+====+                             |    |
          |         eth2      eth0           |    |
          | 1gb/s   +============+ 100mb/s +==========+
          +---------| Homeserver |---------|  Router  |-- Internet
                    +============+         +==========+
    This is what i got so far:
    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet manual
    
    auto eth2
    iface eth2 inet manual
    
    # br0
    auto br0
    iface br0 inet static
       address 192.168.2.252
       netmask 255.255.255.0
       gateway 192.168.2.254
       network 192.168.2.0
       broadcast 192.168.2.255
       bridge_ports eth0 eth2
    
    auto br0:1
    iface br0:1 inet static
       address 192.168.2.251
       netmask 255.255.255.0
       gateway 192.168.2.254
       network 192.168.2.0
       broadcast 192.168.2.255
    I hope i make my myself clear?
    Will this work? and will this good boot up?
    Last edited by DJJo; November 14th, 2009 at 05:35 PM.

  2. #2
    Join Date
    Apr 2009
    Location
    Netherlands
    Beans
    36
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Bridging My home server

    no buddy?

  3. #3
    Join Date
    Mar 2009
    Location
    Helsinki, Finland
    Beans
    650
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Bridging My home server

    If you already have a cable going from your switch to your router, why do you want to bridge the interfaces on the server? It won't speed anything up, even if you have two routes from the switch to the router.

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
  •