Networking :: How To Configure Intranet PC As Gateway
May 1, 2009
I am using Fedora 10. I have a network design like that:
WinServer --- (r1)router(r0) --- (eth1)LinuxPC(eth0) --- intranetPC
All netmask is 255.255.255.0
WinServer network is 192.168.1.0/24
intranetPC network is 10.10.0.0/24, gateway is IP of the LinuxPC(eth0): 10.10.0.2
I search in Internet several days to find how to configure the LinuxPC to a gateway. The LinuxPC can ping and connect the WinServer and intranetPC correctly, but the intranetPC cannot ping and connect the WinServer network.
I used the webmin to configure the Gateway.
I used the iptables to set allow all connect, than
iptables -t nat -A POSTROUTING -eth1 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
In "/etc/sysconfig/network" add "FORWARD_IPV4=true"
There are a lot of boxes in this network and we have intranet site. If I connect computer directly to the network with everything set to automatic. I can see this intranet site. But I've installed a switch. One box has two net adapters and it takes internet, intranet and all from one adapter, the other adapter is connected to switch. Now, I have connected to this switch two computers. Internet is working fine. But I cannot get to this intranet site from these boxes. I can get into shares of other computers in the network but they cannot see me. Everything is hidden behind the gateway. But that's not the problem for me. All I want is to get to this intranet website. How can I do it?.
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 need to place an Ubuntu machine on a network where I have a DHCP server which does not configure the Degault Gateway parameter (we don't want ordinary users to browse the internet). Is it possible to leave the machine using DHCP and define the Default Gateway manually (as in Windows XP i.e.)? How?
anyone tell me how to configure SCPS Gateway between two end systems. I have configured , but i could not run successfully. Both end systems could not communicate each other after running gateway command on both systems. Please provide me a solution.
As a new user I like to know how to configure ip address, gateway etc in ubuntu 9.10. I used opensuse 11.1, their I can manage to do these but ubuntu I did not find anything.
When I try wget URL... I get failed: connection timed out.I have created br0 as a bridge over eth0 to run this VM. The host has this IP 172.30.8.135.The host has access to internet through eth0 and this is the output of route inside the host.
I successfully configured my local DNS server. I have server1.mydomain.com, pc1.mydomain.com and so on ..
The problem is that my website is hosted on an external server (not on the local network), so www.mydomain.com is not found in the configured zone/subnet
How can I tweak my DNS to fetch ALL subdomains from the gateway (just as it went before the DNS existed)?
I am new in using Debian 5.0, my wireless doesn't work I make a search to know how to do it. So I open "Terminal" $ su (press enter) I wrote the pwd than when I wrote : # gedit/etc/apt/sources.list I found this: bash: gedit/etc/apt/sources.list: No such file or directory
I didn't know what to do, I proceed with: # apt-get install ipw3945 modules-$(uname-r) ipw3945d firmware-ip3945 bash: uname-r: command not found Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package ipw3945
I want to do is make an old computer of mine that I use for web development be accessible to anyone within my LAN only.
so in a nutshell i don't want the world wide web to be able to access this server since I use it for development work only and i do most of my actual development work on another system since most of the applications i use requires windows.
I know you can block incoming traffic to all IPs or add individual IPs to allow in, but how can i make the firewall only accept incoming traffic from those within my LAN network?
if you wish to know what I'm using to configure my firewall, I'm using firestarter on this server
i've installed a PPTP VPN and have it configured under webmin. fine.i've connected from a remote laptop to the VPN and can access the local netowrk with it. greati really want to be able to access the outside world whilst tunneled through the VPN but clearly i need to do something else?
I have a windows PC and a fedora 13 linux box. When connecting to the linux from windows, I'd like to type the hostname instead of the ip address. Apart from setting the hostname, what do I have to do to publish my hostname on the intranet. (set up a nameserver?)
Though hostname works on the linux box, even this fails: nslookup myhostname Also I'm a newbie. I've tried installing some packages like samba and dhcp, using yum...;service chkconfig... and then checking whether nslookup or nmblookup work with my hostname. But it's just guesswork. Under system -> Administration there is no network option. but it is not clear what package is needed to install it, or whether such a thing is supported in fedora 13. I did try system-config-network, but it has few options none of which pertain to hostname resolution. The fedora manuals dont seem to cover it, at least in recognizable plainspeak to me.
I have client workstations on separate intra-net LANs. Both intra-nets use network address translation (NAT) or masquerading on the LAN. The private network IP address should not matter (unless it does). When LAN-1 connects with an exterior web site, it will leave a record of the ISP public IP address. A LAN-2 connection could read this record, but how would it know how to reach into LAN-1? How can a network application running on a LAN-1 workstation find and connect with a network application running on a LAN-2 workstation? There is a utility called "woof" where one workstation presents a limited feature web browser for access by other hosts on the same LAN.
i did install opensuse and everything ok; i did configure it to be the server and gateway for a little office network Everything seems to be ok most of the time but sometimes (usually between 5 and 7 pm each day) internet stops working and there is no way to let it start again. So i turn off the suse, switch all cables to the old fedora server, just turn it on fedora and internet works. Turn off fedora, connect suse, let it start and everythng ok...it happens all the times
One of the computers have apache server (working), it has 192.168.1.6 IP, and the name of the computer on the network is "servidor"
I can't access from ubuntu, if I type http://servidor or 192.168.1.6, it goes to [URL], but I can access shared folders, just the host intranet server I can't
I have vmware with windows xp, and I can access http://servidor from there, but not from Firefox in Ubuntu.
(ubuntu10.10)i want to use use the Intranet and Extranet at the sanme time at school,how to set ?my Intranet ipv4 :10.62.14.79 255.255.255.0 gw 10.62.14.1my Extranet is DSL(use DHCP)my problem is when i use one of them,i must break the other.
I want to learn how to build a Linux network from scratch that includes file and printer sharing, intranet. I have an intermediate-level knowledge of Windows networking. Can anyone suggest a book or online tutorial that I can learn from? Now let me be clear: I am finding no shortage of tutorials on the web. However, too many are old or incomplete.
A little extra info: I am a teacher/network admin for a small private school with about 50 student computers (that I wish to become Linux machines in the future) and about 10 staff computers (mostly Windows laptops--I do not expect the staff to convert to Linux as readily), I currently do not have an intranet implemented.
I am trying to create an intranet that will serve about 100 clients. If it is possible, I would like it to be set that anyone on the intranet would be able to type helpdeskin their browser bar and be taken to the intranet site. I have Webmin and there are just too many options to figure out how to do this. They may as well have written it in Chinese. File server? Email? Impossible.
I can get to the intranet locally by typing in the local IP, but no one wants to remember numbers.
Then, I need to get that intranet accessible via the internet. A domain name has already been purchased and our cable company has assigned us 5 static IPs. The issue here is getting the IP to link up with the server. The intranet has to be configured in such a way that it can be administered remotely. Again, with Webmin, I am clueless. I was going to try to use ISPConfig, but seeing as how you have to pay for the install directions
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.
I have a server with 192.1.9.10 ip address and I want to define two gateways with ip: 192.1.9.4 and 192.1.9.254 on it but I don't know how I can do it. I don't have professional information in linux.
I've rent a server from a Germany data center,They use a single IP as their gateway that is not in range of my servers IP,Strangly server is working well and when I use 'route -n' command the gateway which is in other subnet appears properly./etc/sysconfig/network contains no gateway IP and I don't know how they set the default gateway while after reboot the gateway is the same, also the IP is static and there's now DHCP.I need to know how they did it so I can do the same on my VPSes.
I have 2 lancard eth0 connected to local lan eth1 connected to bsnl broadband connection, I have centos 5.3 here I configure broadband in dial up mode. I am unable to ping outside world and unable to access some site but able to access internet like google etc, configure file is as:
I have one scenerio ,I want to use my Linux PC as residential gateway .I have only one NIC connected to my PC(I cannot connect more) to handle this problem I am using switch . All the devices including my PC are connected using switch (Please refer attached file). I am not sure how can I achieve this ? I am familiar with NAT and DHCP but do not know is this possible in this case?
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.
FTP is not working through a gateway and I think I found that I need to modprobe ip_masq_ftp. However, when I do try to load ip_masq_ftp I get the error: FATAL: Module ip_masq_ftp.o not found.My question is: how do I get ip_masq_ftp?More questions: Do I have to build a new kernel? If I do need to build a new kernel do I just include the ip_masq_ftp module or are there other modules that I need?
What i need to do is setup a gateway with 2 red networks, reason being 1 is my internet connection and the other is my bDSL connection for our IP phone system and i need an IP range of traffic routed to the bDSL rather than internet, i can do this on individual PC's but id like to do it at the firewall level so i dont have to configure each machine on the network.
basically i want all traffic to go to internet except for say 203.x.x.x which i want routed to the bDSL router and let it handle it. Ive dome some reading and it seems ipcop and smoothwall cant do it so i was hoping with some tricky work maybe i can get ubuntu to do it for me.
I can ping my IP, and other PC in the same LAN, but I CANNOT ping the gateway on my 10.04LTS ubuntu. Other PC in the same LAN(Ubuntu 10.04LTS) could ping the gateway and my IP. I thought that (1)network cable is OK because I could ping the other PC in the same LAN.(2)Gateway is OK because other PC could ping it. (3)setting of operating system might be somehow wrong.
I have tried to restart the network several times and still not works. I followed the HOW-To debug tips and following is the results. Any suggestions?
I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:k-63a5b848c6cb4:~ # ping simba PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms 64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms 64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms