03-29-2015
IP Address Linux Containers
Hello All,
Please, i have a problem i try to find a solution since days
i'm a beginner with linux (networking)
In our cluster (10 nodes), we deploy the same image file on each node. So each node has a different ip address. In each image, there are several LXC containers.
When I deploy the same machine image on multiple nodes, I had the same IP address for containers.
Host 1: ip1 Host2: ip2 (ip1#ip2)
ip container c1: 10.0.3.109 ip container c1: 10.0.3.109
ip container c2: 10.0.3.181 ip container c2: 10.0.3.181
Have you an idea please, how can change ip address of containers automatically ?
As i read, i have to change the mac address....
Thanks a lot.
Best Regards.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
How to check theip address on Redhat Linux 9 ?
I have installed a SUN VMWARE and created VM on Vista.
I am on bash and is not able to check the ip of the system.
can someone plz with command ( wit options if any )
Regards,
Subhotech (1 Reply)
Discussion started by: subhotech
1 Replies
2. UNIX for Advanced & Expert Users
Hi,
How Detect the mac address modification of a machine...in linux
Thanks (1 Reply)
Discussion started by: shivarajM
1 Replies
3. UNIX for Dummies Questions & Answers
Does anyone have this handy
Thanks (0 Replies)
Discussion started by: 77yrold
0 Replies
4. Shell Programming and Scripting
Hi,
I am trying to find the external IP address of a server "XXX".
I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45
Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22
Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies
5. UNIX for Advanced & Expert Users
I want address of current virtual memory block?
i am using fedora10:wall::wall: (1 Reply)
Discussion started by: powyama
1 Replies
6. UNIX for Dummies Questions & Answers
I configured my linux server with Static IP address out of the range of the DHCP linksys router, but cannot get on the internet.
When I switch back to "Automatically obtain IP address" ..then I can get on the internet.
Can comeone help with this. (2 Replies)
Discussion started by: FrankOscar
2 Replies
7. Shell Programming and Scripting
Hi Experts,
We want to add the 'from' email address to mailx command in all our linux script. After searching this site I am able to find the command '-- -f' to add the from the email address. Bu the problem is our from email address is :- "Proper Support Name <support@company.com>"
Now when I... (6 Replies)
Discussion started by: Amey Joshi
6 Replies
8. Red Hat
Hi,
How to find ip address of Linux servers ?
I know by ping command we can find ip address but wanted to check with you.
Thanks,
Maddy (5 Replies)
Discussion started by: Maddy123
5 Replies
9. UNIX for Beginners Questions & Answers
Hi guys, I am confused about how containers work in Linux, especially how chrooting works and about how /proc filesystems are mounted.
So please feel to migrate this question to another forum if this is not the right one.
Now, to business.
Okay Dockers can be confusing to the uninitiated... (10 Replies)
Discussion started by: sreyan32
10 Replies
10. Red Hat
Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other.
Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies
LEARN ABOUT OPENSOLARIS
prtfru
prtfru(1M) System Administration Commands prtfru(1M)
NAME
prtfru - print FRUID-specific information about the FRUs on a system or domain
SYNOPSIS
/usr/sbin/prtfru [-d] | [-clx] [container]
DESCRIPTION
The prtfru utility is used to obtain FRUID data from the system or domain. Its output is that of a tree structure echoing the path in the
FRU (Field-Replaceable Unit) tree to each container. When a container is found, the data from that container is printed in a tree-like
structure as well.
prtfru without any arguments will print the FRU hierarchy and all of the FRUID container data. prtfru prints to stdout which may be redi-
rected to a file.
OPTIONS
The following options are supported:
-c Prints only the containers and their data. This option does not print the FRU tree hierarchy.
-d Prints a DTD for the current registry to stdout.
-l Prints only the FRU tree hierarchy. This option does not print the container data.
-x Prints in XML format with a system identifier (SYSTEM) of prtfrureg.dtd.
Options -c and -l can be used together to obtain a list of the containers.
OPERANDS
The folowing operand is supported:
container The name of a particular container in the FRU hierarchy, that is, either the name or path/name of a container as displayed in
the -l option.
EXIT STATUS
The following exit values are returned:
0 All information was found and printed successfully.
>0 An error has occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfruid |
+-----------------------------+-----------------------------+
SEE ALSO
fruadm(1M), attributes(5)
SunOS 5.11 30 May 2002 prtfru(1M)