Fedora Networking :: Cannot Access Internet Through Gateway
Sep 4, 2009
I have installed fedora 11 64 bit on a new computer. I have no problems accessing the computers on my local network, but can not get past the gateway. The gateway is running windows XP with IP address 192.168.0.1 and is named "internet". When I boot the new computer in windows, there is no problem. Here is the output of some commands I saw in other posts with similar problems:
I have 1 root-server with 2 NICs, both having their own internet IP addresses:
Code: eth0 = 8x.x.x.183 eth2 = 8x.x.x.205 We only have one gateway on that network: Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.
How can this be setup ? With route / ip route / iptables ?
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 have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table
In one of our network we are using one firewall which works as gateway. All machines are able to access internet through this gateway. There is no filtering and any internet restriction. I would like to setup monitoring system which monitor and log bandwidth and sites access by client machine. Is there any tool which monitor internet access as well as sites which are access from client machines.
I just set up a linux server which is acting as an internet gateway. For specific reasons, clients first make a vpn connection trough the internet to the linux server.
CLIENT ---->Internet----->Linux VPN Server ------> Internet
On the linux server iptables is configured for NAT. The problem is that the internet speed becomes slower than expected. I used windows and RAAS and the speed was pretty good. The server has only 1 NIC(eth0) and an alias interface is added to eth0. The alias is eth:0 with ip address 192.168.0.253
iptables config is as follows: iptables -P INPUT ACCEPT iptables -F INPUT iptables -P OUTPUT ACCEPT iptables -F OUTPUT iptables -P FORWARD DROP iptables -F FORWARD iptables -t nat -F iptables -A FORWARD -d 192.168.0.0/24 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to MY_VALID_IP
Whenever i used to setup a new connection in Windows it would just ask me User name and password here i need to fill up something called as "Gateway" !? The connection won't be accepted unless i fill up something in there... So, what do i put in there? I'm on a LAN of 3 computers connected with a router.The router takes one wire as input from the modem(cable).
have a netopia 3347-02 Wireless ADSL Gateway that i got from at&t. i am no longer with at&t.i switch over to cox. I have the cox modem. i also have cable on the modem. when i connect a ethnet cable from cox's modem to my laptop my internet works. but i want to use the netopia 3347-02 Wireless ADSL Gateway that i got from at&t cause of the wifi. when i login & connect to the netopia 3347-02 Wireless ADSL Gaut it in bridge mode.internet works fine, but im not able to use wifi, im also not able to login into the admin page. i have to do a factory reset on it so i can log back in. So how can i make it work with cox modem?
Previously had 2 Ubuntu computers setup Computer A (192.168.1.101) <=> Computer B (192.168.1.100) -> Internet Computer B was the gateway, and it is dual boot, one drive Ubuntu, one drive XP. I'm using XP as the gateway now, but Computer A is extremely slow, virtually nothing getting through.
Have checked sysytem logs, verified /etc/hosts file, and all the network side of things. Can ping either IP adddresses from either computer. On the XP side, have modified hosts and lmhosts, and the XP computer has very fast internet connection.
Did have Commodo firewall running on the XP, disabled that, and checked that no Windooze firewall was running. Have restarted the network on both computers a number of times. Can't figure out what the problem is. It's obviously on the XP side, as when I booted to Ubuntu (previously) on Computer B, the gateway worked just fine. Have checked the whole tcp/ip side of things on XP; seems to be okay.
Since I have a new internetaccount, 2 days ago, I have a problem on my server [Fedora Core 8]. I use it as a router.
eth0 is for the internet. eth1 is for my LAN.
But since my new internetaccount my server uses eth1 for the internet. This is a line from my syslog:
Code: NetworkManager: <info> Policy set 'System eth1' (eth1) as default for routing and DNS. I killed the NetworkManager daemon and now it works but this must not be the way to do it? Where do I tell my server that I use eth0 for routing and DNS?
I've set up bridged networking so that I can have KVM virtual machines that are accessible from outside the host. I can access both the Host and my VM from other machines on the local network, and from the VM I can access the internet but from the Host I can only access my local network. Since I can access the local network and the same issue applies regardless of whether I use host names or IP addresses I suspect it's not picking up the gateway properly.
How do I go about allowing the VM host to access the internet while still having bridged networking so I can access my VMs?
What I've checked so far: Ping Google DNS (8.8.8.8 ) From Host: Destination Host Unreachable From VM: Suceeds
[Code].....
The issues are only with accessing things outside of my subnet. I can access other machines on the same subnet from the Host just fine.
I am completely new to linux in any flavour. I installed ubuntu 10.4.1 64-bit on my Gateway NV59 laptop as a dual boot with Windows 7. The installation went just fine. When it comes to networking, I can connect to my home network when wired directly, wireless is another matter. I can connect wireless in windows just fine, so the card is physically fine.
My set up is as follows: Gateway NV59 laptop with Atheros AR928X PCI-E wireless adapter Linksys WRT54G router using WPA2 Personal and a class C address scheme (192.168.x.x) (If anyone thinks it would be necessary to post actual hardware specs of the laptop, I can, but don't think it really necessary). I have followed the Wifi Wireless Troubleshooting Guide found at [URL].
When connecting to my network wirelessly, I click the icon in the top right, and choose "Create New Wireless Network". When I input my settings (SSID - not broadcast, and security type and key - WPA), it then states I am connected under the "Wireless Networks" section found in that menu, and shows my network name with a strong signal and a computer/monitor icon. When I double-click the icon, it tells me I am connected and that the connection is active, yet the actual wireless icon on the top bar is grey, not white, and has a red exclamation mark on it. According to the steps in the troubleshooting guide, my wireless card is recognized and installed, with a driver of ath9k.
When I run lsmod, the driver is listed, therefore loaded, and ndiswrapper is NOT listed. I have verified that the driver is communicating with the kernel. When I scan for my router, it is listed under Cell 04, with the correct SSID and hardware address. There do not appear to be multiple drivers loaded, and my wifi is NOT disabled. When I check to see if I'm associated with a router, iwconfig shows my network ssid under wlan0, with the correct hardware address listed under Cell:, yet I cannot ping my router's internal ip address. At this point, I ran ifconfig, and for some reason, my wireless card has been given a class A address of 10.42.43.1.
When I try to assign an ip address via dhcp, DHCPDISCOVER runs for a number of intervals and then tells me "No DHCPOFFERS received", yet my router is using dhcp to assign ips with a pool of 50, more than enough ips for all the hardware in my network. When I run the command "sudo invoke-rc.d networking restart", I get the statement "Ignoring unknown interface wlan0=wlan0" - not sure what that means, but doesn't sound good to me, and retrying to accquire an ip address through dhcp still does not work. If I attempt to assign an ip address within my network range manually, I first run the command "sudo ifconfig wlan0 down", then just out of curiosity to see if the interface is really down.
I run ifconfig again, and wlan0 is no longer listed, but now there is eth0 (my regular ethernet interface) with no ip address. AND another interface is listed - eth0:avahi with the same hardware address as eth0, and an address of 169.254.4.42 - this seems to be the default address the OS will assign when it cannot get one via dhcp, but I have no idea why it has shown up as eth0::avahi... Anyway, after entering the command "sudo ifconfig ip addr 192.168.x.x netmask 255.255.255.0 broadcast 192.168.x.255 up" with the appropriate addresses, I receive the error "addr: Unknown host".
What I have NOT tried, are the following steps: 1. Change my router to an open signal (I would prefer not to do this, but will, if it is absolutely necessary for troubleshooting) 2. Try gtk wifi, or wifi radar 3. Try booting with kernel option pci=noacpi or acpi=off (not entirely sure how to do this just yet) 4. Try wpa supplicant (not sure what this is, just noted it was in the troubleshooting guide)
Presently this client access the net through following setup ADSL modem -> hub -> all computers
Now they want to do some kind of bandwidth control, content filtering. So I tried setting up squid with dansguardian. This is what I did ADSL -> linux server -> all computers.
The linux server has two NIC cards. One to the ADSL router and another to the local hub. This is how my squid.conf file looks like
Have set the gateway server as 121.x.x.1. Which is the gateway server of the ISP. Now I can ping the local network, but cant ping the gateway or any other website. Also I am unable to access the router administration page.
Am working as net admin in an institute.. I have Leased Line connection with Public IP? I configured Red Hat Enterprise Linux 5 as Internet Server. I successfully Configured squid and as well as Internet Gateway in my Internet Server.. All are working fine in my client PC environment.. I have one Series Problem in my all Windows Client Pc.. When I try to surf Microsoft and Any Anti-virus site through squid(port no 3128) is fine?but when I try to surf the same Microsoft or any anti virus site through Linux Internet gateway then I got ?Page can not be displayed error?? but all other sites are surfed well through Gateway.. I felt some spy ware is attacked in my All windows Client PC.. So only it ll block Microsoft or any anti virus site through Linux Internet gateway(default port 80
I have a simple system at home where a DSL router is used as a basic dhcp server with one port forward for ssh to a server. I need to allow my daughters, ages 14,12 and 10, to access the net and also email but I want to have complete control and logging. What I'm looking to do is set up the Ubuntu file server I already have on the network to act as a gateway and also add content management and logging as step one.
I also want to add an email server so that all the email comes into the Ubuntu server and then is allowed to be accessed by outlook on their machines after spam/content scanning for valid emails as step two. My question is what, if any, additional software do I need and what options do I have. I've played with dhcp servers at work but never got much beyond ip assignment and network booting so I'm unfamiliar with what is needed for content management and such. As to the email server I've never even played with this at all so I'm completely in the dark as to what I should be looking at to start with. I'm looking for directions, RTFM is fine but right now I'm not sure even WHAT manual/manuals I should be reading.
Does anyone have experience with the D-LINK DIR-655 gateway OR router OR wireless access point? On the surface, I like this box, but it is giving me grief. First, it wants me to use a win-dose CD configurator application. I use the embedded web page configurator. Next, there are several configuration wizards at the embedded web page. After trying the wizards, I went to the manual screens to tinker to get something working.
So what is going on? When a LAN client connects, I want DHCP to present at least two "nameserver" values ... which then make their way into /etc/resolv.conf The DIR-655 plays some nameserver games like caching and blacklisting and other things. However, I get some ad-vert page from "dnssearch" or "yahoo" or similar when names don't resolve. I really don't want this behavior. Network-manager does not report the connection down, however streaming anything stops or "reconnects", browsing times out, LAN side traffic seems to stop as well.
I have an valid account,and I used pppoe-setup to set the dial correctly.After the configuration,I typed "ifup ppp0",nothing wrong happens(no news is good news?).Then I typed "pppoe-status",it said I've connected to the internet . I opened firefox,updated my system through yum ,they all said I haven't connected to the network!!!I've formated my harddisk and reinstall my system,but the problem is still.
I installed Fedora 13 on my laptop today after deleting a badly screwed up Windows XP partition. Everything installed smoothly even my Broadcom drivers but I can't seem to figure out how to get Firefox to access the web with a URL.
I can ping Google, and can get to it in Firefox if I use the IP address from the ping, but going to [url] in Firefox will give me an error message about not being able to find the server at the web address. I was also able to update from the terminal with yum update just fine. I've tried searching Google for some answers, and maybe I just can't phrase my query right, but I found nothing that I could use to try and fix my problem.
I've attached a HardInfo report which I hope could be useful if you need to know what my hardware is (an HP Pavilion zv5000 laptop).
I've installed Fedora 13 on a Toshiba Satellite A40 laptop, and am trying to get the wired ethernet connection to work. Network Manager says it is connected, and the connection details (DHCP assigned IP, gateway, dns servers) all seem correct. However, I cannot browse the internet. Checking for updates fails also. I have tried pinging various sites and the results are inconsistent - sometimes it works, sometimes it times out with "unknown host". [URL]... I've searched around for similar issues and tried disbaling ipv6 both in Fedora and Firefox, but this doesn't help either.
After upgrading to F14 from F10, we seem to have access to the internet from our console, and no one is able to connect to server as well. We have static IP from comcast. And all the configurations on the eth0 looks fine. We are able to browse, if we set the server to dynamic ip. Also, we are able to connect another PC (laptop) with the static ip configuration, and browse fine. Read through many messages on this forum, cant get any clues,
I have a work network of about 20 boxes most of which are running Windows 7 and one of them is a file server using linux and another is Windows server 2003. Now the local IP is distributed by the router, and no regulation of internet access is done by any of the servers.What I need to do is restrict internet access to select domains, which would probably need DHCP through linux(I think, not really sure), and I need something simple like a 'blabla.conf' file with the allowed websites that I can edit. need to know how to regulate IP addresses through the linux box (all details if possible, I never tried to do that before), and how to restrict internet access also through linux.
I have 17 system (sys1,sys2,sys3.....sys17) in my office, and i am willing to setup a dedicated system to act as a firewall for that i have selected sys1 with two NIC(eth0 for local network and eth1 for internet) and i have configured to access internet in my office for that i have opened a wellknown port 80.but my clients are not accessing the internet..
and please check my sample IP configuration !!!
interface : eth1 (ISP IP)just for example IP :192.168.0.2 gateway:192.168.0.1 dns:202.56.230.5 dns:202.56.230.6
Interface : eth0 (my local lan )
192.168.1.1 255.255.255.0
IP address of xp clients ranges form 192.168.1.2 to 192.168.1.16 with default 255.255.255.0
my question is that which gateway address and dns i have to give to my clients for accessing internet ?...
I see from the netspeed applet that my computer is downloading stuff almost constantly. Not a whole lot, 8b - 700b per second while apparently doing nothing. Some of this is just responding to broadcasts from the router, but surely not all. I would like to be able to determine which programs are accessing the internet over that wireless card, with a view to cutting down on my bandwidth usage. Is there a program that can tell me which ones are doing what at a given time?
I am building a CarPC which I'd like to have wireless internet access on. I have Verizon phone service so if there is a Verizon air card (not wireless card, an air card so I can have constant access without having to search for hot spots) that would work with Fedora 10 I would be very happy. I don't really know where to start and I can't find too much on Google, so I'm just looking for what options are available.
Fedora 11 is completely unable to access the internet for some reason, and after some troubleshooting, I've determined the problem to my Motorola 2210 DSL modem. I know my connection is working fine, as it works perfectly in both Vista and 7. I've tried things such as grep 'Ethernet' /var/log/dmesg, filling in the information into the network settings manually, to no avail.
Bridged successfully but cannot access the Internet.I installed VMware in my Fc13,and installed XP sp3 in the VMware.I can access the Internet in XP,I set the network as Bridged with Fc13,but Fc cannot open a page,but I ping google.com,it can display: Code: Pinging google.com [64.233.183.104] with 32 bytes of data: then nothing.I still cannot access the Internet in my Fc13.
I tried to preupgrade to f14 and cancel it after some time. Now, I am facing a problem that I cannot access internet from mobile broadband; but I can access net while i am connected via ethernet or wireless. I have cleared preupgrade files with
Quote: yum clean all; yum remove @preupgrade
$ uname -rs Linux 2.6.34.7-56.fc13.i686.PAE
It can detect my HUawei modem and creating an IP as well. But no Internet. Can you tell me the reason?
I followed the instructions mentioned in this thread carefully [url] Despite this, I am unable to connect to the internet. It just says connecting and connecting, but it doesn't connect at all.
I am coming from Windows XP Pro, on the same machine (and where I am writing this post from) so the internet clearly works on XP. On F13, the eth0 connection is activated and the drivers for the NIC chip were installed with the OS. The NIC is Intel Pro/100 VE. The problem that occurs is that the system updater (in GNOME) can access the internet, and installed a bunch of updates after installing the OS. I know it can get to the internet because the updates worked and in the System Monitor, I can see both uploading and downloading occurring during the updates. Now the problem is that when I open FF, I can't seem to get to pages, and I get the usual FF error (pic -- [URL]). However, I CAN get to [URL] as well as [URL] , but I cannot access several other subdomains on fedoraproject.org . I also cannot get to any other page online, ([URL] for example).