utorok 3. októbra 2023

wicked configuration on Suse 15

wicked configuration:


How configure network in suse linux?


 


 

 

1) network configuration is:

 cd /etc/sysconfig/network/
 
2) cat ifcfg-eth1



BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.200.56.121/29'
MTU=''
NAME='RTL-8100/8101L/8139 PCI Fast Ethernet Adapter'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'


3) changed IP

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.201.56.121/29'
MTU=''
NAME='RTL-8100/8101L/8139 PCI Fast Ethernet Adapter'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'








4) systemctl restart wicked


server1:/etc/sysconfig/network # systemctl status wicked
● wicked.service - wicked managed network interfaces
   Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; vendor pre>
   Active: active (exited) since Mon 2023-10-02 12:29:05 MDT; 11s ago
  Process: 3242 ExecStop=/usr/sbin/wicked --systemd ifdown all (code=exited, s>
  Process: 3383 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, st>
 Main PID: 3383 (code=exited, status=0/SUCCESS)

Oct 02 12:28:35 server1 systemd[1]: Stopped wicked managed network interfaces.
Oct 02 12:28:35 server1 systemd[1]: Starting wicked managed network interfaces>
Oct 02 12:29:05 server1 wicked[3383]: lo              up
Oct 02 12:29:05 server1 wicked[3383]: eth1            up
Oct 02 12:29:05 server1 wicked[3383]: eth3            no-device
Oct 02 12:29:05 server1 wicked[3383]: eth2            no-device
Oct 02 12:29:05 server1 wicked[3383]: eth0            no-device
Oct 02 12:29:05 server1 systemd[1]: Started wicked managed network interfaces.
lines 1-15/15 (END)

5) it's suse 15

server1:/etc/sysconfig/network # cat /etc/os-release
NAME="SLES"
VERSION="15"
VERSION_ID="15"
PRETTY_NAME="SUSE Linux Enterprise Server 15"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15"
server1:/etc/sysconfig/network #



Žiadne komentáre:

Zverejnenie komentára