Results 1 to 3 of 3

Thread: ubuntu server and multiple connections

  1. #1
    Join Date
    May 2008
    Beans
    5

    ubuntu server and multiple connections

    Hey,

    I know my way around ubuntu server now but need some help. The server has two ethernet connections, one gigabit and one 100 connections.

    The server has it's own dedicated connection to the internet. The connection to the internet is through the 100mbits ethernet and the gigabit goes to the house switcher. The problem is that I need to configure the server to ONLY use its own internet connection, but then have ONLY a local connection to the house on the other adaptor.

    Diagram

    eth0→internet connection
    SERVER→
    eth1→local only connection

    How do I configure this??

    Thanx JJ

  2. #2
    Join Date
    Nov 2006
    Location
    Wisconsin, USA
    Beans
    920
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: ubuntu server and multiple connections

    If you want to talk to two different networks without forwarding packets between them, just configure the two interfaces and make sure IP forwarding is off (e.g. /proc/sys/net/ipv4/conf/all/forwarding = 0).

    If you need more complicated behaviors, iptables can give very detailed control over where packets are allowed to go.

    I'm not sure if this helps answer your question.

  3. #3
    Join Date
    May 2008
    Beans
    5

    Re: ubuntu server and multiple connections

    Yer that does the trick! Everything sorted now!!!

    Thanxs for the help,
    JJ

Tags for this Thread

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
  •