LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-26-2018, 11:41 PM   #1
rohits
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Rep: Reputation: Disabled
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!
 
Old 04-27-2018, 04:22 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
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.
 
Old 04-27-2018, 05:56 AM   #3
rohits
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-27-2018, 06:39 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Is NetworkManager running? How did you configure a static IP address?
 
Old 04-27-2018, 06:46 AM   #5
rohits
LQ Newbie
 
Registered: Nov 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
[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.
 
Old 04-27-2018, 08:22 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
You can not do both.
 
Old 04-27-2018, 08:46 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,345
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
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.

Last edited by frankbell; 04-27-2018 at 08:47 PM.
 
  


Reply



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
[SOLVED] I have added external lan card of intel pro/1000gt but thats not showing in Ubuntu yurmuki Linux - Networking 1 08-27-2013 12:02 PM
[SOLVED] Suggestions communicating computer with external world matiasar Linux - Hardware 3 03-01-2011 06:37 AM
wireless card pinging external to Linksys router? JonesUMD Linux - Wireless Networking 0 12-27-2004 02:12 AM
SuSe 7.0 not communicating with Network (internal or external) jmnovak Linux - Networking 1 02-27-2002 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:41 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