Broadband Related > Broadband Hardware

Modem/Router VDSL2 Technicolor DGA4130 (BCM63138)

<< < (250/250)

nesousx:

--- Quote from: Alex Atkin UK on November 22, 2021, 06:01:25 PM ---If it helps, this is how my HH5a are configured in the UK (have obfuscated the MAC addresses):

--- Code: ---config interface 'loopback'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
        option device 'lo'

config globals 'globals'
        option ula_prefix 'fd76:9236:9ad3::/48'

# Set the DSL parameters
config dsl 'dsl'
        option xfer_mode 'ptm'
        option line_mode 'vdsl'
        option ds_snr_offset '-35'
        option annex 'b'
        option tone 'a'

# Configure the LAN interface
config interface 'lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option gateway '192.168.1.254'
        list dns '192.168.1.254'
        option ipaddr '192.168.1.240'
        option stp '1'
        option device 'br-lan'

# Create VLAN1 interface on the SoC NIC for the LAN
config device 'lan_dev'
        option name 'eth0.1'
        option macaddr '18:1e:78:##:##:##'

# Create the Bridged WAN interface
config interface 'wan'
        option proto 'none'
        option device 'br-wan'

# Baby jumbo frames on the DSL interface
config device 'wan_dev'
        option macaddr '18:1e:78:##:##:##'
        option name 'dsl0'
        option mtu '1508'

# Enable the Switch
config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

# Assign VLAN1 to switch ports 0 1 2 4 and VLAN tag on port 5 (for single cable link to the router option) and the SoC NIC on port 6
config switch_vlan
        option device 'switch0'
        option vlan '1'
        option vid '1'
        option ports '0 1 2 4 5t 6t'

# Assign VLAN2 to switch port 5 and tag on the SoC NIC port 6
config switch_vlan
        option device 'switch0'
        option vlan '2'
        option vid '2'
        option ports '5 6t'

# Bridge the LAN to VLAN 1
config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0.1'
        option igmp_snooping '1'

# Bridge the VDSL VLAN 101 to VLAN 2
config device
        option name 'br-wan'
        option type 'bridge'
        list ports 'eth0.2'
        list ports 'dsl0.101'

--- End code ---

For the WiFi you just add them to the LAN bridge, easiest done in LuCI.  Bear in mind there should be no DHCP enabled on the modem so this wont give you connectivity unless you set a static IP on the device connecting, or have it bridged into the LAN via the router like I do.

On pfSense I have a VLAN1 interface on the WAN ethernet port that bridges into the LAN so I can access the modem UI from the LAN.

--- End quote ---

Thanks for the reply. A couple of question though :

* 192.168.1.254 is your pfsense, right ?
* VLAN 101, is the VLAN used by your ISP ?
* do pfsense see your public IP ?

Alex Atkin UK:

--- Quote from: nesousx on November 22, 2021, 08:08:42 PM ---Thanks for the reply. A couple of question though :

* 192.168.1.254 is your pfsense, right ?
* VLAN 101, is the VLAN used by your ISP ?
* do pfsense see your public IP ?

--- End quote ---

Correct on all the above.

As for the IP, technically you don't need to specify the gateway but I do it as it allows my to install software on OpenWRT via opkg to do things like use it as a Tor proxy.  When there's a box sat there with way more CPU power than it needs to be a bridge, I figure why not use it.

Most ISPs over here use PPPoE for the WAN, but DHCP should work just the same as you're bridging the telcos/ISPs VLAN directly to the WAN port of your router so anything that needs to happen after that point is up to your router.

Navigation

[0] Message Index

[*] Previous page

Go to full version