Re: Manual routing
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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" 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 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 alias 192.168.1.2 255.255.255.0 Hopefully this helps you. -- David Michael Curry (Dave) <[EMAIL PROTECTED]> () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Manual routing
On Sat, Dec 08, 2007 at 05:03:03AM -0300, Celso Viana wrote: > Hi All, > > 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? > > Thanks > > -- > Celso Vianna > BSD User: 51318 > http://www.bsdcounter.org > > 63 8404-8559 > Palmas/TO > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" 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 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 alias 192.168.1.2 255.255.255.0 Hopefully this helps you. -- David Michael Curry (Dave) <[EMAIL PROTECTED]> () ASCII Ribbon Campaign | Against HTML e-mail /\ www.asciiribbon.org | Against proprietary extensions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Manual routing
For example you can try using 192.168.1.1/24 on A and 192.168.1.2/24 on B and it will work! - Original Message From: Celso Viana <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Sent: Saturday, December 8, 2007 9:03:03 AM Subject: Manual routing Hi All, 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? Thanks -- Celso Vianna BSD User: 51318 http://www.bsdcounter.org 63 8404-8559 Palmas/TO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Manual routing
Celso Viana wrote: 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? The easiest would be to configure them for the same subnet, there is no point in having them on separate subnets and the same physical network. Cheers, Erik -- Erik Nørgaard Ph: +34.666334818 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"