Quantcast
Channel: VMware Communities : Popular Discussions - General Issues
Viewing all articles
Browse latest Browse all 41042

No network access on debian host randomly, any ideas?

$
0
0

Hello,

 

I installed VMWare server on a Debian Poweredge 1600sc server a while ago and P2V'd a Windows 2003 SBS server onto it.  It normally works fine but now and again the host server loses connection with network.  When it happens I can't ping anything by IP or name, but the gateway and IP information looks correct.  I'm not sure I've got networking setup correctly.  I have 2 NICS in the server, one of which I want the Debian server to use for all it's samba shares and apache hosting, and the other that is just for 1 virtual machine.  The Server 2003 guest server has one virtual network card with the IP address 192.168.202.201.  I can "fix" the problem by running /etc/init.d/networking restart on the host.  The route and ifconfig tables don't change when the network stops working.

 

Anyone have any advise as to where to start looking?  I'm not sure I want to have a bridged network, I'm only going to ever have one virtual machine with one network card using the dedicated NIC eth1.  Can anyone tell me if I can set the network up differently without a bridge, or if I've missed something please?

 

It's running as a bridged connection as per the following:

 

 

ifconfig

eth0      Link encap:Ethernet  HWaddr 00:c0:9f:13:52:a3

inet addr:192.168.202.202  Bcast:192.168.202.255  Mask:255.255.255.0

inet6 addr: fe80::2c0:9fff:fe13:52a3/64 Scope:Link

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

RX packets:2022962 errors:0 dropped:0 overruns:0 frame:0

TX packets:3254656 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:1465851541 (1.3 GiB)  TX bytes:3817238458 (3.5 GiB)

 

eth1      Link encap:Ethernet  HWaddr 00:11:95:de:c6:4a

inet addr:192.168.202.203  Bcast:192.168.202.255  Mask:255.255.255.0

inet6 addr: fe80::211:95ff:fede:c64a/64 Scope:Link

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

RX packets:3456727 errors:0 dropped:0 overruns:0 frame:0

TX packets:3726559 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2363196447 (2.2 GiB)  TX bytes:2330101806 (2.1 GiB)

Interrupt:25

 

lo        Link encap:Local Loopback

inet addr:127.0.0.1  Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING  MTU:16436  Metric:1

RX packets:5400 errors:0 dropped:0 overruns:0 frame:0

TX packets:5400 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:570123 (556.7 KiB)  TX bytes:570123 (556.7 KiB)

 

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:c0:00:01

inet addr:172.16.212.1  Bcast:172.16.212.255  Mask:255.255.255.0

inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:373 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:c0:00:08

inet addr:172.16.123.1  Bcast:172.16.123.255  Mask:255.255.255.0

inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link

UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:373 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

 

 

 

route

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

172.16.212.0    *               255.255.255.0   U     0      0        0 vmnet1

localnet        *               255.255.255.0   U     0      0        0 eth0

localnet        *               255.255.255.0   U     0      0        0 eth1

172.16.123.0    *               255.255.255.0   U     0      0        0 vmnet8

default         192.168.202.254 0.0.0.0         UG    0      0        0 eth0

 

 

 

/etc/network/interfaces

 

  1. The loopback network interface

auto lo

iface lo inet loopback

 

  1. The primary network interface

allow-hotplug eth0

auto eth0

iface eth0 inet static

address 192.168.202.202

netmask 255.255.255.0

network 192.168.202.0

broadcast 192.168.202.255

gateway 192.168.202.254

  1. dns-* options are implemented by the resolvconf package, if installed

dns-nameservers 192.168.202.201 192.168.202.202 192.168.202.254

dns-search domain.local

up ethtool -s eth0 speed 1000 duplex full

auto eth1

iface eth1 inet static

address 192.168.202.203

netmask 255.255.255.0

network 192.168.202.0

broadcast 192.168.202.255

 

 

I get the following errors in the logs below when it loses network connection:

 

syslog

Sep 28 17:29:34 servertron ntpd[3623]: kernel time sync status change 0001

Sep 28 17:39:01 servertron /USR/SBIN/CRON[5575]: (root) CMD (  && && find /var/lib/php5/ -type f -cmin$

Sep 28 17:45:34 servertron /USR/SBIN/CRON[5594]: (root) CMD (curl --silent --compressed http://www.asite.com/cron.php)

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns.webfusion.co.uk/AAAA/IN': 2001:630:181:35::83#53

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns2.webfusion.co.uk/AAAA/IN': 2001:630:181:35::83#53

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns.webfusion.co.uk/AAAA/IN': 2a01:40:1001:35::2#53

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns2.webfusion.co.uk/AAAA/IN': 2a01:40:1001:35::2#53

 

 

daemon.log

Sep 28 16:04:09 servertron ntpd[3623]: synchronized to 192.168.202.201, stratum 3

Sep 28 16:04:09 servertron ntpd[3623]: kernel time sync status change 4001

Sep 28 17:29:34 servertron ntpd[3623]: kernel time sync status change 0001

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns.webfusion.co.uk/AAAA/IN': 2001:630:181:35::83#53

Sep 28 17:45:41 servertron named[2616]: network unreachable resolving 'ns2.webfusion.co.uk/AAAA/IN': 2001:630:181:35::83#53


Viewing all articles
Browse latest Browse all 41042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>