Hello Eric, I tried to figure out why it is starting in two places. I have
placed in rc.conf.local
up de1
ppp -ddial -unit0 pppoe
as suggested by someone and I get the adsl to stay on tun0 but when booting
stills shows twice.
I tried removing from ppp.conf
redial from Default:
and
dial from pppoe:
without any effect.
I checked my rc.conf file and cannot see a flag for ppp. I have pf=YES and
routed="-q", inet=NO
I can connect to the internet from the firewall but the connected OpenBSD's
are unable to connect through the OpenBSD firewall.
I did a tcpdump -i on de1 and when I ping 10.0.0.1 I see activity on the
ext_if but the pinging computer shows no route to host.
Will keep digging into this over the weekend.
Thanks again for your help,
rogern
John 3:16
From: Eric Dillenseger <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: misc@openbsd.org
Subject: Re: adsl ppp tun questions and routing questions
Date: Fri, 9 Sep 2005 10:38:08 +0200
On 9/9/05, Roger Neth Jr <[EMAIL PROTECTED]> wrote:
> Hello List,
>
>
>
> I don't know how to have ppp pppoe stay on one tun as it is switching
> between tun0 and tun1 on reboots.
>
(snip)
>
Hi Roger,
I'm wondering if you're not starting ppp in 2 places during startup
as, it looks like ppp starts once with tun0 and then it starts again
with tun1.
You may want to check in /etc/ppp/ppp.link{up|down} or
/etc/rc.conf(.local).
Do you start ppp in /etc/rc ? as I can see, it starts before /etc/rc
initializes the network and then another time
>Working in ddial mode
>Using interface: tun0
>setting tty flags
>stray isa irq 3
>pf enabled
>net.inet.ip.forwarding: 0 -> 1
>vm.swapencrypt.enable: 1 -> 0
>starting network
>Working in ddial mode
>Using interface: tun1
Regards,
Eric Dillenseger
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/