OpenVZ Forum


Home » General » Support » Centos 6.2 + 2x eth (eth0, eth1) problem URGENT: ( (i use OpenVZ on this host)
icon5.gif  Centos 6.2 + 2x eth (eth0, eth1) problem URGENT: ( [message #45940] Thu, 19 April 2012 15:39
luna is currently offline  luna
Messages: 1
Registered: April 2012
Junior Member
I have a server with CentOS 5.5 +, for him there are two network cards, eth0 for addressing the public and eth1 for local addressing, both cards plugged in physically separate networks, and administrative access network, both networks can communicate through a router that is properly set.

Normal configuration of two gates, the gate is defective route to the gateway for addressing local, and this configuration is working properly.

The problem is in Centos 6 +, is set like the other servers, and only works addressing local, when I change the default gw route to the gate for addressing the public but the public does not work local, network cards are individually set the gate in the configuration files.

The problem occurs only in version 6 +
Please help.

/////////////////////////////////////////////////////////

Information for network problems.

== BEGIN uname -rmi ==
2.6.32-042stab053.5 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-2.el6.centos.7.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.2 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Disabled
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 7812 4800 3012 0 9 379
-/+ buffers/cache: 4411 3401
Swap: 4999 516 4483
== END free -m ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DMI [8086:d130] (rev 11)
00:08.0 System peripheral [0880]: Intel Corporation Core Processor System Management Registers [8086:d155] (rev 11)
00:08.1 System peripheral [0880]: Intel Corporation Core Processor Semaphore and Scratchpad Registers [8086:d156] (rev 11)
00:08.2 System peripheral [0880]: Intel Corporation Core Processor System Control and Status Registers [8086:d157] (rev 11)
00:08.3 System peripheral [0880]: Intel Corporation Core Processor Miscellaneous Registers [8086:d158] (rev 11)
00:10.0 System peripheral [0880]: Intel Corporation Core Processor QPI Link [8086:d150] (rev 11)
00:10.1 System peripheral [0880]: Intel Corporation Core Processor QPI Routing and Protocol Registers [8086:d151] (rev 11)
00:19.0 Ethernet controller [0200]: Intel Corporation 82578DM Gigabit Network Connection [8086:10ef] (rev 05)
00:1a.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 [8086:3b42] (rev 05)
00:1c.4 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 [8086:3b4a] (rev 05)
00:1c.6 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 [8086:3b4e] (rev 05)
00:1c.7 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 [8086:3b50] (rev 05)
00:1d.0 USB controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 05)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a5)
00:1f.0 ISA bridge [0601]: Intel Corporation 3400 Series Chipset LPC Interface Controller [8086:3b14] (rev 05)
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 SATA Controller [RAID mode] [8086:2822] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 05)
02:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
05:03.0 VGA compatible controller [0300]: Silicon Motion, Inc. SM712 LynxEM+ [126f:0712] (rev b0)
== END lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 002 Device 012: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
== END lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:15:17:FE:61:0F
inet addr:91.217.X.3 Bcast:91.217.X.255 Mask:255.255.255.0
inet6 addr: fe80::215:X:X:610f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:144556 errors:0 dropped:0 overruns:0 frame:0
TX packets:131296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12865800 (12.2 MiB) TX bytes:9150914 (8.7 MiB)
Interrupt:16 Memory:b1100000-b1120000

eth1 Link encap:Ethernet HWaddr 00:15:17:FE:61:0E
inet addr:172.16.20.1 Bcast:172.31.255.255 Mask:255.240.0.0
inet6 addr: fe80::215:X:X:610e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14746453 errors:0 dropped:0 overruns:0 frame:0
TX packets:41379034 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3623200792 (3.3 GiB) TX bytes:52596893006 (48.9 GiB)
Interrupt:16 Memory:b1000000-b1020000

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:33758484 errors:0 dropped:0 overruns:0 frame:0
TX packets:33758484 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48206771196 (44.8 GiB) TX bytes:48206771196 (44.8 GiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:207414970 errors:0 dropped:0 overruns:0 frame:0
TX packets:218291922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:99898250735 (93.0 GiB) TX bytes:138246058117 (128.7 GiB)

== END ifconfig -a ==

== BEGIN brctl show ==
bridge name bridge id STP enabled interfaces
== END brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.22.1 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.1.5 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
172.16.25.1 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
172.16.29.1 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
91.217.X.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
172.16.0.0 0.0.0.0 255.240.0.0 U 0 0 0 eth1
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
nameserver 62.233.233.233
nameserver 8.8.8.8
nameserver 91.217.X.10
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
matahari-network 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

 
Read Message icon5.gif
Previous Topic: new linux user would like to try openvz a few questions
Next Topic: centos + OpenVZ network issue
Goto Forum:
  


Current Time: Sat Aug 02 05:40:13 GMT 2025

Total time taken to generate the page: 0.42986 seconds