Linux Container Development
 help / color / mirror / Atom feed
* network namespaces
@ 2014-01-28  4:56 gagandeep singh
       [not found] ` <COL128-W8738C1ACD5845F5152ED5D9AD0-MsuGFMq8XAE@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: gagandeep singh @ 2014-01-28  4:56 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

hi,

 

i am working on network name spaces from last 1 month . i have make a namespace configure all . and make a bridge simply using linux bridge "brctl" .everything is working fine but there is problem regarding domain name server in network namespace when i ping in network name space as 

ip netns exec myvpn ping 8.8.8.8

it works fine

but when i ping as

ip netns exec myvpn ping www.google.com

just error as ping:unknown host

after i see i should use file resolv.conf in /etc/netns/myvpn/

so i copy reolve .conf file from /etc/resolv.conf and resolvconf directory to /etc/netns/myvpn/

now when i ping in netnamespace

"i get error

bind:etc/netns/myvpn/resolve --> /etc/resolve.conf failed no such directory

time out"

please help me how to resolve it thanks 

 

Gagan

 

 

 
 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-04  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28  4:56 network namespaces gagandeep singh
     [not found] ` <COL128-W8738C1ACD5845F5152ED5D9AD0-MsuGFMq8XAE@public.gmane.org>
2014-02-04  7:57   ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox