LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-28-2012, 05:45 PM   #1
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Rep: Reputation: 3
Cannot Restore LAN Connection


I have two servers, 198.162.0.4 and 198.162.0.10, that were connected across a LAN. They are the components of a DMZ where 198.162.0.4 is the wen server and 198.162.0.10 the application server. 198.162.0.4 is running Ubuntu 11.04 while 198.162.0.10 is running Ubuntu 11.10. I had to restart 198.162.0.10 because Unity froze up. (I have since replaced it with Gnome.) Ever since I started it up again, I cannot get connectivity with 198.162.0.4. When I try

Code:
ping 192.162.0.4
I get

Code:
PING 192.162.0.4 (192.162.0.4) 56(84) bytes of data.
That is, it just hangs. I get the same result if I try

Code:
ping 192.162.0.10
on 192.162.0.4.

I had been saving my iptables in iptables.save but now I see that that fie is of zero size for some reason although I had a lot of rules in the IPtable. I tried to fix the problem with

Code:
sudo iptables -A OUTPUT -s 192.162.0.4 -j ACCEPT
sudo iptables -A OUTPUT -d 192.162.0.4 -j ACCEPT
sudo iptables -A INPUT -s 192.162.0.4 -j ACCEPT
sudo iptables -A INPUT -d 192.162.0.4 -j ACCEPT
but it has no effect.

Any assistance would be most appreciated,
Peter.

Last edited by OtagoHarbour; 09-29-2012 at 08:16 AM.
 
Old 09-29-2012, 08:17 AM   #2
OtagoHarbour
Member
 
Registered: Oct 2011
Posts: 332

Original Poster
Rep: Reputation: 3
Code:
sudo iptables -A OUTPUT -s 192.162.0.4 -j ACCEPT
sudo iptables -A OUTPUT -d 192.162.0.4 -j ACCEPT
sudo iptables -A INPUT -s 192.162.0.4 -j ACCEPT
sudo iptables -A INPUT -d 192.162.0.4 -j ACCEPT
I noticed there was a typo in the LAN address. Is there a way I can delet this thread?

Thanks,
Peter
 
  


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
Remote connection problem(build a separated lan in two VPN connected lan) William17 Linux - Networking 0 12-04-2011 01:33 AM
[SOLVED] coexistence of a LAN connection and a broadband mobile connection denis1314 Linux - Networking 6 02-07-2011 01:50 PM
How to restore Ubuntu wifi connection panel? dolphans1 Ubuntu 3 07-12-2010 09:29 AM
How to prioritise LAN connection over WiFi connection __spc__ Linux - Wireless Networking 0 09-05-2008 02:38 PM
How to restore a lost connection??? grobbekuiken Linux - Newbie 0 03-31-2003 01:31 AM

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

All times are GMT -5. The time now is 10:03 AM.

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