CentOS 5 Networking :: Gateway Through Windows Computer?
Apr 28, 2009
And I'm currently working on a new CentOS 5 install I've made on a computer I've got.. So I'm now trying to get that computer to reach my home network through one of my other computers, which have got XP installed. I've configured the XP computer to act as a gateway from one network card to another, and It works with another XP pc, but no luck with my CentOS 5. I used this link [URL] And I configured the correct network card.
So.. the IP of the XP machine is 192.168.1.70, which I have set as a static. So that the CentOS will find it. And I've connected the (fully working) network cable correctly.
What do I have to do?
I have configured the CentOS to recieve an IP dynamically. (dhcp).. Might that be the problem? (well.. one of the problems.. I've tried to set it to static.. ...?)
Is there more to it than this? I mean when I'm working on communication through an XP machine... ?
I have a gateway computer that I've been trying to fix up - whenever I try to install Windows XP/2000/Ubuntu, it finds a bunch of errors. I'd really like to get this computer working, it has a 300GB HD, TV inputs, USB ports out the wazoo, and all that other good stuff. Can someone help me with what to do or have a suggestion on what to replace?
I have formatted the hard drive (the Windows installation did it.) The windows installation is to the point where its copying the installation files to the disk, then it gives me an error that it can't find/can't copy the file. The Linux installation just gives me cryptic errors before it even does anything.
I just want to get it to a point where it's usable I really don't care what operating system.
I am having some strange requirements. In my office we all are suppose to use internet by proxy. Squid is installed as proxy. we are given a username and password, that we are suppose to authenticate our selves before we can use internet. But tell u some rules are very bad, like we can not download file from net larger than 3MB,etc. Squid is configured with strict policy. Now, for R & D purpose I am having root access to an unrestricted computer, which is connected to Internet directly. and there is no such limit, as I can use wget to download files of anysize on that machine. It uses fedora 10. I am using fedora 12. Now is there any way I can configure these two PC to use unrestricted net. I mean can I configure my pc to use Internet via that unrestricted pc. What are the changes I will be needed to do at my PC and other open net PC? I am having root access to both PC.
I have Ubuntu 10.4. My computer is connected to AT&T U-verse on a 2Wire brand Residential Gateway. The RG has the actual IP address. It's assigned my computer the address 192.168.1.66. I want to run the apache server to share files between my two computers across town. My other one is directly connected to the internet with a DSL modem so it's IP is static and was easy to set up and get going. What I want to know is what do I type to access my apache server on my RG? Galactic newbie here.
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code: lancer@lancer-desktop:~$ ping www.google.com PING www.l.google.com (74.125.237.17) 56(84) bytes of data. 64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms 64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms 64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
I am trying to get a Linux (Slackware 13.37) working in a Windows networking environment. The IT support for this organisation does not extend to Linux support, so I'm limited in what help I can get for this.
I'm trying to get to the point where I can get to the internet to download what I need on this Linux machine.
The situation is this (*fictitious addresses used) -My Linux machine uses a fixed IP address (10.100.150.21) My Windows machine uses a DHCP assigned IP address (10.100.150.213)Both Linux and Windows machine are configured to access the gateway server (10.100.150.1)So, I can ping the Linux machine from the Windows machine and vice-versa.I can ping the gateway machine from the Windows machine.I can browse Windows Shares on the network via SMB from the Linux machine.I CANNOT ping the gateway machine from the Linux machine with the Destination Host Unreachable message being the error message.
For actual internet access I need to access a proxy server but since the Linux machine can't even ping the gateway server, it fails to ping the proxy.Now, I have been told the gateway is a HW based router and for Windows machine they use some software for authentication to connect to the network. This software isn't available for Linux, so that's why I've been told to use a fixed IP address.My experience of networking is pretty basic and most of the Linux setup is done via running Slackware's setup program.
Recently my motherboard went out, I replaced it and booted centos 5. All went well except sound, video tuners and netoworking. The sound I re-configured, and have gotten tuners working but I am running into trouble with the new network card. The networking setup is;
DSL wireless router/modem IP 192.168.0.1 connected to XP computer through WIFI IP 192.168.0.3. all set to subnetmask 255.255.255.0 and with DNS servers 192.168.0.1 and 205.171.3.25 the XP computer is the only one that supports my wifi card. On wired LAN I share that connection to 4 devices. 3/4 work well, my cent os 5 box will not connect. here are the lan settings:
win xp: IP 192.168.0.60 255.255.255.0 mac 8.6: IP 192.168.0.34 255.255.255.0 blueray: IP 192.168.0.65 255.255.255.0
I have a requirement of switch between wireless network with a single wireless device. First it should be switched to adhoc mode and then after sometime switch to infrastructure mode to establish internet connection. Everything works fine except the gateway settings.
I have used: system("route add default gw x.x.x.x dev wlan0") to set the gateway, where x.x.x.x is gatewayip address. I have used this whenever switching happens in addition to ifconfig command to set the ip address and netmask. But this is not setting the gateway ip address. How to set gateway IP address?
System details below OS :CentoS 5.3 Kernel :2.6.18
My company hosts five Servers with CentOS 5 installed in a Data Center. The Data Center assigns a VLAN to each customer so that they can organize customers and also count traffic. The VLAN assigned to my company is in the form 62.103.X.X with a subnet mask 255.255.255.240 so the IPs that we can use in our Servers are 13. The first IP in the VLAN (for example 62.103.1.1) is the Gateway and the rest, that are calculated from the subnet mask, are assigned to servers(62.103.1.2 up to 62.103.1.14).
The problem I have is that we have run out of IPs in our VLAN. We have used all IPs and we want some more. The Data Center can assign new IPs but not grow our VLAN IPs by expanding the subnet mask. So they gave us a new VLAN with some IPs (for example 62.104.X.X with a subnet mask 255.255.255.192) They told me that I had to use as gateway the gateway of the first VLAN 62.103.1.1 and assign the new IPs as usual. So I assigned to one of the CentOS 5 servers the IP 62.104.1.2 and set the gateway to 62.103.1.1. Unfortunately this did not work and we could not establish connectivity to the Internet.Is it possible to assign a gateway outside of the IPs that are in the subnet? Could it be a problem with the VLAN setup by the Data Center?
From what I've read, when linux sends a ping it sends without the netmask, so windows server assumes it must be a broadcast? Why doesn't linux send a netmask with a ping?
I posted it on another forum, but could not get response,So I have this cenOS, Ubuntu and windows operating system running on virtual machines.Now I gave them manual ip address, both ubuntu and windows machines can ping the default gateway, but not the CentOS.It should forward 0.0.0.0. to my cisco router address(192.168.5.254),
The install actually seemed to go pretty smoothlyIt's a dell pentium4 with 128mbyes it installed textuallyI start the gui with 'startx'but the question I have is for the more experienced CentOS people.when I login as rootI am trying to figure out how to get my machine onto the internet.I had figured the OS would have NO problem with a Linksys 10/100 pci cardsince the OS has the latest drivers and all.The system reports the NIC as a "ADMtek NC100 ethernet" card (eth0)it also reports that the status is "ok"Now, I've seen the NIC when it's plugged into a hub (during the O/S install)and it DOES make the hub's light flicker when it tries to "talk" to it.but when I have it plugged into my Cable Modem (for internet) it's not doing anything.
During the install I SAW the NIC making the hub lights flicker... so I know the interface WAS doing "something".but nowwhen I go into the gui and I try the NetWork Admin , and I try to "activate" the card.Nothing.Am I NOT doing something that I SHOULD be doing?fconfig? (at the command line?) ifup? I would have thought I'd "activate" it with the gui ok...I'll keep poking around.I'm just a little surprised is all. Ubuntu 8.1 had no problem "discovering" and using a wireless Linksys cardTHIS operating system is even newer
I could not able to configure the default gateway ip address onto the system. i use the route command (" route add default gw 192.xxx.xxx.xxx eth0 ") to add a default gateway onto the routing table but it is "disappear" in the routing table when i had restart the service network.
I downloaded the vnc 4.1 on my linux computer which is running Ubuntu I'm not sure how to view it on a windows computer. I really have no idea what i'm doing so can anyone that answers please add as much detail as possible.
Someone in my building has placed an old Gateway computer in the trash room. All I know from looking at it is that it says made for Windows XP and its the old tan hue computers use to have. My question is what are the odds that if I go grab it before trash day I could boot up Ubuntu 10.10 or some other current Linux build on it? I just want to use it as a secondary computer and solely for web browsing and possible word processing.
I need to setup two ethernets in my Centos box. OK no problem both ethernet and 1 virtual works perfect. eth0, eth1 and eth1:0. I'm trying to set up diferent routes for eth0 and eth1/eth1:0 I need eth0 has a 192.168.1.1 gateway and eth1/eth1:0 192.168.1.100 gateway.I think I've tried almost every thing but always get one gateway for all the eth.These are my config..
/sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX inet addr:192.168.1.168 Bcast:192.168.1.255 Mask:255.255.255.0[code]......
I have a CentOS 5.3 box with three network interfaces in it. Each interface is attached to a separate VLAN and I want traffic to stay on each network segment.What I can�t figure out is why I cannot get each interface to have its own gateway and everything gets sent through the default gateway.The basically takes my possible 3Gb total bandwidth and throws it down a single 1Gb pipe.Then on top of that, if I take down the interface (ifdown) that has the current default gateway,I loose contact to the other two interfaces.When I look at the routes, each one of the interfaces shows the gw as 0.0.0.0 and defers to the default route. So I delete the route and try to add a new route with:
[root@testsan ~]# ip route add 10.1.15.0/24 via 10.1.15.1 dev eth2
The dhcp doesnt work unless i put a switch or router between the ubuntu gateway and the connecting computer.
setup
Code:
Code:
Code:
Code:
Im on ubuntu 10.04. is this normal? or should i be able to connect without having a router or switch between the ubuntu server and the internal network....
I have Ubuntu 9.10 setup on a test box. I am able to connect to my Win XP box shares but I cannot connect to my Win 7 (64 bit) box I get the usual 'Unable to mount location'. I can get to the Win 7 share from my other Win box so it is a valid share. I also cannot connect via the Remote desktop viewer. I am afraid that if I cannot get this going my Ubuntu experiment i over before it started.
I recently decided to install Samba in Ubuntu as a home file-sharing server. However, when I try to access this computer from another (using Windows 7), an error messages comes up. It says: "You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
The specified domain either does not exist or could not be contacted."
What I want to do is have two different networks connected with my switch. I want one computer to be the server and run dhcp with the ip address 10.3.2.1 and I want the other client machine to be 10.1.X.X. I want the X.X to be assigned automatically from DHCP running on the server. The subnet mask I believe should 255.255.255.0 for both networks. How can I get these two different networks to talk to each other when they are on completely different networks??
I have a server in my house with webmin and virtualmin installed et i made a mistake.Ive created a virual server and ive change the lan ip adresse. 192.168.2.30 ive change it for 192.168.2.31.Now of course nothing work. Im not able to connect via ssh via another computer.So, on the server i write ifconfig and it tell me the adresse is 127.0.0.1 and no more adresse like 192.168.x.x.
I have Fedora 14 server with installed cups, samba and shared printer. I am trying to print from Windows Vista computer. Printer is available via network, test page is printing as well as any text document. The problem is in printing of dvi and pdf files only. In this case, Windows sends printing task but the printer does not response. How can I fix this?
So, I'm trying to set up a network with my windows netbook so the Ubuntu comp can access the internet through the netbook's wireless. Finally got the network set up, but can't access the internet on the Ubuntu comp. Also, the Ubuntu machine can recognize and access the files on the netbook, but the netbook only sees a computer named Owner-a6012abd6 which asks for a password.
The netbook is running Windows XP SP3, with an Atheros AR9285 Wireless Network adapter(internet) and an Atheros AR8132 PCI-E Fast Ethernet Controller. The Ubuntu comp is running Ubuntu 9.04.
I have just installed Ubuntu 10.4 LTS and would like to share this computer on my windows network. I understand that Samba is the way to go, but how do I configure linux with Samba so I can share files and printers? I am able to see my windows computers (vista and xp) but I am not able to see the linux computer with those machines plus I would like to change the network name of the linux machine if possible. Please any help and information will be much appreciated. Eventually I would like to server a printer from this linux machine to the other windows machines.
Windows 7 computer can't see ubuntu 10.04 computer. Ubuntu machine can see and access rest of windows network including a linux enabled PVR. Tried various things to no avail.When setting up for shared folders I got a message that I needed to install shared services. I did this but I only have one share through option: Unix networks (NFS). The samba option, which I should be using is not available. I tried to allow "Share files over the network" but had to install some extra service. While "share files over the network" can and has been enabled, accessing the windows network has become painfully slow and my windows 7 machine still can't see the linux box
I have serious issues with sharing the HDD drives physically on Linux machine 10.10 in my living room, with the windows 7 computer in my room, connected with wifi.
I have a very simple network of two computers. One is running ubuntu (Maverick) and the other running Windows (Vista).The two computers are networked satisfactorily but I wish to control the Vista computer from the ubuntu one.I have tried running UltraVNC on the Vista computer and the default VNC from ubuntu. However neither computer can see the other using VNC.