OVH Community, your new community space.

problem whis subnet


poiuty
17-11-2015, 02:16
Ok, I open an incident => ticket 2015111719005041

poiuty
16-11-2015, 17:21
Ok, let`s test without kvm vm. Remove VMAC add ips on host => http://docs.ovh.ca/en/guides-network...an-derivatives


Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 149.202.201.105
	netmask 255.255.255.0
	network 149.202.201.0
	broadcast 149.202.201.255
	gateway 149.202.201.254

auto eth0:0
iface eth0:0 inet static
    address 178.33.98.13
    netmask 255.255.255.255

auto eth0:1
iface eth0:1 inet static
    address 178.33.98.14
    netmask 255.255.255.255

auto eth0:2
iface eth0:2 inet static
        address 178.33.98.15
        netmask 255.255.255.255

post-up /sbin/ifconfig eth0:0 178.33.98.13 netmask 255.255.255.255 broadcast 178.33.98.13
pre-down /sbin/ifconfig eth0:0 down

post-up /sbin/ifconfig eth0:1 178.33.98.14 netmask 255.255.255.255 broadcast 178.33.98.14
pre-down /sbin/ifconfig eth0:1 down

post-up /sbin/ifconfig eth0:2 178.33.98.15 netmask 255.255.255.255 broadcast 178.33.98.15
pre-down /sbin/ifconfig eth0:2 down
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 0c:c4:7a:79:db:54  
          inet addr:149.202.201.105  Bcast:149.202.201.255  Mask:255.255.255.0
          inet6 addr: fe80::ec4:7aff:fe79:db54/64 Scope:Link
          inet6 addr: 2001:41d0:1000:969::/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20893 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3099 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1346969 (1.2 MiB)  TX bytes:314199 (306.8 KiB)

eth0:0    Link encap:Ethernet  HWaddr 0c:c4:7a:79:db:54  
          inet addr:178.33.98.13  Bcast:178.33.98.13  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:1    Link encap:Ethernet  HWaddr 0c:c4:7a:79:db:54  
          inet addr:178.33.98.14  Bcast:178.33.98.14  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0:2    Link encap:Ethernet  HWaddr 0c:c4:7a:79:db:54  
          inet addr:178.33.98.15  Bcast:178.33.98.15  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

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:237 errors:0 dropped:0 overruns:0 frame:0
          TX packets:237 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:22854 (22.3 KiB)  TX bytes:22854 (22.3 KiB)
Ok, look good. Start ping or ssh root@178.33.98.15 => and not work, no ping, no ssh connect to 178.33.98.13 | 178.33.98.14 | 178.33.98.15

poiuty
16-11-2015, 16:25
Get error when move falover ip to another server
*An error occurred on moving the IP 178.33.98.12/30 ... You cannot move this Block because it is splitted*

poiuty
16-11-2015, 15:46
alvaroag , no ping from VM to 149.202.201.254
Try all 4 ips, try recreate VMAC.

alvaroag
16-11-2015, 14:44
Can you ping your gateway?

Also, try removing the VMAC, and creating a new one.

poiuty
16-11-2015, 13:11
Also, I try get tcpdump on node and get some strange ARP spam.

Code:
# tcpdump -ennqti eth0 \( arp or icmp \)
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.174 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.186 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.246 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.244 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.250 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.189 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.246 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.174 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.181 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.171 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.183 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.1 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.170 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.1 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.177 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.192 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.248 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.188 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has 149.202.201.180 tell 149.202.201.253, length 46
00:ff:ff:ff:ff:fe > 0c:c4:7a:79:db:54, IPv4, length 60: 92.222.186.1 > 149.202.201.105: ICMP echo request, id 34118, seq 1, length 12
0c:c4:7a:79:db:54 > 00:ff:ff:ff:ff:ff, IPv4, length 46: 149.202.201.105 > 92.222.186.1: ICMP echo reply, id 34118, seq 1, length 12
...

poiuty
16-11-2015, 13:07
Today I buy test subnet /30
And start add virtual MAC (need for kvm vm)
I cant create MAC for ip 178.33.98.13). I try again and again, but


Ok, I get 178.33.98.12 with MAC 02:00:00:fd:6f:8e
Then I start install KVM VM.

On host => Change sysctl => add
Code:
net.ipv4.ip_forward=1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
On host => Change network => brigde.
Code:
auto lo br0
iface lo inet loopback
iface br0 inet static
	address 149.202.201.105
	netmask 255.255.255.0
	network 149.202.201.0
	broadcast 149.202.201.255
	gateway 149.202.201.254
	bridge_ports eth0
	bridge_stp off
	bridge_fd 1
	bridge_hello 2
	bridge_maxage 12
Code:
# brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.0cc47a79db54	no		eth0
							vnet0
Then I install VM (debian 7) and edit interfaces (my host ip 149.202.201.105 => so I use 149.202.201.254)
http://docs.ovh.ca/en/guides-network...chbang-steamos
Code:
auto lo eth0
iface lo inet loopback
iface eth0 inet static
	address 178.33.98.12
	netmask 255.255.255.255
	broadcast 178.33.98.12
	post-up route add 149.202.201.254 dev eth0
	post-up route add default gw 149.202.201.254
	pre-down route del 149.202.201.254 dev eth0
	pre-down route del default gw 149.202.201.254


I try ping 8.8.8.8 and suddenly it`s not work (on my other servers it`s work fine).


Ok, I check all settings again and again but I dont found a mistake.
Well, then I try Move the failover IPs (subnet) to another server (where same settings VM network -> work)
And suddenly I logout from manager, lol!





How can I fix this?