Date: Wed, 3 Jan 2001 08:48:59 +1300 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: "Brent B. Powers" <powers@b2pi.com> Cc: freebsd-questions@freebsd.org Subject: Re: Networking and forwarding woes Message-ID: <20010103084859.D62613@itouchnz.itouch> In-Reply-To: <14930.11427.396120.786032@Max.B2Pi.com>; from powers@b2pi.com on Tue, Jan 02, 2001 at 02:31:47PM -0500 References: <14927.2712.916173.916547@Max.B2Pi.com> <20010103081434.B62613@itouchnz.itouch> <14930.11427.396120.786032@Max.B2Pi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 02, 2001 at 02:31:47PM -0500, Brent B. Powers wrote: > >>>>> "Jonathan" == Jonathan Chen <jonathan.chen@itouch.co.nz> writes: > > Jonathan> On Sun, Dec 31, 2000 at 05:29:44AM -0500, Brent B.Powers > Jonathan> wrote: > >> Having received no answers to my previous query, I've decided > >> to step back a bit. I have one box with two NIC's. That's > >> it. No cables, no routers, no bridges, no purpose for these > >> NIC's, other than to do IP-forwarding in the degenerate sense. > >> > >> At various times in the last two hours I've verified that both > >> cards do work, although I've never seen them working at the > >> same time. > >> > >> Nevertheless, I can only ping one of them. It seems as though I > >> ought be able to ping both of them. Am I wrong in this, or am I > >> doing something wrong? > > Jonathan> Have you made sure they're configured for separate > Jonathan> networks? Not 2 different IPs on the same network? > > Yes, they are on the same network, but this is required. My IP's are > xxx.xxx.xxx.185 through xxx.xxx.xxx.192. However, the fact that > they're on the same network shouldn't affect the fact that I can't > ping them, since there are no wires leaving the box. Well, having 2 NICs using 2 different IPs on the same network on the same box *is* a problem (even with no other wires connecting them). Your ping to the 2nd card is going out via the 1st since the dest IP is on same network as the 1st card; and since they're not connected to a hub, nothing's happening. 2 NICs using 2 IPs on the same network is a misconfiguration. You need to configure your multi-homed host so that your 2 cards are on different networks. If you want your card to the 'Net to respond to several IPs, you can configure it to use IP-aliasing. [...] > I'm absolutely certain that my shoes are down! I'm not real sure about > anything else, other than the situation that I want is to use > eventually is along the lines of > > +---------+ > | | +---- 185 > | | | > 1 192 | | +---- 186 > internet -----| de0 | | > | | 188 +---- 187 > | rl0 |---------+ > | | +---- 189 > | | | > | | +---- 190 > | | | > +---------+ +---- 191 > FreeBSD Hmm, could you please explain what sort of network solution you're trying to achieve here? Maybe we (the list) could come up with an alternative that would work. -- Jonathan Chen <jonathan.chen@itouch.co.nz> ---------------------------------------------------------------------- If you're right 90% of the time, why quibble about the remaining 3%? 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?20010103084859.D62613>