Re: network namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gagandeep singh <gaganthaparian@xxxxxxxxxxx> writes:

> 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 


It sounds like your dns server specified in /etc/resolv.conf is simply
not reachable from your network namespace.

Without at least a shell script to reproduce what you have done I don't
expect anyone will be able to help you.

Eric

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers




[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux