# SLES 15 network config commands

**URL:** <https://forums.suse.com/t/sles-15-network-config-commands/39543>\
**Category:** General\
**Created:** [November 25, 2022, 3:14pm UTC](https://forums.suse.com/t/sles-15-network-config-commands/39543 "2022-11-25T15:14:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![towe](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@towe](https://forums.suse.com/u/towe)\
**Post date:** [November 25, 2022, 3:14pm UTC](https://forums.suse.com/t/sles-15-network-config-commands/39543/1 "2022-11-25T15:14:13Z")

</div>

Hi

I want to be able to add and remove a seconday adress to eth0 using command line.  
I want to avoid hacking the network files, not sure if “ip a add {ip\_addr/mask} dev {interface}” will change the static adress or add (dont have the possibillity to play around)

Appreciate if anyone of you experts can assist with a cmd.

//Tord

---

<div class="post-metadata">

**Author:** ![ReneckRS](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@ReneckRS](https://forums.suse.com/u/ReneckRS)\
**Post date:** [December 1, 2022, 5:57pm UTC](https://forums.suse.com/t/sles-15-network-config-commands/39543/2 "2022-12-01T17:57:56Z")

</div>

> [@towe](#):
>
> ip\_addr/

These words means alot and I appreciate your efforts SLES 15
