Jump to content

Joel Müller

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Joel Müller

  1. 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

     

    [root@alarm ~]# ifconfig
    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.1.1  netmask 255.255.255.0  broadcast 192.168.1.255
            inet6 2a02:120b:c3f6:f671:50ea:a8ff:fe06:b6a  prefixlen 64  scopeid 0x0<global>
            inet6 fe80::50ea:a8ff:fe06:b6a  prefixlen 64  scopeid 0x20<link>
            ether 52:ea:a8:06:0b:6a  txqueuelen 1000  (Ethernet)
            RX packets 722  bytes 408503 (398.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 562  bytes 70734 (69.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1508
            inet6 fe80::f2ad:4eff:fe09:6a7f  prefixlen 64  scopeid 0x20<link>
            ether f0:ad:4e:09:6a:7f  txqueuelen 1024  (Ethernet)
            RX packets 722  bytes 424387 (414.4 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 582  bytes 76891 (75.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            device interrupt 11  
    
    lan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether f0:ad:4e:09:6a:7f  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            ether f0:ad:4e:09:6a:7f  txqueuelen 1000  (Ethernet)
            RX packets 722  bytes 408503 (398.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 562  bytes 70734 (69.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 80  bytes 6320 (6.1 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 80  bytes 6320 (6.1 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wan: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
            ether f0:ad:4e:09:6a:7f  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    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

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines