Skip to content

Instantly share code, notes, and snippets.

@goraj
Created June 6, 2024 10:01
Show Gist options
  • Save goraj/825bf9feaed66d04ee9684ba1a7d8e4e to your computer and use it in GitHub Desktop.
Save goraj/825bf9feaed66d04ee9684ba1a7d8e4e to your computer and use it in GitHub Desktop.
OpenWRT Telekom VDSL2 bridge
# /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd00:ab:cd::/48'
config device
option name 'eth0'
option macaddr '...'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth1'
config device
option name 'eth1'
option macaddr '...'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'dsl'
option proto 'pppoe'
option username '****************************@t-online.de'
option password '********'
option ipv6 'auto'
option device 'eth0.7'
option peerdns '0'
list dns '8.8.8.8'
option keepalive '10 1'
config device
option type '8021q'
option ifname 'eth0'
# /etc/ppp/config
debug
logfile /dev/null
#logfile /tmp/pppd.log
noipdefault
noaccomp
nopcomp
nocrtscts
lock
maxfail 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment