Results 1 to 7 of 7

Thread: multi-homed network?

  1. #1
    Senior Member
    Join Date
    Sep 2005
    Posts
    587
    Thanks
    7
    Thanked
    7 times in 7 posts

    multi-homed network?

    Hello everyone. Can someone tell me the basics about how to set up a multi-homed network?

    I would like a PC to connect to two gateways at the same time, for the sake of argument say the gateways are:

    192.168.0.1
    XX.88.213.1

    The PC has two network adapters, if that makes a difference. A switch is between the PC and the gateways.

    Thank you

    P.S. this is so i can connect to my LAN on one gateway, and also connect directly to a different ISP on the other gateway.
    Last edited by latrosicarius; 18-02-2009 at 12:06 AM.

  2. #2
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    384 times in 313 posts

    Re: multi-homed network?

    you can only have 1 default gateway.

    you'll need to use the route add command to route to the LAN via the other gateway
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  3. #3
    3xH
    3xH is offline
    Registered+
    Join Date
    Feb 2009
    Posts
    24
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: multi-homed network?

    Are you able to give a little more detail in why you need to do this? I assume that 2nd IP address is a Public one that will not be NAT'd?

  4. #4
    mush-mushroom b0redom's Avatar
    Join Date
    Oct 2005
    Location
    Middlesex
    Posts
    3,510
    Thanks
    201
    Thanked
    388 times in 294 posts
    • b0redom's system
      • Motherboard:
      • Some iMac thingy
      • CPU:
      • 3.4Ghz Quad Core i7
      • Memory:
      • 24GB
      • Storage:
      • 3TB Fusion Drive
      • Graphics card(s):
      • nViidia GTX 680MX
      • PSU:
      • Some iMac thingy
      • Case:
      • Late 2012 pointlessly thin iMac enclosure
      • Operating System:
      • OSX 10.8 / Win 7 Pro
      • Monitor(s):
      • Dell 2713H
      • Internet:
      • Be+

    Re: multi-homed network?

    Basically your PC will send all traffic to the default gateway unless there's an exception.
    You can only have one default gateway.

    If you want to add exceptions you need the route add command. If you give it the -P flag it will make it persistant across reboots (in Windows).

    If you give us more information we can provide more advice.

  5. #5
    Senior Member
    Join Date
    Sep 2005
    Posts
    587
    Thanks
    7
    Thanked
    7 times in 7 posts

    Re: multi-homed network?

    ok thanks for the replies. Here is some more information I will try to provide.

    I have 2 ISPs from different companies.

    I have several PCs and a server. They are ALL connected to a switch. This diagram might help:


    For one ISP I have a static IP address, so I can connet to it by entering the IP address, gateway, and DNS servers they provided me into TCP/IP properties of the server's network adapter.

    For the other ISP, I have a dynamic IP, so I use a router to connect to it. Several PCs use that router.

    So I want to let my server get in on the LAN. Right now it cannot access the LAN because obviously its IP is out of scope (the LAN is all 192.168.0.X, and the server's IP is external).

  6. #6
    Oh no!I've re-dorkalated! Jiff Lemon's Avatar
    Join Date
    Jul 2003
    Location
    Sunny MK
    Posts
    2,504
    Thanks
    80
    Thanked
    44 times in 41 posts

    Re: multi-homed network?

    Add a second IP address to your server's NIC that is in the 192.168.0.0 range. However, you want it NOT to be an IP that can be allocated by your DHCP server.

    You'll then need something to resolve the external name to the new internal IP (if you're not running an internal DNS server you can just do it by editing the hosts file)

  7. #7
    Senior Member
    Join Date
    Sep 2005
    Posts
    587
    Thanks
    7
    Thanked
    7 times in 7 posts

    Re: multi-homed network?

    Hey Jiff, I understand your first line 100%

    ... but your second line about the host file? Can you explain a bit more?

    Edit.... Nevermind, all I had to do was do what you said in the first line. It's working! Thanks
    Last edited by latrosicarius; 19-02-2009 at 07:26 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Computer on network has lost connection to network
    By Furton in forum Networking and Broadband
    Replies: 9
    Last Post: 19-08-2011, 04:31 PM
  2. AOL software advice please
    By chrimbow in forum Help! Quick Relief From Tech Headaches
    Replies: 5
    Last Post: 03-09-2008, 08:42 PM
  3. Small Home Network Setup Problems
    By ToxicPanda in forum Help! Quick Relief From Tech Headaches
    Replies: 2
    Last Post: 08-09-2004, 11:36 PM
  4. Network broken?
    By MAS in forum PC Hardware and Components
    Replies: 7
    Last Post: 01-10-2003, 02:02 AM

Posting Permissions

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