Two Networks on one System

Damien Fleuriot ml at my.gd
Wed Jun 22 08:45:32 UTC 2011


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".


More information about the freebsd-questions mailing list