poiuty
17-11-2015, 03:16
Ok, I open an incident => ticket 2015111719005041
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
# 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)
# 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 ...
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
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
# brctl show bridge name bridge id STP enabled interfaces br0 8000.0cc47a79db54 no eth0 vnet0
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