View Single Post
Old 27th July 2009
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Default

Thanks for your replies.

Ugh. I think this conversation is starting to go beyond my original intent.

I used an example of "pulling the network cable" to indicate a disruption in the flow of traffic. DSL/PPPoE is not 100% reliable. Service interruptions are bound to happen beyond my control. When they do I don't want to have to worry about having to manually re: initiate the ppp process. That's all.

In the ppp.conf I have values for reconnect...etc which I had figured would reconnect when needed.

Code:
default:
...
 set redial 15 0
 set reconnect 15 10000

pppoe:
...
Routing

Yes I understand what a gateway is. How my ISP has configured their side I am unaware of. My IP always stays the same. My gateway does not (when not enforced) however the one assigned to me is contiguous.

Example:

MY address range: 192.168.20.2 SN 255.255.255.248
Gateway assigned is: 192.168.20.1
However if I don't manually set the gateway I seem to get other gateway's which are probably from one superblock owned by my ISP.

Regarding manually setting my IP/GW

Code:
set ifaddr 192.168.20.2 192.168.20.1 255.255.255.248
Routing looks something like:
Code:
 route -n show -inet | grep tun0
default            192.168.20.1       UGS        0      727     -     8 tun0
192.168.20.1       192.168.20.2       UH         1        2  1500     4 tun0
I cannot ping or access anything.

If I don't set the address/gateway
Code:
#set ifaddr 192.168.20.2 192.168.20.1 255.255.255.248
Code:
route -n show -inet | grep tun0
default            192.168.40.1        UGS        5      252     -     8 tun0
192.168.40.1        192.168.20.2       UH         1        0  1492     4 tun0
However keep in mind the gateway seems to change pretty much on each connect. Usually ranges between something like 191.x.x.x - 193.x.x.x

Also note if setting the same IP/Gateway on my hardware appliance the connection works fine.

PF Load Failure

Also note that after removing the dynamic identifiers in pf.conf for ($ext_if) my pf fails to load again when I restart since tun0 is not ready. I have added up to hostname.tun0.

I'm curious about implementing "kernel" level PPPoE as apposed to what I have now. What is required? It sound's like this may have more desired results.


Thanks for all your help!
Reply With Quote