Solved

multiple ip addresses

Posted on 2006-10-21
2
268 Views
Last Modified: 2013-12-27
I've added some ip address such as

added to the /etc/hosts file

10.1.3.10     server1
10.1.3.11     server2
10.1.3.12     server3
10.1.3.13     server4
10.1.3.14     server5
10.1.3.15     server6

I plumed the interface and brought them up.

How do I set these so they come back up when reboot since these use a different netmask and broadcast than my regular IP address

I can add hostname files such as

/etc/hostname.hme0


question I have is how will it know the netmask and broadcast I need to use with these such as

255.255.255.0   and  10.1.3.255

is there a way to add this to the netmask file?

Thanks,

0
Comment
Question by:bt707
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
Nukfror earned 500 total points
ID: 17781219
Just setup a /etc/hostname.hme0:1 as:
10.1.3.10

Setup /etc/hostname.hme0:2 as:
10.1.3.11

and so on.

Generally you setup the netmask in /etc/netmasks:

10.1.3.0 255.255.255.0
0
 

Author Comment

by:bt707
ID: 17782101
Thanks Nukfror
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vmware Vswitch  VS  Redhat  Bridge 1 136
Can I delete authorized_keys in FreeBSD 1 118
MarkLogic 1 116
unable to put logic for reading multiple repo in a single file 4 102
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question