On 2020-01-03, jrmu <j...@ircnow.org> wrote:
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev cpsw0 authproto pap \
> authname '12345...@isp.net' authkey 'abcd1234' up
> dest 0.0.0.1
> #inet6 eui64
> !/sbin/route add default -ifp pppoe0 0.0.0.1
> #!/sbin/route add -inet6 default -ifp pppoe0 fe80::%pppoe0

I had major problems with using 'dest' in hostname.pppoe0.
I ended up having to do something like:

inet 0.0.0.0 255.255.255.255 0.0.0.1 \
pppoedev re0 authproto chap
authname '<USERNAME>' authkey '<PASSWORD>'

etc..

For whatever reason, using 'inet 0.0.0.0 255.255.255.255 NONE \
dest 0.0.0.1' would use this ifconfig command:

ifconfig pppoe0 inet 0.0.0.0 netmask 255.255.255.255  pppoedev re0 authproto 
chap

Where as if you replaced the NONE with 0.0.0.1 and removed the 'dest 0.0.0.1' 
line, it would
run:

ifconfig pppoe0 inet 0.0.0.0 netmask 255.255.255.255 broadcast 0.0.0.1 pppoedev 
re0 authproto chap

And that seemed to make my connection work. I'm not sure why, but it had to do 
something with my side
not accepting the peer's IP.

-Tom

Reply via email to