Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2001 12:54:05 -0800
From:      Steve Wingate <steve@velosystems.net>
To:        "Danny" <danny@hiteknology.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Multiple NICs, different subnets, same router - complications!
Message-ID:  <20011207125405.1fb93847.steve@velosystems.net>
In-Reply-To: <001601c17f59$80603490$020144c0@danny>
References:  <001601c17f59$80603490$020144c0@danny>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Dec 2001 14:58:12 -0500
"Danny" <danny@hiteknology.net> wrote:

> 
> 	Hi there. I recently obtained a couple more IP's from my cable
> modem provider, but they are not on the same subnet as the original IP,
> however, the gateway's are the same as the first IP. 

You lost me here already. The gateway for a given IP has to be on the same subnet as the given IP. ie, if IP 192.168.1.254 has gateway IP 192.168.1.1, IP 192.168.2.254 can't use 192.168.1.254 as it's gateway also because it would have to leave the subnet, thereby going thru the gateway, just to get to the gateway... which obviously doesn't make any sense. Could you explain this a bit more?

>I tried using
> alias'd IP's but just ran into serious problems (I'm assuming because
> the cable co's router didn't like me trying to use multiple IP's with
> the same MAC address). So, I installed another NIC and config'd that to
> one of the multiple IP's. This has been working fine, but just recently
> I was bombarded with errors in the format of:
> 
> /kernel: arp: [default gateway ip] is on rl0 but got reply from [ep1 MAC
> address] on ep1
> 
> And also:
> 
> /kernel: arp: [my ip #2] is on lo0 but got reply from [ep1 MAC address]
> on ep1
> 
> This odd part is that my second IP (#2) isn't the primary network
> interface used for outgoing traffic; I don't receive any messages from
> this primary interface. I'm pretty lost here so help would be greatly
> appreciated. Thanks
> 
> -----------------------------------------
> PGP Key @ |http://hiteknology.net/~danny/
>           |==============================
>           |     danny@hiteknology.net
> -----------------------------------------
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

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?20011207125405.1fb93847.steve>