On Tue, 07 Oct 2003 15:26:38 GMT, Grendell <(E-Mail Removed)> wrote:
> I've posted here before and thanks to all for your help.
>
> my boss tells me that I have one last chance to get this working or I must
> hit the want adds on Friday:
>
> so here we go:::
>
> the computer in question has a ppp connection (ip 203.88.230.11) to the
> internet and a eth0 connection (ip 203.88.230.129) to another two specialty
> devices (ip's 203.88.230.130 and next 230.88.230.131)
> my routing table looks like this at present:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Iface
> 203.88.255.241 0.0.0.0 255.255.255.255 UH ppp0
> 203.88.230.0 203.88.230.129 255.255.255.0 UG eth0
> 203.88.230.0 203.88.230.11 255.255.255.0 UG ppp0
> 203.88.230.0 0.0.0.0 255.255.255.0 U eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U lo
> 0.0.0.0 203.88.230.11 0.0.0.0 UG ppp0
My guess is that you didn't turn IP forwarding on. This should "work",
even though it probably isn't right. Let's go through it.
First, where did you get these addresses? I'm hoping you got them from
an ISP called "Rivers Network" rather than just having made them up.
Also, are they part of a block, or is this all there is? If they are
part of a block, whoever gave them to you would have mentioned something
about netmasks.
Here's what you need to do:
1. Put a proper netmask on eth0. If you only have three addresses, and
they are part of a block, the netmask is probably 255.255.255.248, which
gives you 129-135 on eth0, network of 128 and broadcast of 136. That
will change this entry:
203.88.230.0 203.88.230.129 255.255.255.0 eth0
To this:
203.88.230.128 203.88.230.129 255.255.255.248 eth0
However, if these addresses are "loose", not part of a block, then you
might instead want to set up two host routes, one for 130 and one for
131, with 129 as the gateway. All would have a netmask of 255. That
would give you:
203.88.230.130 203.88.230.129 255.255.255.255 eth0
203.88.230.131 203.88.230.129 255.255.255.255 eth0
Just doing a mask of 255.255.255.0 as you have done will probably "work"
in this case, but is likely to make neighboring addresses unreachable.
For instance, if someone else has 203.88.230.134 and you've got a mask
of 255.255.255.0, you won't be able to talk to them because your router
will assume that they are on your own network. Maybe you don't care.
2. Remove the entry that says 203.88.230.11 is the gateway for
203.88.230.0. It isn't, from the router's point of view.
3. Make 203.88.230.11 the default gateway for your router, which seems
to already be the case. You might want to think about fixing the
netmask on that interface as well.
4. Make 203.88.230.129 the default gateway on both of the other
computers / devices / whatever. Make sure they have the correct
netmasks and such.
5. Make sure IP forwarding is on. Most of the time it is off by
default nowadays. "echo 1 > /proc/sys/net/ipv4/ip_forward".
6. Temporarily disable any firewall rules you or your distro maker have
put in.
Now you've got eth0 and ppp0 on different networks. You've got
forwarding turned on. Your firewall is (temporarily) disabled. You
should be all set.
--
-| Bob Hauck
-| To Whom You Are Speaking
-|
http://www.haucks.org/