User Tools

Site Tools


technical:26.04_ultimate_ubuntu_server_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:26.04_ultimate_ubuntu_server_install [2026/06/08 22:56] – [Allow IP routing internally] mark_scottworld.nettechnical:26.04_ultimate_ubuntu_server_install [2026/06/08 23:00] (current) – [Network Interface Configuration (Netplan)] mark_scottworld.net
Line 114: Line 114:
  
 Content of the 00-solaris.yaml Content of the 00-solaris.yaml
 +
 +<code>
 +# This is the network config made for solaris
 +network:
 +  version: 2
 +  renderer: networkd
 +  ethernets:
 +    en01: {}
 +
 +  bridges:
 +    br0:
 +      critical: true
 +      dhcp4: false
 +      addresses: [ 10.3.200.1/16 ]
 +      routes:
 +       - to: default
 +         via: 10.3.1.1
 +      nameservers:
 +        search: [ scottworld.net ]
 +        addresses: [ 10.3.200.1 ]
 +      interfaces: [ en01 ]
 +      parameters:
 +        stp: false
 +      # Disable IPv6
 +      dhcp6: false
 +      accept-ra: no
 +      link-local: []
 +</code>
 +
 +Disable the cloud network configuration.
 +
 +  touch /etc/cloud/cloud-init.disabled
 +  
 +You can check it with
 +
 +  cloud-init status
 +
 +Update the permissions on the netplan config to remove the global r/w permissions
 +
 +  chomd 600 /etc/netplan/00-solaris.yaml
 +
 +Apply the changes
 +
 +  netplan --debug apply
 +
 +Reboot and check the network configuration with 
 +
 +  ip addr
 +
 +You should have an interface of br0: with the ip you specified.
 +
 +<code>
 +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
 +    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 +    inet 127.0.0.1/8 scope host lo
 +       valid_lft forever preferred_lft forever
 +    inet6 ::1/128 scope host noprefixroute
 +       valid_lft forever preferred_lft forever
 +2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
 +    link/ether 52:54:00:eb:cb:22 brd ff:ff:ff:ff:ff:ff
 +    altname enx525400ebcb22
 +3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
 +    link/ether e2:d0:4d:d7:1f:0d brd ff:ff:ff:ff:ff:ff
 +    inet 10.3.200.10/16 brd 10.3.255.255 scope global br0
 +       valid_lft forever preferred_lft forever
 +</code>
 +
 +Edit the file
 +
 +  nano //etc//hosts
 +
 +Comment out the entry for 127.0.1.1 and replace it with a Global server value.
 +
 +  10.3.200.1 solaris.scottworld.net solaris
technical/26.04_ultimate_ubuntu_server_install.1780952187.txt.gz · Last modified: by mark_scottworld.net

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki