[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIOCAIFADDR



On Fri, 18 May 2001, Flinn Mueller wrote:

> [host [1] 192.168.1.2]
> 	|
> 	|  crossconnect
> 	|
> 	[gateway [1] 192.168.1.1]-[gateway [1] 192.168.0.2]
> 						|
> 					         [hub]
> 						|
> 				[gateway [2] 192.168.0.1]-[gateway [2] 24.0.0.0.....]
> 								|
> 								|
> 							       [internet]
>
> I don't know if that makes it more or less clear.  Basically I seem to be
> having problems between the crossconnect, I have set auto, 10, 100, full-dup
> about every option I could.  I could ping myself at 192.168.1.1 from myself,
> could ping 192.168.1.1 from 192.168.1.2, but not 192.168.1.2 from 192.168.1.2,
> from 192.168.0.2 I can ping 192.168.0.1, 192.168.0.1 can ping 192.168.0.2.
> The host 1 is Windows 2000, gateway 1 is OpenBSD 2.9, and gateway 2 is
> Windows 98.

Has 'gateway [1]' above got IP forwarding enabled ?
(sysctl -w net.inet.ip.forwarding=1)

'gateway [2]' above needs to know about 192.168.1.0/24, otherwise
it'll send packets to 192.168.1.2 through its default gateway, and
never reach their intended destination.  So, it needs a static
route added for 192.168.1.0/24 through gateway 192.168.0.2


Chris Foote
chris@foote.com.au
ph: +61 42 10101 88