Ubuntu is not pinging/communicating to external LAN
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ubuntu is not pinging/communicating to external LAN
Hello Guru's,
I have an issue with my newly installed ubuntu 4.8.2-19ubuntu1 in virtual box. The setup was pre-installed .OVA file imported to Virtual Box.
After defining static IP Address, Subnet Mask and Gateways I am able to ping the internal network but not the external networks.
I tried disabling firewall of Ubuntu, but nothing helped.
I have one observation: When I reboot the Ubuntu machine, during booting up ping comes in the external LAN as well but after the machine is up, ping stops.
I am also not able to take SSH, RDP or send any request to the machine.
Please help!
How is the VirtualBox network configured? Without knowing how networking is configured it is difficult to help. When pinging are you using IP addresses or hosts naes?
By default Ubuntu uses NetworkManager to configure networking and by not disabling it when using a static IP address you might have conflicts. When using a static IP address you also need to configure the DNS servers or you will not be able to resolves URLs.
Hi Michaelk,
How is the VirtualBox network configured?
Ans: Virtual box networked is configured as Bridge Network.
Without knowing how networking is configured it is difficult to help.
When pinging are you using IP addresses or hosts names?
Ans: I am pining the IP Address of the external LAN machines.
[QUOTE=michaelk;5847908]Is NetworkManager running?
Ans: Yes, Network Manager is running.
How did you configure a static IP address?
Ans: I have configured the IP address in Network Connection's Ethernet connection.
And also configured the settings in /etc/network/interfaces.
To build on what michaelk said, do you use network manager if you are setting the ip address in /etc/network/interfaces.
What are you using as a DNS server in the interfaces file? Is the external LAN registered with a DNS server (that is, is it registered with a domain registrar)? If not, you may have to use a hosts file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.