Re: DSL Subnet over PPPoE Problem
From: David Efflandt (efflandt_at_xnet.com)
Date: 09/09/03
- Next message: Mallik: "TCP/IP offload support on Linux"
- Previous message: Lenard: "Re: orinoco_cs driver problem: device initialization failure"
- In reply to: Jean-Philippe Côté: "Re: DSL Subnet over PPPoE Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 9 Sep 2003 03:23:00 +0000 (UTC)
On 8 Sep 2003 17:34:18 -0700, Jean-Philippe Côté <jpcot@yahoo.com> wrote:
> Monzai,
>
> When I try to run the command you suggested, I get the following
> error: "SIOCADDRT: Network is unreachable". I did find another way to
> make it work though.
>
> It seems Linux won't accept a network address for a gateway... As you
> might know, the /30 subnet I was awarded comprises the following:
>
> xx.xx.161.92 (network address)
> xx.xx.161.93 (usable ip)
> xx.xx.161.94 (usable ip)
> xx.xx.161.95 (broadcast address)
>
> This means that by setting the gateway to xx.xx.161.92 I'm actually
> directing the nodes to a network address. Mac OS X and Windows 98 have
> no problem with this but it seems RedHat 9 Linux does. To circumvent
> the problem, I assigned a netmask of 255.255.255.240 (instead of
> 255.255.255.252). By doing so, my Linux box doesn't think that
> 66.11.161.92 is a network address anymore and it works like a charm
> (so far).
>
> I do not know enough about networking to foresee all the implications
> of such a change. Do you know if I should expect problems in the
> future by faking it this way ? Is there a proper way to do this ? Have
> you ever experienced such a problem ?
There is nothing that says a gateway has to be in the same network, even a
totally different private IP could be used as gw (as is commonly done for
ppp or pppoe), by using a host route to the gateway (if the gateway device
is capable of that).
However, when using hardware broadband routers, your options are often
limited to a specified subnet. So if your method gets the job done, that
is all that matters.
>> Dear JP,
>> you need a default route!
>> route add default 66.11.161.92 ;-)
>> I'm not sure if it works on rh9... just try
>> Cheers,
>> Monzai
>>
>> JP if you have your line up then visit http://www.monzai.com/
-- David Efflandt - All spam ignored http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
- Next message: Mallik: "TCP/IP offload support on Linux"
- Previous message: Lenard: "Re: orinoco_cs driver problem: device initialization failure"
- In reply to: Jean-Philippe Côté: "Re: DSL Subnet over PPPoE Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|