Project

General

Profile

Tâche #25093

Scénario #24946: EOLE 2.7 : Terminer la gestion du réseau avec netplan

La passerelle ne doit pas être configurée en cas de mode DHCP

Added by Daniel Dehennin almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/21/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision 22059c05 (diff)
Added by Daniel Dehennin almost 2 years ago

netplan: set gateway only for static interface

Ref: #25093

History

#1 Updated by Daniel Dehennin almost 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin almost 2 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.25

#3 Updated by Scrum Master almost 2 years ago

  • Status changed from En cours to Résolu

#4 Updated by Joël Cuissinat almost 2 years ago

root@eolebase:~# cat /etc/netplan/00-eole.yaml 

network:
   version: 2
   renderer: networkd
   ethernets:
        ens4:
            addresses:
                - 192.168.0.24/24
            gateway4: 192.168.0.1

root@eolebase:~# CreoleSet eth0_method dhcp
root@eolebase:~#  CreoleCat -t  00-eole.yaml  
root@eolebase:~# cat /etc/netplan/00-eole.yaml 

network:
   version: 2
   renderer: networkd
   ethernets:
        ens4:
            dhcp4: yes

root@eolebase:~# 

#5 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF