Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2005 07:06:11 -0500
From:      "Gustafson, Tim" <tjg@meitech.com>
To:        "Thomas Foster" <tbonius@comcast.net>
Cc:        questions@freebsd.org
Subject:   RE: Routing Problem
Message-ID:  <DA749670ABB17C4994D03B34889179D8228A89@fee.meitech.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C508F5.AD2A56D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Thomas,

No, I'm not using this box as a router.  It is a web server, and I need
to spread the load of my web traffic across two separate T1s.

I can't just add routes.  You need a default route, or parts of the
internet would become inaccessible.  In my case, you need TWO default
routes.  I have set up Cisco equipment and Windows workstations with two
default routes in the past, and it has worked.  In fact, I have one
Windows box right now that is configured on both these networks with two
default gateways, and it is working.

There has to be a way to make it work on FreeBSD.

Tim Gustafson
MEI Technology Consulting, Inc
tjg@meitech.com
(516) 379-0001 Office
(516) 480-1870 Mobile/Emergencies
(516) 908-4185 Fax
http://www.meitech.com/ 



-----Original Message-----
From: Thomas Foster [mailto:tbonius@comcast.net]
Sent: Wednesday, February 02, 2005 4:48 AM
To: Gustafson, Tim
Cc: questions@freebsd.org
Subject: Re: Routing Problem


Im confused.. if you have two T1s, then are using /30s dor the ranges?
If 
so.. what about not giving a default gateway for either one and just add

routes...

Are you attempting utilize this as just a router.?

Theres a section that covers setting up routing on interfaces in the 
handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routin
g.html

Hope this helps

T
----- Original Message ----- 
From: "Gustafson, Tim" <tjg@meitech.com>
To: <freebsd-questions@freebsd.org>
Sent: Tuesday, February 01, 2005 5:35 PM
Subject: Routing Problem


>I am having a problem setting up a multi-homed host.  I have two
> separate T1 internet connections, and one physical NIC in my FreeBSD
> box.  The two networks are as follows:
>
> Connection 1:
> LAN Address: 1.2.3.24/25
> Router Address: 1.2.3.1
>
> Connection 2:
> LAN Address: 4.5.6.106/29
> Router Address: 4.5.6.105
>
> I would like to set up my FreeBSD box so that I can connect to either
> LAN address from the outside world.  The problem is that I cannot
> specify two default gateways.  Right now, I have 1.2.3.1 set up as a
> default gateway, and I can get to the 1.2.3.24 IP from the outside
> world.  However, I can't get to 4.5.6.106.  I can't even ping it.
From
> the FreeBSD box, I can ping 4.5.6.105, and from the outside world I
can
> ping 4.5.6.105, but I can't ping 4.5.6.106 from the outside world.
>
> Is there any way to make this work?  How can I make FreeBSD have two
> default gateways?  I read somewhere about being able to set up source
> routing, but I haven't been able to find any HOWTO's about that.
>
> Any help is greatly appreciated.
> 



------=_NextPart_000_0005_01C508F5.AD2A56D0
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIInzCCAoIw
ggHroAMCAQICAQQwDQYJKoZIhvcNAQEEBQAwUzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0VxdWlm
YXggU2VjdXJlIEluYy4xJjAkBgNVBAMTHUVxdWlmYXggU2VjdXJlIGVCdXNpbmVzcyBDQS0xMB4X
DTk5MDYyMTA0MDAwMFoXDTIwMDYyMTA0MDAwMFowUzELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE0Vx
dWlmYXggU2VjdXJlIEluYy4xJjAkBgNVBAMTHUVxdWlmYXggU2VjdXJlIGVCdXNpbmVzcyBDQS0x
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOLxm8F7d33pOpX1oNF080GgyY9CLZWdTEaEbw
tDXFhQMgxq9FpSFRRUHrFlg2Mm/iUGJk+f1RnKok2fSdgyqHCiHTEjg0bI0Ablqg2ULuGiGV+VJM
VVrFDzhPRvpt+C411h186+LwsHWAyKkTrL6I7zpuq18qOGICsBJ7/o+mAwIDAQABo2YwZDARBglg
hkgBhvhCAQEEBAMCA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AAAA==

------=_NextPart_000_0005_01C508F5.AD2A56D0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA749670ABB17C4994D03B34889179D8228A89>