# Listen for requests on this interface
interface=br0
# Address range to draw from
dhcp-range=192.168.1.5,192.168.1.250,255.255.255.0,24h
# Default route for clients (the address we used in /etc/systemd/network/br0.network)
dhcp-option=option:router,192.168.1.1
cat /etc/systemd/network/
br0.netdev
[NetDev]
Name=br0
Kind=bridge
br0.network
[Match]
Name=br0
[Network]
Address=192.168.1.1/24
IPForward=ipv4
#IPMasquerade=yes not activ while I need 1 Gbit/s between wan and br0
ConfigureWithoutCarrier=yes
ArchLinux with Dnsmasq as router
in Marvell mvebu
Posted
Hi!
I have a Espressobin V7 and would make a router with this tutorial
https://blog.tjll.net/building-my-perfect-router/
Dnsmasq is nativ with ArchLinux ARM
That is dnsmasq.conf of the floder /etc
# Listen for requests on this interface interface=br0 # Address range to draw from dhcp-range=192.168.1.5,192.168.1.250,255.255.255.0,24h # Default route for clients (the address we used in /etc/systemd/network/br0.network) dhcp-option=option:router,192.168.1.1
cat /etc/systemd/network/
br0.netdev
[NetDev] Name=br0 Kind=bridge
br0.network
[Match] Name=br0 [Network] Address=192.168.1.1/24 IPForward=ipv4 #IPMasquerade=yes not activ while I need 1 Gbit/s between wan and br0 ConfigureWithoutCarrier=yes
eth0.network
[Match] Name=eth0
lan.network
[Match] Name=lan* [Network] Bridge=br0 BindCarrier=eth0
wan.network
[Match] Name=wan [Network] DHCP=yes DNSSEC=no BindCarrier=eth0 IPForward=ipv4
Error when i start dnsmasq with
systemctl start dnsmasq
May 13 00:49:46 alarm systemd-resolved[344]: Using degraded feature set (UDP) f> May 13 00:49:50 alarm systemd-resolved[344]: Using degraded feature set (UDP) f> lines 2046-2068/2068 (END)[ 1302.028960] audit: type=1130 audit(1557699855.230:359): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dnsmasq comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 1302.048344] audit: type=1131 audit(1557699855.230:360): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dnsmasq comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 1302.105771] audit: type=1130 audit(1557699855.310:361): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dnsmasq comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
ifconfig
What is wrong ?
And have also no Internet
I pluged a FritzBox 5490 with DHCP v6 and v4 to the Wan Port
Shorewall is not running