LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-01-2004, 07:54 AM   #1
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Rep: Reputation: 21
Multiple IP Addresses on Startup


Hi.

I'm running SuSE 9.1 Pro and would like to permanently bind 2 static IP addresses to the same network card.

I can temporarily give myself a second address with:

ifconfig eth0:1 x.x.x.x netmask x.x.x.x

How do I make this permanent? I've had a look in /etc/sysconfig/network and the configuration file for my card is called: ifcfg-eth-id-00:d0:59:36:4a:39

It contains the following:

BOOTPROTO='static'
BROADCAST='76.255.255.255'
IPADDR='76.168.1.252'
MTU=''
NETMASK='255.0.0.0'
NETWORK='76.0.0.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='WL76.x+4TzbL0KL6'
_nm_name='bus-pci-0000:00:09.0'

I feel that I'm almost there - just searching for the missing link...

Do I edit this file in some way, or make a duplicate file called ifcfg-eth-id-00:d0:59:36:4a:39:1 and edit the address in the new file? If so, what does UNIQUE='WL76.x+4TzbL0KL6' do, and does it matter that it would no longer be unique?

Or is there a file somewhere that I can just add: ifconfig eth0:1 x.x.x.x netmask x.x.x.x to?

Mike.
 
Old 12-01-2004, 09:01 AM   #2
mikemrh9
Member
 
Registered: Nov 2003
Distribution: Arch
Posts: 136

Original Poster
Rep: Reputation: 21
My apologies - I also posted this in the Networking forum as an afterthought, where a solution has been posted.

For anybody else who is interested, try http://www.linuxquestions.org/questi...57#post1324457
 
  


Reply



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
Multiple IP Addresses mikemrh9 Linux - Networking 6 05-26-2005 05:15 AM
multiple ip addresses on 1 nic? houler Linux - Networking 4 04-26-2005 03:53 PM
Multiple IP addresses james_cwy Linux - Newbie 6 06-13-2004 11:34 PM
Multiple 'public' ip addresses mcleodnine Linux - Networking 3 05-09-2003 02:04 AM
Multiple IP Addresses meshcurrent Linux - Networking 1 10-12-2002 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration