IPv6 configuration

Hello, I was trying to add a PPPoE IPv6+IPv4 wan connection to my gateway.
Does anybody know if there's a way to "throw away" the IPv4 that the second PPoE connection gives me?
The first one is the ISP's PPPoE that gives me an IPv4 address
The second one is from the ISP too, but the given IPv4 doesn't work well… (it's slow and drops packets).

Here's the config

config interface 'wan'
	option ifname 'dsl0.835'
	option proto 'pppoe'
	option keepalive '0'
	option username '<redacted>'
	option password 'aliceadsl'
	option dns '1.1.1.1 1.0.0.1'


config interface 'zwan'
	option ifname 'dsl0.835'
	option proto 'pppoe'
	option username 'adsl@alice6.it'
	option password 'adsl@alice6.it'
	option ipv6 'auto'
	option dns '2606:4700:4700::1111 2606:4700:4700::1001'
	option auto '0'

The z in the IPv6 WAN is because I read on the docs that IPs would be used by lexicographical order of interfaces

So thanks to @jow_ over IRC #openwrt! He suggested me to add option pppd_options 'noip' and it worked!

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.