Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 15:21:31 -0500
From:      Jon Radel <jon@radel.com>
To:        =?windows-1252?Q?=22Dante_F=2E_B=2E_Col=F2=22?= <dante01010@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Static routing
Message-ID:  <54626FCB.5080904@radel.com>
In-Reply-To: <54626BDD.3070408@gmail.com>
References:  <545BE713.9090705@gmail.com> <20141109203840.2949195f@morena.maps.net> <54626BDD.3070408@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is a cryptographically signed message in MIME format.

--------------ms010302020802050609090608
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

On 11/11/14, 3:04 PM, "Dante F. B. Col=F2" wrote:
> Hi Martin
>
> Thank you for your response. I mean the same subnet on both interfaces =

> , i was just trying to setup  static route for destinies=20
> *189.92.72.11* and *189.92.72.12*  through the *em1* omitting the=20
> gateway, that's what we do on Linux ( eg route add -host *189.92.72.11 =

> *dev ethx)  but without success here.
>
>
>
>  +-------+
>  | Cisco |
>  +-----+-+
>        |if: 189.92.72.0/29
>        |
>        |em0: 189.92.72.10/255.255.255.248
>      +-+-------+
>      | FreeBSD |
>      +-+-------+
>        |em1: 189.92.72.11/255.255.255.248
>
>        |
>        |
>  +-----+--+
>  | Switch |            +-----------------+
>  +--------+            |  MAIL           |
>        |---------------+-----------------+
>                         bnx0: 189.72.92.12/255.255.255.248
>
As has been pointed out to you repeatedly both on the FreeBSD and=20
OpenBSD mailing lists, TCP/IP routing doesn't work like that. Judging=20
from your diagram, the Cisco thinks 189.92.72.0-189.92.72.7 are=20
available on its interface; so how does it talk to 189.92.72.10?  The=20
FreeBSD box thinks that addresses 189.92.72.8-189.92.72.15 are on=20
interface em0.  It thinks the same addresses are on interface em1.   If=20
this is the case, you can not route between them, because they are the=20
same network.

I have no idea what you're doing on the Linux box, but it's not layer 3=20
routing using that topology.  Are you sure you are not bridging on the=20
Linux box?

--Jon Radel
jon@radel.com


--------------ms010302020802050609090608
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILBDCC
BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT
FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu
Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg
RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix
GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE
ChMRQ09NT0RPIENBIExpbWl0ZWQxOTA3BgNVBAMTMENPTU9ETyBDbGllbnQgQXV0aGVudGlj
YXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
ggEBAJKEhFtLV5jUXi+LpOFAyKNTWF9mZfEyTvefMn1V0HhMVbdClOD5J3EHxcZppLkyxPFA
GpDMJ1Zifxe1cWmu5SAb5MtjXmDKokH2auGj/7jfH0htZUOMKi4rYzh337EXrMLaggLW1DJq
1GdvIBOPXDX65VSAr9hxCh03CgJQU2yVHakQFLSZlVkSMf8JotJM3FLb3uJAAVtIaN3FSrTg
7SQfOq9xXwfjrL8UO7AlcWg99A/WF1hGFYE8aIuLgw9teiFX5jSw2zJ+40rhpVJyZCaRTqWS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zfeuCwpqX0cj7vM916Gce+Az5GWOMHJsi3GZrtuLrayC5VMMJpDnCAW8QOYr+0
2i9BuU0dDG68dcNOMB8kQnu5iW12Yo7UFfpA9FUa69P7GcVreQAAAAAAAA==
--------------ms010302020802050609090608--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?54626FCB.5080904>