Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-12-2013, 11:07 PM   #1
Registered: Jul 2012
Posts: 139

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 -
container1: ip -
container2: ip -

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 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 07:28 AM.
Old 10-15-2013, 10:52 AM   #2
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, 04:04 AM   #3
Registered: Jul 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
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.


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

All times are GMT -5. The time now is 01:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration