Date: Thu, 7 Nov 2002 09:23:32 +0200 From: David =?iso-8859-1?Q?Sieb=F6rger?= <drs@rucus.ru.ac.za> To: Alireza Mahini <alirezamahini@yahoo.com> Cc: questions@freebsd.org Subject: Re: How can i use multiple ethernet card for data transfer in my program( in C language)? Message-ID: <20021107072332.GA385@rucus.ru.ac.za> In-Reply-To: <20021107033002.47061.qmail@web40702.mail.yahoo.com> References: <20021107033002.47061.qmail@web40702.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 7:30 PM on Wednesday 6 November 2002, Alireza Mahini wrote: > I have two ethernet card(NIC)im my computer .Their > characteristics are: > > name:rl0 > ip:128.128.64.235 > netmask:255.255.0.0 > broadcast:128.128.255.255 > > name:rl1 > ip:128.128.65.235 > netmask:255.255.0.0 > broadcast:128.128.255.255 Notice that you've configured both of these interfaces on the same subnet: 128.128.0.0/16. I doubt that's what you intended. The operating system will create one route to the 128.128.0.0/16 network and will send packets through that route. I would suggest you change the netmasks to 255.255.255.0. Or read up on IP subnetting and rethink your network topology. -- David Siebörger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021107072332.GA385>