Re: pppoe
I have both a ppp over modem connection to one intranet
(for security reasons) and dsl to the rest of the world
(for speed). My route table looks like:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
158.111.42.129 * 255.255.255.255 UH 0 0 0 ppp1
adsl-33-141-1.a * 255.255.255.255 UH 0 0 0 ppp0
192.168.118.0 * 255.255.255.0 U 0 0 0 vmnet8
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
158.111.0.0 * 255.255.0.0 U 0 0 0 ppp1
224.0.0.0 * 240.0.0.0 U 0 0 0 eth0
default adsl-33-141-1.a 0.0.0.0 UG 0 0 0 ppp0
Note how ppp0 (dsl) has both a 255.255.255.255 mask entry and
the 0.0.0.0 mask entry (for default line). Similarly, note how
ppp1 has both a 255.255.255.255 entry and the 255.255.0.0 entry
to route to that network.
Now the best way to rig it so it comes up automagically I'm not
sure. I run a hand built script to pick up my ppp1 additional
route. I also run by hand pon blat-provider for modem connection
whereas my dsl comes up with the -on-boot script.
On Fri, 2002-07-26 at 10:39, Curtis Vaughan wrote:
> In brief, WHAT?
>
> Are you saying that I should set up a virtual interface? e.g., ppp0:0 ?
>
> If so, let's say the first IP address in the block is 128.12.13.137.
> ppp0 has this address and a netmask of 255.255.255.255.
> Should I set ppp0:0 to the same IP address? Doubtful.
> I did try setting ppp0:0 to the next IP address in the block, but it
> didn't seem to work. I could, of course, try again.
>
> Thanks for any additional input.
>
> Curtis
>
> On Friday, July 26, 2002, at 07:03 , Heitzso wrote:
>
> > shooting from the hip ... I use pppoe and
> > I end up with 2 route entries .... one with
> > netmask 255.255.255.255 and the other rigged
> > for default that gateways through the ip setup
> > by ppp0.
> >
> > I believe, (quick rough guess) you need to leave
> > the 255.255.255.255 entry alone and rig up the
> > second route entry with the ...248 netmask.
> >
> >
> > On Thu, 2002-07-25 at 23:34, Curtis Vaughan wrote:
> >> Question:
> >>
> >> When making a PPPoE connection I need to have the netmask for ppp0 be
> >> 255.255.255.248
> >>
> >> Every time I connect, however, I get 255.255.255.255
> >>
> >> What do I need to do to get the netmask I need?
> >>
> >> Curtis
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> >> with a subject of "unsubscribe". Trouble? Contact
> >> listmaster@lists.debian.org
> >>
> >
>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- References:
- Re: pppoe
- From: Curtis Vaughan <curtis@npc-usa.com>