OpenVZ Forum


Home » General » Support » Network down after 5 minutes. Only restarting fixes
Network down after 5 minutes. Only restarting fixes [message #38281] Thu, 03 December 2009 17:27 Go to next message
gr33d is currently offline  gr33d
Messages: 2
Registered: December 2009
Junior Member
Host: CentOS 5.4
Guest: CentOS 5.4 Minimal

New install from the quickstart page(s)--made it to the basic operation page and started having network problems. I have tried iptables -F to no avail.

Network goes down about 5 minutes after starting my guest. I had the network up long enough (once) to download a webmin rpm and install it. I even set the root user password and logged in long enough to look at the "Linux Firewall" module of webmin. I was trying to add entries that way and it went down before I could add a rule.

I need ports 3690, 80 and 22 open and everything else blocked. And, of course, I need to be able to access the guest Wink

routing:
0: from all lookup 255
32766: from all lookup main
32767: from all lookup default

netfilter (command from sticky post)
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Please let me know if I can provide additional information, and thanks in advance!
Re: Network down after 5 minutes. Only restarting fixes [message #38297 is a reply to message #38281] Fri, 04 December 2009 14:57 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

http://forum.openvz.org/index.php?t=msg&th=5501&star t=0&

# arp -n (from the HN)
# use tcpdump to trace network packets.
Re: Network down after 5 minutes. Only restarting fixes [message #38787 is a reply to message #38297] Thu, 28 January 2010 16:31 Go to previous message
gr33d is currently offline  gr33d
Messages: 2
Registered: December 2009
Junior Member
Address HWtype HWaddress Flags Mask Iface
1.1.1.5 ether 00:13:F7:C8:06:8E C eth0
1.1.1.1 ether 00:18:F8:7C:21:81 C eth0
1.1.1.3 * * MP eth0

HN: 1.1.1.2
VE: 1.1.1.3

i have inbound traffic (ssh, http and echo-request work fine) but no outbound traffic. could iptables on the HN be the problem?

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT udp -- anywhere anywhere udp dpt:bootps
ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
fail2ban-ssh tcp -- anywhere anywhere tcp dpt:ssh

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
ACCEPT all -- 192.168.122.0/24 anywhere
ACCEPT all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere


not sure how to use tcpdump. it gives me a crapload of output--most of it probably from a constant ping running for about the last 2 days.
Previous Topic: HN beancounters and system memory.
Next Topic: Limit Upload/Download Speed in OpenVZ
Goto Forum:
  


Current Time: Wed Jul 02 02:55:23 GMT 2025

Total time taken to generate the page: 0.04811 seconds