Re: Gateway in a different net
From: Bill Vermillion (bv_at_wjv.com)
Date: Fri, 15 Oct 2004 14:05:01 GMT
In article <firstname.lastname@example.org>,
+Alan Hicks+ <email@example.comWORK> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>In comp.unix.bsd.freebsd.misc, Alexander Lapp dared to utter,
>> Unfortunately it is necessary to set up a route to another net
>> to reach the gateway. How can I realize this?
>Um, this shouldn't be possible. You can only reach machines on your
>local network address space as determined by your IP and netmask. To
>reach others, you have to pass through a gateway (a.k.a. router).
And the OP didn't give any details of his system.
In his rc.conf he at least needs the defaultrouter directive.
It also easy to make the local machine an router.
Those command could include gateway_enable and/or router_enable.
>> The server ip is: x.x.118.91 and the gateway to reach the net is
>Most likely you have your netmask set wrong. You're probably using a
>255.255.255.0 netmask, which would let you reach IPs x.x.118.1-255.
>What happens if you use something like 255.255.0.0? Granted, that
>probably isn't your proper netmask and that can create problems
>reaching certain IP addresses, but should let you talk to that router.
And the OP never even said that those are on his local network.
He just routed out eth0 and we have no clue as to what is connected
>First thing to do is contact your ISP or network admin and verify that
>your IP settings are correct.
As they say 'the devil is in the details'. And I've never
been able to determing just who 'they' are.
-- Bill Vermillion - bv @ wjv . com