LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-19-2008, 10:41 PM   #1
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Rep: Reputation: Disabled
[OpenSUSE 10.3] virtual network interface


Does anyone know how to have a virtual interface and make it permanent?
This cannot be done via yast.

I can do ifconfig eth0:0 192.168.25.25 - but once I reboot, it's gone.

I have also tried creating a file /etc/sysconfig/network-scripts/ifcfg-eth0:1

Code:
DEVICE=eth0:1
BOOTPROTO=static
IPADDR=192.168.25.25
NETMASK=255.255.255.0
NETWORK=192.168.25.0
BROADCAST=192.168.25.255
ONBOOT=yes
but when I restart the network (/etc/init.d/network restart) I get the
following and I don't get any eth0:1 interface when I do ifconfig -a.

Code:
Shutting down the NetworkManager                                      done
Shutting down the DHCP DBUS Daemon                                    done
Shutting down the NetworkManagerDispatcher                            done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    lo
    lo        IP address: 127.0.0.1/8
Checking for network time protocol daemon (NTPD):                     doneing
    eth0      device: Broadcom Corporation NetXtreme BCM5722 Gigabit Ethernet PCI Express
    eth0      IP address: 203.10.1.21/24
    eth0:zeus IP address: 203.10.1.21/24
Checking for network time protocol daemon (NTPD):                     doneing
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  done
Would someone know how to set this up?

Thanks.
 
Old 10-20-2008, 12:15 AM   #2
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
-

check this it may solve your problem


-
 
Old 10-20-2008, 03:45 AM   #3
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by megerdin View Post
it doesn't.
 
Old 10-23-2008, 03:26 AM   #4
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
I don't know anymore about that. Somebody may help you more
 
  


Reply

Tags
interface, network, opensuse, virtual


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Traffic Stats on virtual interface santhosh rao Linux - Newbie 2 02-14-2008 03:33 AM
Activating a virtual network interface bolek Programming 1 02-06-2008 09:50 PM
Activating a virtual network interface bolek Linux - Networking 1 02-05-2008 11:12 AM
How define virtual network interface in Suse 9.3 ? tkmbe Suse/Novell 0 08-08-2005 04:21 PM
packet reception by virtual network interface seeker321in Linux - Networking 0 04-19-2002 01:48 PM


All times are GMT -5. The time now is 09:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration