CentOS 5 Networking :: Can't Reach Server Within Local Network
Sep 24, 2010
I'm setting up my server under CentOS 5.5 (text mode) and I installed cherokee server but I couldn't reach it with the ip given by ifconfig. So I figured it might be an problem within cherokee. I also wanted to install webmin so I did that to see if I could reach that one. But also the webmin server is not reachable (I know the port number should be behind the ip ). So if I look up ifconfig I see the server has got an local ip (192.168.1.42) but I can't reach it from another computer in the same local network.
I have openvpn tunnel setup between two CentOS servers. One of the CentOS servers also acts as a DHCP server for some client computers.
Server A= OpenVPN server Server B= OpenVPN client (connects to Server A with OpenVPN)
The two CentOS servers can ping each other (172.16.0.0/24) via the tun0.
However, client computer connected to Server B (DHCP server) can't reach 172.16.0.1 (which is the OpenVPN server).
I think I am missing some routing in my "ip route show". Following is the full picture:
What command can I issue to get this fixed? something along ip route add?
There is no firewall service on both end. service iptables stop! I can't bridge eth1 and tun0 as DHCP server might mess up the other side. I can't do a push of "redirect-gateway def1" because then clients loose their IP as they send DHCP requests to Server A.
I recently set up an Ubuntu server computer (10.04) with the hostname 'morbo', and with a static IP address. With all my other ubuntu systems i can ping and ssh using their host names, like:
i can't reach it via 'morbo.local' nor can i reach my other ubuntu systems from morbo by their hostnames. I have seen a 'quick and dirty' solution which might help here : [URL]... , but i don't want to have to add every system to morbo's list and morbo to every systems list, and because it works without manual configuration on all my other systems, i don't see why it shouldn't be possible here. Currently everything connects to one d-link router - does this mean it is the DNS server?
i have successfully done the setup of postfix and dovecot on this link [URL]I run Cent OS on top of window 7 via VM Player,i want to access mailbox from windows 7 using email client like Thunderbird and Outlook. What setting i need to do in my mail server ?
I'm using CentOS 5.5 as a media server to stream media content over my local network. Currently i'm having problem while installing last.fm scrobbler.
Here is a sample output: yum localinstall xmms-scrobbler-0.4.0-7.fc11.i586.rpm Loaded plugins: fastestmirror, priorities Setting up Local Package Process Examining xmms-scrobbler-0.4.0-7.fc11.i586.rpm: xmms-scrobbler-0.4.0-7.fc11.i586 Marking xmms-scrobbler-0.4.0-7.fc11.i586.rpm to be installed Loading mirror speeds from cached hostfile .....
The program package-cleanup is found in the yum-utils package. Upon searching my hard disk this is what i get: find / -mount -name libcurl* /usr/share/man/man3/libcurl-easy.3.gz /usr/share/man/man3/libcurl-tutorial.3.gz /usr/share/man/man3/libcurl-share.3.gz /usr/share/man/man3/libcurl-errors.3.gz /usr/share/man/man3/libcurl-multi.3.gz /usr/share/man/man3/libcurl.3.gz /usr/lib/libcurl.so.3 /usr/lib/libcurl.a /usr/lib/libcurl.so.3.0.0 /usr/lib/pkgconfig/libcurl.pc /usr/lib/libcurl.so
So it tells me that I need libcurl.so.4, but I couldn't find any suitable rpm binaries for it. The only rpm that i found was for Suse and Mandrake. How to set this up, so that i can get a fully functional media server.
i have a small issue, to make our network more secure, i now require outgoing email to require authentication. Now the problem..i have a automated mailer that does not have the option to authenticate. is there a way to allow a certain email address or the local network to send out without authentication? If i cannot do this for a single email user to allow them through with authentication, how would i remove the authentication paramaters in the postfix smtp..
We are in the process for Integration Network with our Government Network. Let say that our network are 192.168.0.0/24 And the Government network are 10.0.0.0/8 I want to know if the local network can resolve the internet names in Government Network. I am using Bind for DNS.
I am trying to connect to a nfs server on my local network ( the server is a fedora 12 box ) using slackware 13.1 but I am having some problems. First of all I am sure that the server is configured ok and my desktop can ping the server but when I try :
mount -t nfs 10.0.0.1:/home/usr/file /home/usr/tmp I get the following error : mount.nfs: No route to host
And when I try to rpcinfo -p 10.0.0.1 I get the error :
rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host
I just setup a ubuntu 10.10 box learn linux and to play around with, and want it to host my website. I can see the web site on my local network no problem but the outside world gets a time out message. I check to make sure everything is forwarded correctly on my router and the dns so i has to be something in ubuntu blocking out-of-network traffic how do i turn port 80 on to the outside world
I'm trying to connect to a data server (basically a big hard drive) in my lab with my computer. On the Mac that's at the workbench next to me, you enter Go -> Connect to Server. From there, enter the IP address that I have (I can't find a server name--just the IP.). It asks you which subsystem you want, queries you for a user name & password, and then opens a window with all the files. Meanwhile, on my Ubuntu machine, I have a "Connect to Server" option under "Places" on my main menu. But when I choose that, I need to select what kind of server it is, from several options that don't seem right. (It's not FTP, it's not SSH, it's not a form of HTTP, and that leaves "Windows share?") I've tried several things, but usually get back 'Cannot display location "smb://<IP-ADDRESS>/" The specified location is not mounted'. I've tried many ways of mounting this drive, but it usually gives me permission denied errors (even though I *know* I have the right login and password--I've logged in using the aforementioned Mac).
Wondering if the internal network will benefit of connecting to a local DNS server, rather than my ISP dns server. Can I create this local DNS server, without having an external domain, pointing to my server ?
All I want is faster lookup of known hostnames, both internally (hostnames) and externaly (cnn.com etc..)
i have sun Virtual box installed on my centos as my host os and centos as guest os.The ip on Sun virtual box virtual interface is10.0.2.15 and the ip on the physical machine is 192.168.1.11.when i try to ping the ip from my vps on centos to my physical machine it pings but it does't work when i try to ping my vps ip from my physical machine.Please recommend the route enteries i need to do in physical machine
I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
I'm trying to configure postfix so smart daemon can send out notifications emails. My system will need to send emails to a mail server that is on the same local network. I have not had much luck in getting this to work, and am confused on what I need to setup to do this and how to set it up. Does my system need to be apart of the same domain as the mail server? If so, how do I do this? Is there any restrictions sending emails from the command line as the root user? Do I need to configure a relayhost?
Basically all I need to do is send emails to a local mail server, i.e. a mail server on the same local network. I do not need to receive emails. I am rather clueless as to how to set this all up, and what I need for this basic email functionality. I have read and tried many postfix configuration tutorials, but when I try to send out a test email to a email address on the local network mail server I always get "Connection refused" to the server and deferred or bounced status on my test email.
I have read many, learning linux,apache,samba,vsftp,ssh..etc from this forum but now i am realy stucked and confused. My samba server has always been reached from internal aswell external networks.
I have switched 5 months ago to Telfort network ( i am not sure... ) but as far as i know it was no poblem to connect the samba server with windows explorer everywhere.No i get the only the login screen when connecting from outside the network and when filling in the credentials it just come back with the login screen. I don't have any problems internal when connecting to these shares and supplying the credentials.
I'd like a way to see all of the devices on my local network and what their local IP address is. I recall that I used wireshark to troubleshoot a similar problem a while back, but it doesn't seem to have a way to see all of the devices- only the traffic. (I'd like to do this without having to physically interface with my router if possible, and I am in an encrypted network if that matters)
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).
I've got an Ubuntu server hosting our websites and other various things here in our own home. We recently switched to a router that doesn't support loopback (abomination), so I've set up hosts files on our computers so we can access our own sites when on our home LAN.
However, we often take our laptops as we travel about, and I'm guessing due to the hosts files when we try to access our sites, it'll look on whatever local network we're connected to for our server, which won't work, obviously.
Is there a way to set up something like a hosts file that'll only try to look up the local IP of the server when we're on a specific network (our home one), or have one that tries to look for the local IP first, then proceeds to try and resolve the domain name and use the external IP if the local IP doesn't work?
I've set up ubuntu server 10.04 x64 with kvm and bridged networking and installed win server 2008 as a guest os. The guest os has full access to the network including lan/wan but the host os can only reach my lan and not the wan. This is true even when the guest machine is powered off?I have to admit that my knowledge of networking, particularly with respect to linux is very flakey but surely if the guest has internet access this should also apply to the host? My only suggestion is an issue with mac addresses but i don't know where to start. Has anybody ran into this problem before?
I'm trying to give some windows users a permanent connection to a samba share behind a firewall over the public Internet. I know I can give them access with something like winscp (which they have done) but really I'd like to do it with a VPN so it seems seamless to the user. However I have no idea how to set up the server to support this and am finding the documentation a bit confusing. The samba share is on a Debian box and the firwewall is a Linksys WRT54GL.
I'm working with a Ubuntu 10.04 LTS system with two network interfaces (both Ethernet). I wish to setup this system such that it is simultaneously connected to my local and an OpenVPN network and able direct traffic between the connections depending on what program is sending the traffic. The problem: Under my current OpenVPN configuration all network traffic is directed to the VPN.
In practice, I would like OpenVPN to operate out of one of my two network interfaces and leave the other interface connected to the local network. Then by default all network traffic should be directed to my local network unless I specify (on a per program bases) that certain traffic should go though the VPN. These two network connections can (should) stay completely independent of each other and do not need to talk to each other.
i am using centos 5.4 (5.5?) gnome on multiple machines in a local network.is there a program available that does the following:you type a message in a 'note'screen on one computer and can send it to one (to choose) or all machines in the local network that are online, so you can read the message on these other machines screens.
I have two networks. One of them is wired, the other is wireless. The wired has an internet connection and a few other computers connected to it. The wireless network has a few hosts connected to it too, but it has no internet connection. What I've been trying, fruitlessly, to do, is make all connections that are bound to the internet, or my wired network, be routed that way, and all the connections to the hosts of the wireless network go that way.
Here's the setup..
192.168.1.0/24 Gateway = 192.168.1.1
Route internet through here
192.168.2.0/24 Gateway = 192.168.2.1
If my computer sends a packet to the internet, it should be routed through 192.168.1.1 If I send a packet to one of the local hosts of the wireless network, it should be routed through 192.168.2.1. Here's the routing table I've set up(This is one of many configurations I've tried)
$ ip route show 192.168.2.1 dev wlan0 scope link 192.168.2.0/24 via 192.168.2.1 dev wlan0 src 192.168.2.4
With this, and everything else, I get destination host unreachable when pinging. The strange thing is that, if I unplug my eth cable, reboot and connect to the wireless network, everything is fine and I can access the router and the others. I'm trying to improve my networking skills, as I've had this of setting up a small linux box as a router for quite some time, for the fun of it, but I need to get routing under control before I go ruin my network.
I am looking for a gigabit network card for my centos 5.4 server. I am looking for something known to work well with linux. I have been on the bestbuy site and I found a DLink (DGE-530T) card with support for linux from the vendor but after reading feedback from users with that card I am not so sure it is linux friendly. I am now thinking of buying online.
ok, we had to move one of our databases due to failing hardware. This box is newer than the old but it's just dog slow. 1st I thought it was mysql but now I am realizing it's the network. As a test, I tried copying a remote file to that box and the old server (located at the same co-lo, same provider), same switch, etc.Here are the results;
Old server: access_log.1 100% 4192KB 1.4MB/s 00:03
New Server: access_log.1 100% 4192KB 72.3KB/s 00:58
So now I see why people were complaining about webpage load times, etc. I can't figure out why the network latency. I looked around a bit, see below for some things, I thought mtu, nic speed, etc.
mii-tool shows; eth0: 100 Mbit, full duplex, link ok eth1: 100 Mbit, full duplex, link ok[code].....
Are there other things I can type to test or provide more feedback somehow to get more information.
I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5
I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]
So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error
I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(
Also the root directory where the web pages are served from is called public_html here are the permissions
Here is my vsftp.conf file can someone check it to see if i made any errors in there:
I have OpenVPN running successfully on a CentOS Linux server. All remote clients connect without a problem and can ping the server LAN (10.5.0.0/24) . The server address is 10.5.0.1. All network shares on the server are available to the remote clients via SAMBA shares and this works well.The problem is that I am unable to get the remote clients to access services on the LAN clients. For example, there is a webserver running on a Windows XP PC (on the server LAN @ 10.5.0.2) with no firewall enabled. The remote VPN clients can ping this webserver at 10.5.0.2, but cannot browse the webserver at [URL]. All clients on the server LAN can however browse the webserver. The remote clients are using Windows XP and VISTA with OpenVPN 2.1.1.
I am new to VPNs and networking, but from my research, it seems as if this may be a routing issue. I would appreciate any help you may give in getting the remote clients to access the services on the LAN clients (other than the server @ 10.5.0.1).