Home Forums Software discussion OS – ubuntu Static IP Address Assignment

This topic contains 16 replies, has 8 voices, and was last updated by  steve 2 months ago.

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #1536

    armbian
    Participant

    You need to use systemd style of networking.

    Take a look at these:
    https://github.com/armbian/build/tree/master/packages/bsp/mvebu64
    https://github.com/armbian/build/blob/master/config/sources/mvebu64.conf#L60-L67

    All those features are built into latest:

    Espressobin


    Rather start with it – it’s in a much better state than anything else. Menu driven network config is also planned.

    #5414

    steve
    Participant

    I can get manual ip’s on the interfaces manually, but need to read the docs to automate it on boot…
    My setup is using dnsmasq and its working after I set the interfaces up, and I get a DHCP on a test system.

    Most of my setup is default, this is what I do at the moment. Note I am using Armbian:

    #Setup on the network is below. I then run
    ip link set lan1 up

    #Then restart dnsmasq to git a DHCP ip on my test system.
    systemctl restart dnsmasq

    #My network config thats not default:

    ==> /etc/systemd/network/10-lan1.network <==
    [Match]
    Name=lan1

    [Network]
    #IPForward=ipv4
    Address=192.168.200.1/24

    ==> /etc/systemd/network/10-br0.network <==
    [Match]
    Name=br0

    [Network]
    Address=192.168.15.253/24
    Gateway=192.168.15.1
    DNS=192.168.15.1

Viewing 2 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic.

Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop