[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Unable to access VM on public IP



I am not really a network expert when it comes to Linux but got my VM accessible through an public IP. It worked like a charm for quite a while but suddenly quit working and I seem to be unable to get it back reachable again.

The server I installed my VM on is being hosted by Hetzner. I was provided with the following IP information:
IP: 88.198.68.89
NM: 255.255.255.224
GW: 88.198.68.65
Broadcast: 88.198.68.95

IP: 46.4.126.118
NM: 255.255.255.248
GW: 46.4.126.113
Broadcast: 46.4.126.119
The first block is used by the Dom0, the second was used by the DomU. I followed this guide: http://jimmyg.org/blog/2007/xen-routing-with-public-static-ips-and-a-private-virtual-network.html to get everything up and running on an external IP but for some reason am not longer able to access the virtual machine through 46.4.126.118. I can ping it on the Dom0 and I can ping the Dom0 from within the DomU but am unable to ping anything else..

Following information / configuration is available:

Dom0:

    - ifconfig
            eth0      Link encap:Ethernet  HWaddr 6c:62:6d:95:7c:fe
                  inet addr:88.198.68.89  Bcast:88.198.68.95  Mask:255.255.255.224
                  inet6 addr: fe80::6e62:6dff:fe95:7cfe/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:837 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:741 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:84242 (82.2 KiB)  TX bytes:101121 (98.7 KiB)
                  Interrupt:30 Base address:0x8000

        vif2.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
              inet addr:88.198.68.89  Bcast:88.255.255.255  Mask:255.255.255.255
              inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:6 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2 errors:0 dropped:2 overruns:0 carrier:0
              collisions:0 txqueuelen:32
              RX bytes:384 (384.0 B)  TX bytes:200 (200.0 B)

    - /etc/network/interfaces

            auto  eth0
            iface eth0 inet static
             address   88.198.68.89
             netmask   255.255.255.224
             gateway   88.198.68.65
             broadcast 88.198.68.95

    - route -n
            Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
            46.4.126.118    0.0.0.0         255.255.255.255 UH    0      0        0 vif2.0
            88.198.68.64    0.0.0.0         255.255.255.224 U     0      0        0 eth0
            0.0.0.0         88.198.68.65    0.0.0.0         UG    0      0        0 eth0


DomU:

    - ifconfig

            eth0      Link encap:Ethernet  HWaddr 00:50:56:00:0e:66
                  inet addr:46.4.126.118  Bcast:46.4.126.119  Mask:255.255.255.248
                  inet6 addr: fe80::250:56ff:fe00:e66/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:2 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:172 (172.0 B)  TX bytes:468 (468.0 B)
                  Interrupt:246

    - /etc/network/interfaces
            auto eth0
            iface eth0 inet static
             address 46.4.126.118
             network 46.4.126.248
             netmask 255.255.255.248

             up route add 88.198.68.89 dev eth0
             up route add default gw 88.198.68.89
             down route del default gw 88.198.68.89
             down route del 88.198.68.89 dev eth0

    - route -n
            Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
            88.198.68.89    0.0.0.0         255.255.255.255 UH    0      0        0 eth0
            46.4.126.112    0.0.0.0         255.255.255.248 U     0      0        0 eth0
            0.0.0.0         88.198.68.89    0.0.0.0         UG    0      0        0 eth0

I've disabled all iptables rules for test's sake but can't seem to find out what's wrong.. Anyone seeing what I do not?

Regards

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.