KnowHow DB
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

WAN configuration for suisse ISP sunrise

Sunrise uses vlan id 131.

  1. Edit /etc/config/network
    config interface 'wan'
            option pppd_options 'debug'
            option proto 'dhcp'
            option device 'br-wan'
    
    config device
        	option name 'br-wan'
            option type 'bridge'
            list ports 'dsl0'
            list ports 'dsl0.131'
    
  2. Save and reload configs
    reload_config
    
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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 'fda4:3e80:2c40::/48'

config atm-bridge 'atm'
        option vpi '1'
        option vci '32'
        option encaps 'llc'
        option payload 'bridged'
        option nameprefix 'dsl'

config dsl 'dsl'
        option annex 'b'
        option tone 'av'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config device
        option name 'lan1'
        option macaddr '08:96:D7:34:BA:CB'

config device
        option name 'lan2'
        option macaddr '08:96:D7:34:BA:CB'

config device
        option name 'lan3'
        option macaddr '08:96:D7:34:BA:CB'

config device
        option name 'lan4'
        option macaddr '08:96:D7:34:BA:CB'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config device
        option name 'dsl0'
        option macaddr '08:96:D7:34:BA:CE'

config interface 'wan'
        option pppd_options 'debug'
        option proto 'dhcp'
        option device 'br-wan'

config device
        option name 'br-wan'
        option type 'bridge'
        list ports 'dsl0'
        list ports 'dsl0.131'

Alternatively you can configure the interface in via the UI:

  1. Create a new interface wan and set the protocol to DHCP

    WAN general settings

  2. Switch to physical settins tab and check bridge interface. Then enter interface dsl0 and dsl0.131.

    WAN physical settings

  3. After some time it should look like this

    Interfaces