Solved

multiple ip addresses

Posted on 2006-10-21
2
263 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
2 Comments
 
LVL 10

Accepted Solution

by:
Nukfror earned 500 total points
Comment Utility
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
Comment Utility
Thanks Nukfror
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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 …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now