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

Re: static IP



Thanks for so many people trying to help.
I think we are centering the problem.
Please if you can help me, I will try to give the maximum of info I
can of what I am doing:

The router is in fack a modem/router. I can connect to internet even
if the other computer is turned off, and I have no other device to
navigate.

To know if my router ports were blocked, I modified httpd.conf in
Apache and restarted it.
I changed the line:
--
Listen 80
--
To port 8000, and I guessed this:
Listen 192.168.0.129:8000 --- I can enter the Xampp page from the
other pc. Por 80 can't now.
Listen 192.168.0.129:80     --- I can  enter the Xampp page using port
80 now, so port 80 IS NOT blocked.
Listen 85.<plus the restof my ip>:8000 -- Xampp can't be started
Listen 85.<plus the rest of my static ip>:80 --- Xampp can't be
started too

I take all back to "Listen 80" as the port is not the problem.
When I type in the browser this:
85.<plus the restof my ip>:80 -- I visit my router configuration type
192.168.0.129:80 -- I visit the Xampp page (my website for now)

I wish I could type my static ip 85.<plus the restof my ip>:80 and
visit my website, but for some reason I can't.
The port works fine, not blocked, as no matter I change it to another,
and restart Apache, I get the same.

I think there is some place that identifies the router with my public
static ip.

-----------
I ping my windows machine with this: ping -c3 192.168.0.128
And i get all this stuff:
PING 192.168.0.128 (192.168.0.128) 56(84) bytes of data.
64 bytes from 192.168.0.128: icmp_seq=1 ttl=64 time=1.53 ms
64 bytes from 192.168.0.128: icmp_seq=2 ttl=64 time=0.944 ms
64 bytes from 192.168.0.128: icmp_seq=3 ttl=64 time=1.10 ms

--- 192.168.0.128 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 0.944/1.195/1.535/0.250 ms
-----------
All what pinniped said about the DMZ... I think I don't understand
all, but tell me if I do:
1) Maybe I must have a router with 2 ethernet ports.
2) If not, I could use DMZ for the moment, so I must activate the
option in the router "Assign public ip to a device", but if I do, I
must have my server all day running or I won't be able to use internet
in the other PC.

Maybe I must try, because I plan to change my router in some time, and
buy a good one with 2 ethernet ports at least and some support for
wifi for another laptop I have.

I said my provider I wanted a router with 2 ethernet ports, but they
sent me  one with 1 ethernet and 1 usb, and I heard many times usb is
a problem for all this. But they are a pain!
----
In the ubuntu forum they said me to configure Network GUI tool with
the values I get with ifconfig command.
In the tab DNS I have the router ip (192.168.0.1), as seems the router
gets the dns. Is this right?
--
Well, I hope not to bore you all,
please give any advice.

And many thanks to all people helping!

Jordi



Reply to: