LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2017, 07:54 PM   #1
roopkumard19
LQ Newbie
 
Registered: Oct 2017
Posts: 2

Rep: Reputation: Disabled
Unhappy Temporary failure in name resolution while bridging interfaces


Hi All,

I'm trying to build a mesh network using batman-adv. My goal is to give internet connectivity to the mesh network. I was able to form a simple mesh network between 2 raspberry pi's. The first Pi is getting the internet connection from my home router through ethernet (eth0) while the wifi interface (wlan0) of both the pi's are used for forming the mesh network via adding them to the batman-adv virtual interface bat0. Now, I bridged the eth0 and bat0 of the first Pi using bridge-utils, so that the mesh network will get the internet connection. When I try to ping from the first Pi to the internet, I'm getting the error "Temporary failure in name resolution". I have also tried to do a NAT forwarding between the two interfaces using Iptables, but it is not working. Please note, only after bridging the ethernet interface (eth0) and the virtual interface (bat0), I'm not able to connect to the internet. I have disabled the dhcpcd and wpa_supplcant as it will interfere with the mesh networks. Here is my /etc/network/interfaces file of the first Pi,

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.102
netmask 255.255.255.0
gateway 192.168.0.1
---------------------------
my /etc/resolv.conf,

nameserver 8.8.8.8
nameserver 127.0.1.1
nameserver 192.168.0.1 #gateway
----------------------------
My exact requirement with a picture can be found here
Kindly let me know where did I go wrong. Appreciate the response!

Last edited by roopkumard19; 10-13-2017 at 08:56 PM.
 
Old 10-14-2017, 08:36 PM   #2
roopkumard19
LQ Newbie
 
Registered: Oct 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Problem got resolved. I made a mistake in bridging the interfaces.
 
  


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
A **Temporary** failure in name resolution Henster Linux - Networking 9 06-12-2009 01:50 PM
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 08:59 PM
Temporary failure in name resolution stuffradio Fedora 1 12-07-2006 11:55 PM
Temporary failure in name resolution blunt Slackware 1 10-31-2006 12:23 PM
Temporary Failure in Name Resolution ewto Linux - General 2 07-15-2005 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration