Manual routing
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Sat Dec 8 11:43:38 PST 2007
>>
>> I have 2 machines (A and B) interconnected by a cable network
>> crossover; added the following addresses on the network card:
>>
>> Machine "A": 192.168.1.1/24
>> Machine "B": 10.10.1.1/24
>>
>> Question: How would for these machines to communicate, adding routes manually?
no way. select same subnet
>>
>> Thanks
>>
>> --
>> Celso Vianna
>> BSD User: 51318
>> http://www.bsdcounter.org
>>
>> 63 8404-8559
>> Palmas/TO
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
> There shouldn't need to be any changes to the routing tables needed if they are
> directly connected. If they do need to be on seperate subnets, then you can add
> aliases to each interface so that they see each other as on the same subnet.
>
> On machine "A":
> # ifconfig <interface> alias 10.10.1.2 255.255.255.0 (Any number that isn't 0, 1, or 255 ought
> to work for the interface address but we'll use 2 for simplicity)
>
> On machine "B":
> # ifconfig <interface> alias 192.168.1.2 255.255.255.0
>
> Hopefully this helps you.
>
> --
> David Michael Curry (Dave)
> <dave at ysarro.com>
>
> () ASCII Ribbon Campaign | Against HTML e-mail
> /\ www.asciiribbon.org | Against proprietary extensions
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
More information about the freebsd-questions
mailing list