LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-13-2013, 12:07 AM   #1
sunveer
Member
 
Registered: Jul 2012
Posts: 137

Rep: Reputation: Disabled
LXC Containers Ping Problem


I have setup two debian LXC containers on a debian host.

I have used bridge network and network is as follows:

host: ip - 192.168.1.20
container1: ip - 192.168.1.2
container2: ip - 192.168.1.3

I can ping host to both containers and vice versa but cannot ping container1 from container2 or container2 from container1. I get "Destination Host unreachable message". There is no firewall setup in any of the machines not even at host.

Also, I haved added default gateway of 192.168.1.20 on container1 and container2.

I can ping external computer on LAN and external computer can also ping LXC guest but the LXC containers can't ping one another.

I am using LXC network type as veth. Should I use macvlan?

Last edited by sunveer; 10-13-2013 at 08:28 AM.
 
Old 10-15-2013, 11:52 AM   #2
laxit
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
check if the hardware address of both the container are same in config file ??
if yes delete or comment that line ..
 
Old 10-16-2013, 05:04 AM   #3
sunveer
Member
 
Registered: Jul 2012
Posts: 137

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by laxit View Post
check if the hardware address of both the container are same in config file ??
if yes delete or comment that line ..
Thank you sir for that but I had already solved my problem and I had told you about that. Thank you for supporting others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Debian Virtualization: LXC Application Containers LXer Syndicated Linux News 0 08-12-2013 05:40 PM
LXer: How to use Linux containers (lxc) under Debian Squeeze LXer Syndicated Linux News 0 09-20-2011 10:00 PM
[SOLVED] Bridging with lxc-containers problem. scam Slackware 4 09-14-2011 05:52 AM
Problem setting up LXC containers wolf0403 Linux - Server 0 05-23-2011 06:11 AM
vzdump equivalent for lxc containers bigaddo81 Linux - Virtualization and Cloud 0 06-06-2010 09:28 PM


All times are GMT -5. The time now is 05:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration