This discussion is archived
5 Replies Latest reply: Apr 9, 2013 11:56 AM by Dude! RSS

connectivity between OVM linux and windows

Sami A. Explorer
Currently Being Moderated
hi !

I want to access the EBS running on the OVM from my windows but iam unable to .
I can ping to the OVM linux box but i cant reach it on port 8000.

here are the settings from the linux box

eth0 Link encap:Ethernet HWaddr 08:00:27:DB:0F:7B
inet addr:10.100.12.171 Bcast:10.100.13.255 Mask:255.255.254.0
inet6 addr: fe80::a00:27ff:fedb:f7b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:211840 errors:0 dropped:0 overruns:0 frame:0
TX packets:34255 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:251102295 (239.4 MiB) TX bytes:2282455 (2.1 MiB)
  • 1. Re: connectivity between OVM linux and windows
    Sami A. Explorer
    Currently Being Moderated
    and my network file looks like this

    NETWORKING=yes
    HOSTNAME=OEL6EBS12.localdomain
    GATEWAY=10.100.12.1

    and the port 8000 is opened in linux firewall .

    [root@OEL6EBS12 ~]# netstat -tulpn | grep 8000tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 2692/httpd
    [root@OEL6EBS12 ~]#
  • 2. Re: connectivity between OVM linux and windows
    Sami A. Explorer
    Currently Being Moderated
    and the iptables on linux is as follows :

    [root@OEL6EBS12 ~]# cat /etc/sysconfig/iptables
    # Generated by iptables-save v1.4.7 on Tue Apr 9 14:23:08 2013
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [49:8317]
    -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A INPUT -p icmp -j ACCEPT
    -A INPUT -i lo -j ACCEPT
    -A INPUT -p tcp -m state state NEW -m tcp dport 22 -j ACCEPT
    -A INPUT -j REJECT --reject-with icmp-host-prohibited
    -A INPUT -p tcp -m state state NEW -m tcp dport 8000 -j ACCEPT
    -A FORWARD -j REJECT --reject-with icmp-host-prohibited
    COMMIT
    # Comp
  • 3. Re: connectivity between OVM linux and windows
    Dude! Guru
    Currently Being Moderated
    What is OVM linux box? Are you using Oracle VM server for x86 or Oracle VM VirtualBox.

    If you want to test whether or not the Firewall is the problem, simply disable it for the duration of your test:

    service iptables stop

    If you using Oracle VM VirtualBox, your ability to reach the virtual machine from your host depends on how you have setup the virtual machine network adapter, which restricts access based on NAT, host-only or internal network configurations. Check VirtualBox manual.
  • 4. Re: connectivity between OVM linux and windows
    Sami A. Explorer
    Currently Being Moderated
    iam using OVM linux 6.4. and I can telnet to port 22 from my windows box to ovm , so why not to port 8000?

    [root@OEL6EBS12 ~]# cat /etc/sysconfig/iptables
    # Generated by iptables-save v1.4.7 on Tue Apr 9 15:00:32 2013
    *filter
    :INPUT ACCEPT [0:0]
    :FORWARD ACCEPT [0:0]
    :OUTPUT ACCEPT [0:0]
    -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
    -A INPUT -p icmp -j ACCEPT
    -A INPUT -i lo -j ACCEPT
    -A INPUT -p tcp -m state state NEW -m tcp dport 8000 -j ACCEPT
    -A INPUT -p tcp -m state state NEW -m tcp dport 4443 -j ACCEPT
    -A INPUT -p tcp -m state state NEW -m tcp dport 22 -j ACCEPT
    -A INPUT -j REJECT --reject-with icmp-host-prohibited
    -A FORWARD -j REJECT --reject-with icmp-host-prohibited
    COMMIT
    # Completed on Tue Apr 9 15:00:32 2013
    [root                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
  • 5. Re: connectivity between OVM linux and windows
    Sami A. Explorer
    Currently Being Moderated
    yes stopping the firewall on the linux virtual box fix the issue , thanks for your help.
    awesome

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points