Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Routing Issue on KVM Server


    I installed a new KVM *slave* node in SolusVM using Centos 6.6 as the host O/S.

    I routed a /29 as primary on my Cisco switch and a /24 subnet as secondary.

    Problem is, the /24 is not pinging or working except on the gateway and .2 IP. I'm 100% confident they're routed at the switch fine too. Solusvm support sucks, they're not helping out at all.

    Results:

    Code:
    	[ ~]# route -n
    	Kernel IP routing table
    	Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    	xx.xx.37.96    0.0.0.0         255.255.255.248 U     0      0        0 br0
    	xx.xx.127.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
    	192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0
    	169.254.0.0     0.0.0.0         255.255.0.0     U     1006   0        0 br0
    	0.0.0.0         xx.xx.37.97    0.0.0.0         UG    0      0        0 br0
    	[ ~]# brctl show
    	bridge name     bridge id               STP enabled     interfaces
    	br0             8000.14feb5d5284c       no              em1
    															kvm114.0
    	virbr0          8000.525400718478       yes             virbr0-nic
    	[ ~]# ifconfig
    	br0       Link encap:Ethernet  HWaddr 14:FE:B5:D5:28:4C  
    			  inet addr:xx.xx.37.98  Bcast:xx.xx.37.103  Mask:255.255.255.248
    			  inet6 addr: fe80::16fe:b5ff:fed5:284c/64 Scope:Link
    			  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    			  RX packets:56171 errors:0 dropped:0 overruns:0 frame:0
    			  TX packets:9281 errors:0 dropped:0 overruns:0 carrier:0
    			  collisions:0 txqueuelen:0 
    			  RX bytes:3119926 (2.9 MiB)  TX bytes:1328049 (1.2 MiB)
    
    	br0:1     Link encap:Ethernet  HWaddr 14:FE:B5:D5:28:4C  
    			  inet addr:xx.xx.127.2  Bcast:xx.xx.127.255  Mask:255.255.255.0
    			  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    	em1       Link encap:Ethernet  HWaddr 14:FE:B5:D5:28:4C  
    			  inet6 addr: fe80::16fe:b5ff:fed5:284c/64 Scope:Link
    			  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    			  RX packets:798 errors:0 dropped:0 overruns:0 frame:0
    			  TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
    			  collisions:0 txqueuelen:1000 
    			  RX bytes:59796 (58.3 KiB)  TX bytes:36072 (35.2 KiB)
    
    	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:65536  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)
    
    	virbr0    Link encap:Ethernet  HWaddr 52:54:00:71:84:78  
    			  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: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)
    NETWORK CONFIG

    Code:
    	[ network-scripts]# ls -lh
    	total 228K
    	-rw-r--r--. 1 root root  203 Sep 21 16:43 backup-ifcfg-em1
    	-rw-r--r--. 1 root root  116 Sep 21 16:58 ifcfg-br0
    	-rw-r--r--. 1 root root   80 Sep 22 00:38 ifcfg-br0:1
    	-rw-r--r--. 1 root root  149 Sep 21 16:44 ifcfg-em1
    	-rw-r--r--. 1 root root  135 Sep 21 10:01 ifcfg-em2
    	-rw-r--r--. 1 root root  135 Sep 21 10:01 ifcfg-em3
    	-rw-r--r--. 1 root root  135 Sep 21 10:01 ifcfg-em4
    	-rw-r--r--. 1 root root  254 Apr  9 12:44 ifcfg-lo
    
    	[ network-scripts]# cat ifcfg-br0
    	DEVICE=br0
    	TYPE=Bridge
    	BOOTPROTO=static
    	IPADDR=xx.xx.37.98
    	NETMASK=255.255.255.248
    	GATEWAY=xx.xx.37.97
    	ONBOOT=yes
    
    	[ network-scripts]# cat ifcfg-br0:1
    	DEVICE=br0:1
    	ONBOOT=yes
    	BOOTPROTO=none
    	IPADDR=xx.xx.127.2
    	NETMASK=255.255.255.0
    CISCO CONFIG

    The /29 works fine, but the /24 doesn't.
    Code:
    	interface Vlan77
    	description SERVER077
    	ip address xx.xx.127.1 255.255.255.0 secondary
    	ip address xx.xx.37.97 255.255.255.248

  2. #2
    -->
    Would appreciate help on

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •