IP Address Linux Containers


 
Thread Tools Search this Thread
Special Forums IP Networking IP Address Linux Containers
# 1  
Old 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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Looking for equivalent of Solaris containers/zones in RHEL7 Linux

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

2. UNIX for Beginners Questions & Answers

Linux Containers - /proc mounting and other queries

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

3. Red Hat

Ip address of Linux server

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

4. Shell Programming and Scripting

Adding 'from' email address alias in Linux.

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

5. UNIX for Dummies Questions & Answers

[Solved] Can't get on internet with Linux Static IP address and Linksys Router.

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

6. UNIX for Advanced & Expert Users

What is the function to get address of the virtual memory block in linux??

I want address of current virtual memory block? i am using fedora10:wall::wall: (1 Reply)
Discussion started by: powyama
1 Replies

7. Shell Programming and Scripting

External IP Address of Linux Server

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

8. UNIX for Dummies Questions & Answers

Sign up address for linux forum eNews

Does anyone have this handy Thanks (0 Replies)
Discussion started by: 77yrold
0 Replies

9. UNIX for Advanced & Expert Users

detect mac address modication in linux

Hi, How Detect the mac address modification of a machine...in linux Thanks (1 Reply)
Discussion started by: shivarajM
1 Replies

10. UNIX for Dummies Questions & Answers

How to check theip address on Redhat Linux 9

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
Login or Register to Ask a Question
CL_STATUS(1)							   User commands						      CL_STATUS(1)

NAME
cl_status - Check status of the High-Availability Linux (Linux-HA) subsystem SYNOPSIS
cl_status sub-command options parameters DESCRIPTION
cl_status is used to check the status of the High-Availability Linux subsystem. SUPPORTED SUB-COMMANDS hbstatus Indicate if heartbeat is running on the local system. listnodes List the nodes in the cluster. nodetype ping|normal List the nodes of the given type. Note Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. listhblinks node List the network interfaces used as heartbeat links. node should be specified as listed in the ha.cf(5) file for the cluster. hblinkstatus node link Show the status of a heartbeat link. node should be specified as listed in the ha.cf(5) file for the cluster. link should be as per the output of the listhblinks subcommand. clientstatus node client [timeout] Show the status of heartbeat clients. node and client should be specified as listed in the ha.cf(5) file for the cluster. Timeout is in milliseconds, the default is 100ms. rscstatus Show the status of cluster resources. Status will be one of: local, foreign, all or none. Note This option is deprecated, it is obsolete in Pacemaker clusters. parameter -p parameter Retrieve the value of cluster parameters. The parameters may be one of the following: apiauth, auto_failback, baud, debug, debugfile, deadping, deadtime, hbversion, hopfudge, initdead, keepalive, logfacility, logfile, msgfmt, nice_failback, node, normalpoll, stonith, udpport, warntime, watchdog. Note Some of these options are deprecated; see ha.cf(5) OPTIONS
The following options are supported by heartbeat: -m Make the output more human readable. The default output should be easier for scripts to parse. Available with all commands. -p List only 'ping' nodes. Available with listnodes sub-command. Note Ping nodes are obsolete in Pacemaker cluster, having been replaced with the pingd resource agent. -n List only 'normal' nodes. Available with listnodes sub-command. SEE ALSO
heartbeat(8), ha.cf(5), authkeys(5) AUTHORS
Alan Robertson <alanr@unix.sh> cl_status Juan Pedro Paredes Caballero <juampe@retemail.es> man page Simon Horman <horms@verge.net.au> man page Florian Haas <florian.haas@linbit.com> man page Heartbeat 3.0.5 24 Nov 2009 CL_STATUS(1)