Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2008 18:12:43 +0100
From:      Laszlo Nagy <gandalf@shopzeus.com>
To:        Steve Bertrand <iaccounts@ibctech.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: routing question
Message-ID:  <4793810B.1090901@shopzeus.com>
In-Reply-To: <478F8732.4040208@shopzeus.com>
References:  <478F64CF.7000603@shopzeus.com> <478F7142.8040506@ibctech.ca>	<478F731B.5050201@shopzeus.com> <478F8732.4040208@shopzeus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Laszlo Nagy írta:
>
>>> - ping from pc on 0.0 network to 192.168.2.138
>>>   
>> Well, I cannot do this from here. Those computers are X terminals, 
>> they do not run inetd nor sshd. I cannot login from here and I cannot 
>> leave now, but I can do it later if necessary.
>>
>>> - sysctl -a net.inet.ip.forwarding (on the GatewayComp)
>>>   
>> cassiopeia# sysctl -a net.inet.ip.forwarding
>> net.inet.ip.forwarding: 1
>> cassiopeia#
>>
>>
>> I can answer the missed question in about an hour.
>
> I'm sorry, not today. I'll try tomorrow.
I did it. It was not working: could not ping 192.168.2.138 from 
192.168.0.114.  Then I added a static route

-net 192.168.2.0 192.168.0.1 255.255.255.0

and it started to work. But here is something I still do not understand. 
The given gateway 192.168.0.1 was already the default gateway. Why do I 
need to add another gateway to the routing table to make it work? I have 
similar installations and specifing one default gateway did the work so far.

Thanks,

   Laszlo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4793810B.1090901>