Hello all,

I currently have a single line DSL connection with my ISP and I am considering getting a 2nd IP from them for a second domain. The DSL modem (a speedtouch 516 which has a single ethernet connection to the LAN) is in bridge mode so the OpenBSD firewall handles the connection/authentication.

I was wondering if there is a way to have ppp/pppoe bind a second IP address to one DSL connection? And if this is possible, would the IPs then be bound to tun0:0 and tun0:1? I cannot find an answer to this in my research.

This is my current setup for a single IP, which works wonderfully:

In /etc/rc.local:

if [ -f /is_fw0 ]; then
   echo -n ' PPPoE ';
   ppp -ddial pppoe
   sleep 2
fi

In /etc/ppp/ppp.conf:

default:
set log Phase Chat IPCP CCP tun command
set redial 3 0
set reconnect 5 100000

pppoe:
set device "!/usr/sbin/pppoe -i ne3"
set mtu 1492
set mrru 1524
set speed sync
set cd 5
set dial
set login
set timeout 0
set authname myusername
set authkey mypassword
add! default HISADDR
enable dns
enable mssfixup



--

- RSM

http://erratic.ca

Reply via email to