Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2014 16:39:22 -0500
From:      Jon Radel <jon@radel.com>
To:        =?UTF-8?B?IkRhbnRlIEYuIEIuIENvbMOyIg==?= <dante01010@gmail.com>,  freeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Static routing
Message-ID:  <545BEA8A.9070607@radel.com>
In-Reply-To: <545BE713.9090705@gmail.com>
References:  <545BE713.9090705@gmail.com>

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

--------------ms050304090202050109060307
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

On 11/6/14, 4:24 PM, "Dante F. B. Col=C3=B2" wrote:
> Hello everyone
>
> I'm trying to setup some static routes on a freebsd  box for some=20
> public addresses , the machine has two ethernet cards *em0 *and *em1=20
> ***, *em0* is attached to a Cisco internet router and *em1* is=20
> connected to a switch, both interfaces have  public addresses of the=20
> same range , *em1 *appears has absolutely no communication=20
It would be helpful if you provided the specific IP addresses you're=20
talking about, complete with the masks, and specific commands you enter, =

or conf file lines you add or modify.  For starters, when you talk about =

"both interfaces have  public addresses of the same range" that's not a=20
precise enough description for me to know if you mean two addresses on=20
the same subnet or two addresses, each in different subnets (though they =

may be adjacent or part of the same larger network).  If you do, in=20
fact, mean two addresses in the same network, then your IP topology is=20
broken if you think you can do layer 3 routing between them, and the=20
very first thing you'll need to do is come up with a legal addressing=20
scheme.  (Or consider layer 2 bridging, which has other design=20
implications of its own but might work better for you....)


> ,  i took a look at the static routes and there is a route for the=20
> subnet that it goes to *em0* , i'm trying to add a static route for=20
> the ip address pointing to the***em1 *without pass gateway using=20
> *-iface* parameter but always returns "Network unreachble",=20
Something is confused, so it would be better to give us the output=20
you're looking at rather than your interpretation of that output.

Not to say that somebody else may not be able to figure out precisely=20
what's going on based on this description, but I'm much more likely to=20
spot what's going wrong with specific information: actual configs;=20
actual output.

--Jon Radel
jon@radel.com


--------------ms050304090202050109060307
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
D//gsWD9Gm9oUZljjRqLpcxCm5t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IZ2WWv6eGTPpBRaDkC14HtwxRLR4Z/
KRvWyI5lfRqizMHj765ERGTnuadoJAmuSe2+4XxosDd2rQQKKwAAAAAAAA==
--------------ms050304090202050109060307--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?545BEA8A.9070607>