خرید بک لینک

I am ruing small database website on CherryPy (legacy, not mine codebase) for our lab at The University. We had production host and CherryPy instance (database.uni.edu, mapped to static IP xxx.xxx.xxx.24) for some time.

I wanted to setup a development environment to make changes in codebase safely. So I registered (on the same machine but different physical interface) second host, called database-dev.uni.edu on IP xxx.xxx.xxx.64

All was well until I got message from uni's IT/network people:

    Network access for AA:BB:CC:DD:EE:71 (database.uni.edu) has been disabled at 04/23/16 14:52:16:

  Reason: Host using incorrect IP address
    MAC AA:BB:CC:DD:EE:71 IP XXX.XXX.XXX.64 found in XYZ cache
  Switch: xxx.uni.edu
  Port:   xxx

But the very same people gave me hosts:

  Hostname:    database.uni.edu
  IP address:  xxx.xxx.xxx.24
  Etheet Address:    AA:BB:CC:DD:EE:71
   -
   Hostname:    database-dev.uni.edu
      IP address:  xxx.xxx.xxx.64
      Etheet Address:    AA:BB:CC:DD:EE:70

And interfaces are not manually set, there is DHCP client on both.

Is there a way to debug this? Is it possible that two instances of CherryPy try to hijack each others interfaces for some reason? At what point confusion arises?

This is my info:

# uname -a
Linux database.uni.edu 4.3.5-300.fc23.x86_64 #1 SMP Mon Feb 1 03:18:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

# ifconfig eno1
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet xxx.xxx.xxx.64  netmask 255.255.254.0  broadcast aaaaabbbbc
        inet6 _________70  prefixlen 64  scopeid 0x20<link>
        ether AA:BB:CC:DD:EE:70  txqueuelen 1000  (Etheet)
        RX packets 63597  bytes 10057016 (9.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2504  bytes 1899384 (1.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16

# ifconfig eno2
eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet xxx.xxx.xxx.24  netmask 255.255.254.0  broadcast aaaaabbbbc
        inet6 ______71  prefixlen 64  scopeid 0x20<link>
        ether AA:BB:CC:DD:EE:70  txqueuelen 1000  (Etheet)
        RX packets 11575  bytes 1834587 (1.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 417  bytes 68578 (66.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17

That is how netstat looks like:

[root@fliptrap sef_monitoring]# netstat -anp | head
Active Inteet coections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      2136/mysqld
tcp        0      0 xxx.xxx.xxx.24:80        0.0.0.0:*               LISTEN      6075/python # CherryPy production
tcp        0      0 xxx.xxx.xxx.64:80        0.0.0.0:*               LISTEN      3762/python # CherryPy development

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 6 ارديبهشت 1395 ساعت: 6:46

صفحه بندی