Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2011 10:45:27 +0200
From:      Damien Fleuriot <ml@my.gd>
To:        Bernt Hansson <bernt@bah.homeip.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Two Networks on one System
Message-ID:  <4E01ABA7.9020808@my.gd>
In-Reply-To: <4E01A478.3020101@bah.homeip.net>
References:  <201106211128.p5LBSvCe095130@x.it.okstate.edu>	<4E0196E4.2060900@bah.homeip.net> <4E019DAD.2070608@my.gd> <4E01A478.3020101@bah.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/22/11 10:14 AM, Bernt Hansson wrote:
> 2011-06-22 09:45, Damien Fleuriot skrev:
>> On 6/22/11 9:16 AM, Bernt Hansson wrote:
>>>
>>> Have you tried route add netA netB or route add netB netA
>>>
>>>
>>
>> No offense but please do not give random, untested advice.
> 
> No offense, but it is tested.
> 
> route add 192.0.0.192 10.0.0.3
> Works like a charm.
> 

Sure does, however this is not what the OP wants.


>> What you just wrote reads as:
>> - if you want to go to network A, do that through network B
>> - if you want to go to network B, do that through network A
> 
> And the OP whanted that.
> 

No he wants 2 public IPs in 2 different subnets to be reachable and
working for internet clients.

You won't be able to do it with conventional means like "route add".



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