Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm struggling to setup virtual eth interface on Suse 12

When I run:

ipconfig eth0:1 netmask

Output from ifconfig is as expected:

eth0      Link encap:Ethernet  HWaddr 00:01:02:03:04:05
          inet addr:  Bcast:  Mask:

eth0:1    Link encap:Ethernet  HWaddr 00:01:02:03:04:05
          inet addr:  Bcast:  Mask:

lo        Link encap:Local Loopback
          inet addr:  Mask:

However this setup is not persistent. When the system is restarted I can no longer see eth0:1

I tried adding the IPADDR1='' to the /etc/sysconfig/network/if-eth0 config file and that seems to be working fine BUT I cannot see eth0:1 in the ifconfig output ?

am I missing something?

share|improve this question

migrated from Apr 10 at 21:46

This question came from our site for system and network administrators.

1 Answer 1

up vote 0 down vote accepted

After long search I have found the answer:

Looks like virtual/alias interfaces are deprecated and should be avoided and one should rather add multiple IP addresses directly to eth0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.