Hallo zusammen,
bin mit OpenBSD noch nicht so vertraut, deswegen wende ich mich mal an Euch Profis:
Habe ein 3.6er OpenBSD laufen, die Kiste dient als Router. Habe jedoch 2 DSL Leitungen, die über 2 externe Netzwerkkarten laufen (über pppoe). Wie ich das Ganze mit einer Leitung aufziehe, weiss ich, jedoch nicht mit 2 Leitungen.
Meine config Files für eine Leitung sehen so aus:
/etc/ppp/ppp.conf
/etc/ppp/ppp.linkup
etc/ppp/ppp.linkdown
/etc/netstart
Was genau muss ich verändern, damit ich die zweite Leitung analog dazu handeln kann?
Vielen Dank an Euch!!!!
Grüße, Walt
bin mit OpenBSD noch nicht so vertraut, deswegen wende ich mich mal an Euch Profis:
Habe ein 3.6er OpenBSD laufen, die Kiste dient als Router. Habe jedoch 2 DSL Leitungen, die über 2 externe Netzwerkkarten laufen (über pppoe). Wie ich das Ganze mit einer Leitung aufziehe, weiss ich, jedoch nicht mit 2 Leitungen.
Meine config Files für eine Leitung sehen so aus:
/etc/ppp/ppp.conf
Code:
default:
set log Phase Chat IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
pppoe:
set device "!/usr/sbin/pppoe -i xl1"
disable acfcomp protocomp
disable ipv6cp
deny acfcomp
set mtu max 1454
set crtscts off
set speed sync
enable lqr
set lqrperiod 5
disable lqr
set dial
set login
set timeout 0
set authname "xxx"
set authkey 12345
add! default HISADDR
enable dns
enable mssfixup
/etc/ppp/ppp.linkup
Code:
MYADDR:
! sh -c "/sbin/ifconfig pflog0 up"
! sh -c "/sbin/pflogd"
! sh -c "/sbin/pfctl -e -F all -f /etc/pf.conf"
etc/ppp/ppp.linkdown
Code:
MYADDR:
! sh -c "/sbin/pfctl -d -F all"
! sh -c "kill `cat /var/run/pflogd.pid`"
! sh -c "/sbin/ifconfig pflog0 down"
! sh -c "/sbin/route delete default"
/etc/netstart
Code:
/usr/bin/touch /etc/ppp/firsttime
/usr/sbin/ppp -ddial pppoe
Was genau muss ich verändern, damit ich die zweite Leitung analog dazu handeln kann?
Vielen Dank an Euch!!!!
Grüße, Walt