[CentOS] network intermitent, not sure if virtualization issue
Bob Hoffman
bob at bobhoffman.com
Fri Feb 3 20:58:09 UTC 2012
This only happens every so often, not like every 5 minutes.
When I woke up today and tried to access VM I could not.
Via the actual host I could see it was running and actually use it via
virtual
manager. I was only able to access ftp, http, etc after a network restart.
The network restart shut down the connection, it did not fail then
start, it
shut down and reupped.
On the virtual machine, which is having the issue, this is my eth0
(I have been commenting out things to see if anything changes the issue.)
DEVICE="eth0"
NM_CONTROLLED="no"
ONBOOT=yes
HWADDR=52:54:00:D1:B3:46
TYPE=Ethernet
BOOTPROTO=none
IPADDR=199.204.135.123
#PREFIX=28
GATEWAY=199.204.135.113
DNS1=8.8.8.8
DNS2=8.8.4.4
DOMAIN=mike.hoffmanartdesign.com
#DEFROUTE=yes
#IPV4_FAILURE_FATAL=no
#IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
usrctl=no
on the main machine which experiences no problems.
eth0 and 1 onboard, eth 2 add on card, all are the same except
hwaddress, uuid, etc.
DEVICE="eth1"
NM_CONTROLLED="no"
ONBOOT=yes
HWADDR=00:25:90:2B:23:C3
TYPE=Ethernet
MASTER=bond0
SLAVE=yes
BOOTPROTO=none
NAME="System eth1"
UUID=9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04
usrctl=no
(tried playing with bonding mode, but got nowhere there, again, the host
machine never has an issue)
DEVICE="bond0"
NM_CONTROLLED="no"
BOOTPROTO=none
BRIDGE=vbr0
ONBOOT=yes
userctl=no
#IPADDR=199.204.135.120
#NETWORK=199.204.135.112
#NETMASK=255.255.255.240
#GATEWAY=199.204.135.113
BONDING_OPTS="mode=6 miimon=100"
DEVICE="vbr0"
NM_CONTROLLED="no"
TYPE="Bridge"
BOOTPROTO="none"
IPADDR=199.204.135.120
NETWORK=199.204.135.112
NETMASK=255.255.255.240
GATEWAY=199.204.135.113
DNS1=8.8.8.8
DNS2=8.8.4.4
ONBOOT=yes
userctl=no
not sure why vnet0 shows up in ifconfig, it is there and sometimes it is
not depending on boot....
[root at main ~]# ifconfig
bond0 Link encap:Ethernet HWaddr 00:25:90:2B:23:C2
inet6 addr: fe80::225:90ff:fe2b:23c2/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:676 errors:0 dropped:0 overruns:0 frame:0
TX packets:6754 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:68718 (67.1 KiB) TX bytes:976214 (953.3 KiB)
eth0 Link encap:Ethernet HWaddr 00:25:90:2B:23:C2
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:653 errors:0 dropped:0 overruns:0 frame:0
TX packets:3706 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:67104 (65.5 KiB) TX bytes:792687 (774.1 KiB)
Memory:fbe60000-fbe80000
eth1 Link encap:Ethernet HWaddr 00:25:90:2B:23:C3
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:3048 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1614 (1.5 KiB) TX bytes:183527 (179.2 KiB)
Memory:fbee0000-fbf00000
eth2 Link encap:Ethernet HWaddr 00:1B:21:C6:E2:67
UP BROADCAST SLAVE MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:26 Memory:fbd20000-fbd40000
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vbr0 Link encap:Ethernet HWaddr 00:25:90:2B:23:C2
inet addr:199.204.135.120 Bcast:199.204.135.127
Mask:255.255.255.240
inet6 addr: fe80::225:90ff:fe2b:23c2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:263 errors:0 dropped:0 overruns:0 frame:0
TX packets:183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24452 (23.8 KiB) TX bytes:77041 (75.2 KiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:9E:3F:9D
inet addr:192.168.122.1 Bcast:192.168.122.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:3066 (2.9 KiB)
vnet0 Link encap:Ethernet HWaddr FE:54:00:D1:B3:46
inet6 addr: fe80::fc54:ff:fed1:b346/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:483086 (471.7 KiB) TX bytes:47788 (46.6 KiB)
On virtual machine
[root at mike ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:D1:B3:46
inet addr:199.204.135.123 Bcast:199.204.135.255
Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fed1:b346/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94981 errors:0 dropped:0 overruns:0 frame:0
TX packets:69706 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:83070095 (79.2 MiB) TX bytes:15019279 (14.3 MiB)
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:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4153 (4.0 KiB) TX bytes:4153 (4.0 KiB)
On 2/3/2012 3:45 PM, Digimer wrote:
>
> lman/listinfo/centos
> Please share more information on your configuration, including
> configuration files. Particularly your eth, bond and bridge
> configurations.
>
More information about the CentOS
mailing list